|
@@ -1,22 +1,26 @@
|
|
|
%define libnfnetlink 1.0.1
|
|
|
+%define libmnl 1.0.3
|
|
|
|
|
|
Name: libnetfilter_queue
|
|
|
-Version: 1.0.3
|
|
|
+Version: 1.0.5
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: Netfilter queue userspace library
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
# Most files say GPLv2+, one says v2 only.
|
|
|
License: GPLv2
|
|
|
URL: http://netfilter.org
|
|
|
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
-BuildRequires: libnfnetlink-devel >= %{libnfnetlink}, pkgconfig, kernel-headers
|
|
|
+BuildRequires: pkgconfig, kernel-headers
|
|
|
+BuildRequires: libmnl-devel >= %{libmnl}
|
|
|
+BuildRequires: libnfnetlink-devel >= %{libnfnetlink}
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-
|
|
|
%description
|
|
|
libnetfilter_queue is a userspace library providing an API to packets that have
|
|
|
been queued by the kernel packet filter. It is is part of a system that
|
|
@@ -24,11 +28,12 @@ deprecates the old ip_queue / libipq mechanism.
|
|
|
|
|
|
libnetfilter_queue has been previously known as libnfnetlink_queue.
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Netfilter queue userspace library
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
-Requires: libnfnetlink-devel >= %{libnfnetlink}, kernel-headers
|
|
|
+Requires: libnfnetlink-devel >= %{libnfnetlink}, kernel-headers
|
|
|
|
|
|
%description devel
|
|
|
libnetfilter_queue is a userspace library providing an API to packets that have
|
|
@@ -37,28 +42,36 @@ deprecates the old ip_queue / libipq mechanism.
|
|
|
|
|
|
libnetfilter_queue has been previously known as libnfnetlink_queue.
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
autoreconf -ivf
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
%configure --disable-static --disable-rpath
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
+
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc COPYING
|
|
@@ -71,7 +84,11 @@ rm -rf %{buildroot}
|
|
|
%{_includedir}/%{name}/*.h
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Wed Feb 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.5-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-1
|
|
|
- new upstream release.
|
|
|
- dropped Patch0: fixed in upstream.
|