diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:42:55 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:42:55 +0900 |
commit | cb06be6ecc10920c73293799689ce9803262a922 (patch) | |
tree | 5d21c5f26a156067e733c9faa79782ecc26196e9 /packaging | |
parent | dbc5ef4889caa206f4d47d83345357780ceef73e (diff) | |
download | iptables-tizen_2.1.tar.gz iptables-tizen_2.1.tar.bz2 iptables-tizen_2.1.zip |
Tizen 2.1 basesubmit/tizen_2.2/20130714.145952submit/tizen_2.1/20130424.225212accepted/tizen_2.1/20130425.0251492.2_release2.1b_releasetizen_2.1
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/iptables.spec | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/packaging/iptables.spec b/packaging/iptables.spec new file mode 100644 index 0000000..6d7fdcf --- /dev/null +++ b/packaging/iptables.spec @@ -0,0 +1,93 @@ +Name: iptables +Summary: administration tools for packet filtering and NAT +Version: 1.4.9.1 +Release: 2 +Source: %{name}-%{version}.tar.gz +Group: System/Base +URL: http://www.netfilter.org/ +License: GPLv2 +BuildRequires: kernel-headers +Conflicts: kernel < 2.4.20 + +%description +These are the user-space administration tools for the Linux +kernel's netfilter and iptables. netfilter and iptables provide +a framework for stateful and stateless packet filtering, network +and port address translation, and other IP packet manipulation. +The framework is the successor to ipchains. +netfilter and iptables are used in applications such as Internet +connection sharing, firewalls, IP accounting, transparent proxying, +advanced routing and traffic control. + +%package ipv6 +Summary: IPv6 support for iptables +Group: System/Base +Requires: %{name} = %{version}-%{release} + +%description ipv6 +The iptables package contains IPv6 (the next version of the IP +protocol) support for iptables. Iptables controls the Linux kernel +network packet filtering code, allowing you to set up firewalls and IP +masquerading. + +Install iptables-ipv6 if you need to set up firewalling for your +network and you are using ipv6. + +%package devel +Summary: development files for iptable's libipq +Group: System/Base +Requires: %{name} = %{version}-%{release} + +%description devel +Header files, static libs and documentation for libipq, iptables' +user-space packet queuing library. + +%prep +%setup -q + +%build +%autogen +%configure --prefix=%{_prefix} +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest iptables.manifest +%defattr(-,root,root) +/usr/bin/iptables-xml +/usr/lib/libip4tc.so +/usr/lib/libip4tc.so.* +/usr/lib/libiptc.so +/usr/lib/libiptc.so.* +/usr/lib/libxtables.so +/usr/lib/libxtables.so.* +/usr/libexec/xtables/libipt* +/usr/libexec/xtables/libxt* +/usr/sbin/iptables* + +%files ipv6 +%manifest iptables-ipv6.manifest +%defattr(-,root,root) +/usr/sbin/ip6tables* +/usr/lib/libip6tc.so +/usr/lib/libip6tc.so.* +/usr/libexec/xtables/libip6t* + +%files devel +%defattr(-,root,root) +/usr/include/* +/usr/lib/*.la +/usr/lib/pkgconfig/* +%{_mandir}/man8/iptables* +%{_mandir}/man8/ip6tables* |