X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xtables-addons.spec;h=b920c9261485f6a5c16d8c23ee4dd05adc47bf53;hb=53fde456da7901e58818bafdc3155e71e433770e;hp=0aad7eebee37b3a75243bed38c6eeea9fdc71de4;hpb=6a690fe6b778d4314e2de6e6a87978356fe3da55;p=packages%2Fxtables-addons.git diff --git a/xtables-addons.spec b/xtables-addons.spec index 0aad7ee..b920c92 100644 --- a/xtables-addons.spec +++ b/xtables-addons.spec @@ -1,5 +1,6 @@ # # UPDATE WARNING: xtables-addons 3.0 support only kernels 4.15+ +# xtables-addons 2.0 (XTADDONS_2 branch) support kernels 3.7 - 4.14 # # Conditional build: %bcond_without kernel # don't build kernel modules @@ -20,28 +21,28 @@ exit 1 %define _enable_debug_packages 0 %endif -%define rel 1 +%define rel 2 %define pname xtables-addons Summary: Additional extensions for xtables packet filtering system Summary(pl.UTF-8): Dodatkowe rozszerzenia do systemu filtrowania pakietów xtables Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel} -Version: 3.1 +Version: 3.21 Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}} License: GPL v2 Group: Networking/Admin -Source0: http://downloads.sourceforge.net/xtables-addons/%{pname}-%{version}.tar.xz -# Source0-md5: a77d2fc2151eed97f903d7905640e549 +Source0: https://inai.de/files/xtables-addons/%{pname}-%{version}.tar.xz +# Source0-md5: 600717f816f53f61fd3b9416d4ef3161 URL: http://xtables-addons.sourceforge.net/ BuildRequires: autoconf >= 2.65 BuildRequires: automake >= 1:1.11 -BuildRequires: iptables-devel >= 1.4.5 -%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:4.15.0}} +BuildRequires: iptables-devel >= 1.6.0 +%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:4.18.0}} BuildRequires: libtool -BuildRequires: pkgconfig >= 0.9.0 -BuildRequires: rpmbuild(macros) >= 1.678 +BuildRequires: pkgconfig >= 1:0.9.0 +BuildRequires: rpmbuild(macros) >= 1.746 BuildRequires: tar >= 1.22 BuildRequires: xz -Requires: iptables >= 1.4.5 +Requires: iptables >= 1.6.0 Obsoletes: iptables-ipp2p BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n) @@ -158,11 +159,13 @@ rm -rf $RPM_BUILD_ROOT %if %{with userspace} %files %defattr(644,root,root,755) -%doc README doc/{README.psd,changelog.txt} +%doc README.rst doc/{README.psd,changelog.rst} %attr(755,root,root) %{_sbindir}/iptaccount +%attr(755,root,root) %{_sbindir}/pknlusr %attr(755,root,root) %{_libdir}/libxt_ACCOUNT_cl.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libxt_ACCOUNT_cl.so.0 +%attr(755,root,root) %ghost %{_libdir}/libxt_ACCOUNT_cl.so.1 %attr(755,root,root) %{_libdir}/xtables/libxt_*.so %{_mandir}/man8/iptaccount.8* %{_mandir}/man8/xtables-addons.8* +%{_mandir}/man8/pknlusr.8* %endif