summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-03 20:41:25 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-11-03 20:41:25 -0700
commit68e596e4e7f62b124ff86d75698defa1bb0cb6d7 (patch)
tree5ff29121068a20cb86daea4456adf96bed83df29
parent519883390552eb9b9927906ae0411f905abde3f2 (diff)
downloadlibnfnetlink-68e596e4e7f62b124ff86d75698defa1bb0cb6d7.tar.gz
libnfnetlink-68e596e4e7f62b124ff86d75698defa1bb0cb6d7.tar.bz2
libnfnetlink-68e596e4e7f62b124ff86d75698defa1bb0cb6d7.zip
-rw-r--r--packaging/baselibs.conf2
-rw-r--r--packaging/libnfnetlink.spec40
2 files changed, 5 insertions, 37 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
index 907b5af..c233d3f 100644
--- a/packaging/baselibs.conf
+++ b/packaging/baselibs.conf
@@ -1 +1 @@
-libnfnetlink0
+libnfnetlink
diff --git a/packaging/libnfnetlink.spec b/packaging/libnfnetlink.spec
index 796f13c..8b2fd20 100644
--- a/packaging/libnfnetlink.spec
+++ b/packaging/libnfnetlink.spec
@@ -1,34 +1,12 @@
-#
-# spec file for package libnfnetlink
-#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
-
Name: libnfnetlink
%define libsoname %{name}
-Version: 1.0.0+git28
+Version: 1.0.1
Release: 2
License: GPL-2.0
Url: http://netfilter.org/projects/libnfnetlink/
Group: Productivity/Networking/Security
Summary: Low-level library for Netfilter-related kernel/userspace communication
-#Git-Clone: git://git.netfilter.org/libnfnetlink
-#DL-URL: ftp://ftp.netfilter.org/pub/libnfnetlink/
-#Source: %{name}-%{version}.tar.bz2
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
BuildRequires: autoconf
@@ -36,7 +14,6 @@ BuildRequires: automake >= 1.6
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.23
BuildRequires: xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libnfnetlink is the low-level library for netfilter related
@@ -66,31 +43,22 @@ It is only used by other netfilter.org projects, such as
libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
%prep
-%if 0%{?__xz:1}
%setup -q
-%else
-tar -xf "%{SOURCE0}" --use=xz;
-%setup -DTq
-%endif
%build
-if [ ! -e configure ]; then
- autoreconf -fi;
-fi
%configure --disable-static --includedir=%{_includedir}/%{name}-%{version}
make %{?_smp_mflags}
%install
%make_install
-rm -f "%{buildroot}/%{_libdir}"/*.la;
-%post -n %libsoname -p /sbin/ldconfig
+%post -p /sbin/ldconfig
-%postun -n %libsoname -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
-%doc COPYING README
+%doc COPYING
%{_libdir}/libnfnetlink.so.*
%files devel