[tw] - added important iptables header files to devel package
This commit is contained in:
parent
3878a45f2b
commit
5034db8c80
@ -3,7 +3,7 @@
|
|||||||
Name: iptables
|
Name: iptables
|
||||||
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
||||||
Version: 1.3.4
|
Version: 1.3.4
|
||||||
Release: 2.1
|
Release: 3
|
||||||
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
|
Source: http://www.netfilter.org/%{name}-%{version}.tar.bz2
|
||||||
Source1: iptables.init
|
Source1: iptables.init
|
||||||
Source2: iptables-config
|
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
|
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
|
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 -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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -139,6 +143,7 @@ fi
|
|||||||
%if %{build_devel}
|
%if %{build_devel}
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
%{_includedir}/ip*.h
|
||||||
%{_includedir}/libipq.h
|
%{_includedir}/libipq.h
|
||||||
%{_libdir}/libipq.a
|
%{_libdir}/libipq.a
|
||||||
%{_libdir}/libiptc.a
|
%{_libdir}/libiptc.a
|
||||||
@ -146,6 +151,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user