[tw] - added important iptables header files to devel package

This commit is contained in:
Thomas Woerner 2006-01-24 14:18:57 +00:00
parent 3878a45f2b
commit 5034db8c80

View File

@ -3,7 +3,7 @@
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities.
Version: 1.3.4
Release: 2.1
Release: 3
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
Source1: iptables.init
Source2: iptables-config
@ -98,6 +98,10 @@ mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
install -c -m755 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/iptables-config
sed -e 's;iptables;ip6tables;g' -e 's;IPTABLES;IP6TABLES;g' < %{SOURCE2} > ip6tables-config
install -c -m755 ip6tables-config $RPM_BUILD_ROOT/etc/sysconfig/ip6tables-config
# install devel header files
mkdir -p $RPM_BUILD_ROOT/usr/include
install -c include/ip*.h $RPM_BUILD_ROOT/usr/include/
%clean
rm -rf $RPM_BUILD_ROOT
@ -139,6 +143,7 @@ fi
%if %{build_devel}
%files devel
%defattr(-,root,root,0755)
%{_includedir}/ip*.h
%{_includedir}/libipq.h
%{_libdir}/libipq.a
%{_libdir}/libiptc.a
@ -146,6 +151,9 @@ fi
%endif
%changelog
* Tue Jan 24 2006 Thomas Woerner <twoerner@redhat.com> 1.3.4-3
- added important iptables header files to devel package
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt