View | Details | Raw Unified
Collapse All | Expand All

(-)iptables.spec.orig (-12 / +15 lines)
 Lines 1-6    Link Here 
1
Name: iptables
1
Name: iptables
2
Version: 1.3.1
2
Version: 1.3.1
3
Release: alt1
3
Release: alt1.1
4
4
5
Summary: Tools for managing Linux kernel packet filtering capabilities
5
Summary: Tools for managing Linux kernel packet filtering capabilities
6
License: GPL
6
License: GPL
 Lines 94-113    Link Here 
94
popd
94
popd
95
95
96
%build
96
%build
97
make COPT_FLAGS="%optflags" PREFIX=%prefix LIBDIR=/lib \
97
make COPT_FLAGS="%optflags" PREFIX=%prefix LIBDIR=/%_lib \
98
	all experimental
98
	all experimental
99
99
100
%install
100
%install
101
make install install-experimental install-devel \
101
make install install-experimental install-devel \
102
	DESTDIR=$RPM_BUILD_ROOT BINDIR=/sbin MANDIR=%_mandir \
102
	DESTDIR=$RPM_BUILD_ROOT BINDIR=/sbin MANDIR=%_mandir \
103
	PREFIX=%prefix LIBDIR=/lib
103
	PREFIX=%prefix LIBDIR=/%_lib
104
mkdir -p $RPM_BUILD_ROOT%_libdir/
104
mkdir -p $RPM_BUILD_ROOT%_libdir/
105
pushd $RPM_BUILD_ROOT/lib
105
pushd $RPM_BUILD_ROOT/%_lib
106
	for f in lib*; do
106
	for f in lib*; do
107
		ln -s ../../lib/$f $RPM_BUILD_ROOT%_libdir/${f%.0.0}
107
		ln -s ../../%_lib/$f $RPM_BUILD_ROOT%_libdir/${f%.0.0}
108
	done
108
	done
109
popd
109
popd
110
mv $RPM_BUILD_ROOT/lib/*.a $RPM_BUILD_ROOT%_libdir/
110
mv $RPM_BUILD_ROOT/%_lib/*.a $RPM_BUILD_ROOT%_libdir/
111
111
112
mkdir -p $RPM_BUILD_ROOT%_includedir/libiptc
112
mkdir -p $RPM_BUILD_ROOT%_includedir/libiptc
113
install -pm644 include/*.h $RPM_BUILD_ROOT%_includedir
113
install -pm644 include/*.h $RPM_BUILD_ROOT%_includedir
 Lines 127-136    Link Here 
127
%config %_initdir/iptables
127
%config %_initdir/iptables
128
/sbin/iptables*
128
/sbin/iptables*
129
%_man8dir/iptables*
129
%_man8dir/iptables*
130
%dir /lib/%name/
130
%dir /%_lib/%name/
131
/lib/%name/libipt*
131
/%_lib/%name/libipt*
132
/lib/libipt*.so.*
132
/%_lib/libipt*.so.*
133
/lib/libipq*.so.*
133
/%_lib/libipq*.so.*
134
134
135
%files ipv6
135
%files ipv6
136
%config(noreplace) %_sysconfdir/sysconfig/ip6tables
136
%config(noreplace) %_sysconfdir/sysconfig/ip6tables
 Lines 138-145    Link Here 
138
%config %_initdir/ip6tables
138
%config %_initdir/ip6tables
139
/sbin/ip6tables*
139
/sbin/ip6tables*
140
%_man8dir/ip6tables*
140
%_man8dir/ip6tables*
141
/lib/%name/libip6t*
141
/%_lib/%name/libip6t*
142
/lib/libip6t*.so.*
142
/%_lib/libip6t*.so.*
143
143
144
%files devel
144
%files devel
145
%_includedir/*
145
%_includedir/*
 Lines 156-161    Link Here 
156
%postun ipv6 -p %postun_ldconfig
156
%postun ipv6 -p %postun_ldconfig
157
157
158
%changelog
158
%changelog
159
* Fri Apr 29 2005 Anton D. Kachalov <mouse@altlinux.org> 1.3.1-alt1.1
160
- multilib support
161
159
* Tue Mar 16 2005 Alexey Voinov <voins@altlinux.ru> 1.3.1-alt1
162
* Tue Mar 16 2005 Alexey Voinov <voins@altlinux.ru> 1.3.1-alt1
160
- new version (1.3.1)
163
- new version (1.3.1)
161
- makefile patch updated
164
- makefile patch updated