Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
xtables-addons
> xtables-addons.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xtables-addons.spec of Package xtables-addons (Revision 7)
Currently displaying revision
7
,
show latest
Name: xtables-addons Version: 1.17 Release: 1 Group: Productivity/Networking/Security Summary: IP Packet Filter Administration Extensions License: GPL Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: kernel-source, kernel-syms, iptables-devel >= 1.4.4 BuildRequires: pkg-config >= 0.23 BuildRequires: module-init-tools Requires: %{name}-kmp Recommends: xtables-geoip #manual %ifarch x86_64 ia64 sparc64 ppc64 Requires: libxtables.so.2()(64bit) %else Requires: libxtables.so.2 %endif %suse_kernel_module_package %description Xtables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Xtables-addons provides extra modules not present in the kernel. %prep %setup -q %build pushd ../; for flavor in %{flavors_to_build}; do cp -a %{name}-%{version} %{name}-${flavor}-%{version}; pushd %{name}-${flavor}-%{version}/; %configure --with-kbuild=/usr/src/linux-obj/%{_target_cpu}/${flavor} --libexecdir=%{_libdir} %__make %{?jobs:-j%jobs}; popd; done; %install b="%buildroot"; rm -Rf "$b"; mkdir "$b"; pushd ../; for flavor in %{flavors_to_build}; do pushd %{name}-${flavor}-%{version}/; %__make install DESTDIR="$b"; popd; done; find "$b/%_prefix" -iname "*.la" -print0 | xargs -0r rm -f; %clean rm -Rf "%buildroot"; %files %defattr(-,root,root) %{_libdir}/xtables/* %_mandir/*/* %_sbindir/* %changelog * Sun Jun 21 2009 Carsten Schoene <cs@linux-administrator.com> - 1.17-1 - initial build