/[packages]/cauldron/iptables/current/SPECS/iptables.spec
ViewVC logotype

Contents of /cauldron/iptables/current/SPECS/iptables.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 342836 - (show annotations) (download)
Tue Jan 8 11:22:49 2013 UTC (11 years, 5 months ago) by oden
File size: 18574 byte(s)
- P103: fix build the correct way

1 %define _disable_ld_no_undefined 1
2
3 %define major 9
4 %define libname %mklibname iptables %{major}
5 %define develname %mklibname -d iptables
6
7 %define iptc_major 0
8 %define iptc_libname %mklibname iptc %{iptc_major}
9 %define iptc_develname %mklibname -d iptc
10
11 %define ipq_major 0
12 %define ipq_libname %mklibname ipq %{ipq_major}
13 %define ipq_develname %mklibname -d ipq
14
15 %define ip4tc_major 0
16 %define ip4tc_libname %mklibname ip4tc %{ip4tc_major}
17 %define ip4tc_develname %mklibname -d ip4tc
18
19 %define ip6tc_major 0
20 %define ip6tc_libname %mklibname ip6tc %{ip6tc_major}
21 %define ip6tc_develname %mklibname -d ip6tc
22
23 # install init scripts to /usr/libexec with systemd
24 %define script_path %{_libexecdir}
25
26 Summary: Tools for managing Linux kernel packet filtering capabilities
27 Name: iptables
28 Version: 1.4.17
29 Release: %mkrel 3
30 License: GPLv2+
31 Group: System/Kernel and hardware
32 URL: http://netfilter.org/
33 Source0: http://netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
34 Source1: iptables.init
35 Source2: ip6tables.init
36 Source3: iptables.config
37 Source4: ip6tables.config
38 Source5: iptables.service
39 # S100 and up used to be in the added patches
40 Source100: libipt_IMQ.c
41 Source101: libipt_IFWLOG.c
42 # (oe) psd comes from iptables-1.3.7, was removed in iptables-1.3.8
43 Source102: libipt_psd.c
44 Source103: libipt_psd.man
45 Patch0: iptables-1.2.8-libiptc.h.patch
46 Patch100: iptables-imq.diff
47 Patch101: iptables-IFWLOG_extension.diff
48 Patch102: iptables-psd.diff
49 Patch103: iptables-1.4.17-linkage_fix.diff
50 Provides: userspace-ipfilter
51 BuildRequires: nfnetlink-devel
52 # (tmb) build against -devel-latest
53 %ifarch %{arm}
54 %define kflavour kirkwood
55 %else
56 %define kflavour desktop
57 %endif
58 BuildRequires: kernel-%{kflavour}-devel-latest
59 Requires(post): rpm-helper >= 0.24.8-1
60 Requires(preun): rpm-helper >= 0.24.8-1
61 Obsoletes: %{name} < 1.4.3.2
62 Obsoletes: %{name}-ipv6 < 1.4.1.1-0.5
63 Provides: %{name}-ipv6
64 BuildRequires: systemd-units
65 Requires(post): sysvinit
66 Requires(preun): sysvinit
67 Requires(postun): sysvinit
68
69 %description
70 iptables controls the Linux kernel network packet filtering code. It allows you
71 to set up firewalls and IP masquerading, etc.
72
73 Install iptables if you need to set up firewalling for your network.
74
75 %package -n %{libname}
76 Summary: Shared iptables library
77 Group: System/Libraries
78 Conflicts: %mklibname %{name} 1
79
80 %description -n %{libname}
81 iptables controls the Linux kernel network packet filtering code. It allows you
82 to set up firewalls and IP masquerading, etc.
83
84 This package contains the shared iptables library.
85
86 %package -n %{develname}
87 Summary: Static library and header files for the iptables library
88 Group: Development/C
89 Requires: kernel-headers
90 Requires: %{libname} = %{version}-%{release}
91 Provides: iptables-devel = %{version}
92 Obsoletes: iptables-devel < 1.4.2
93
94 %description -n %{develname}
95 iptables controls the Linux kernel network packet filtering code. It allows you
96 to set up firewalls and IP masquerading, etc.
97
98 This package contains the static iptables library.
99
100
101 # ipq
102 %package -n %{ipq_libname}
103 Summary: Shared iptables library
104 Group: System/Libraries
105 Obsoletes: %{mklibname iptables 1} < 1.4.3.2
106
107 %description -n %{ipq_libname}
108 iptables controls the Linux kernel network packet filtering code. It allows you
109 to set up firewalls and IP masquerading, etc.
110
111 This package contains the ipq library.
112
113 %package -n %{ipq_develname}
114 Summary: Static library and header files for the iptables library
115 Group: Development/C
116 Requires: kernel-headers
117 Requires: %{ipq_libname} = %{version}-%{release}
118 Requires: %{ipq_develname} = %{version}-%{release}
119 Provides: iptables-ipq-devel = %{version}
120
121 %description -n %{ipq_develname}
122 iptables controls the Linux kernel network packet filtering code. It allows you
123 to set up firewalls and IP masquerading, etc.
124
125 This package contains the ipq library.
126
127 # iptc
128 %package -n %{iptc_libname}
129 Summary: Shared iptables library
130 Group: System/Libraries
131 Obsoletes: %{mklibname iptables 1} < 1.4.3.2
132
133 %description -n %{iptc_libname}
134 iptables controls the Linux kernel network packet filtering code. It allows you
135 to set up firewalls and IP masquerading, etc.
136
137 This package contains the IPTC library.
138
139 %package -n %{iptc_develname}
140 Summary: Static library and header files for the iptables library
141 Group: Development/C
142 Requires: kernel-headers
143 Requires: %{iptc_libname} = %{version}-%{release}
144 Requires: %{iptc_develname} = %{version}-%{release}
145 Provides: iptables-iptc-devel = %{version}
146
147 %description -n %{iptc_develname}
148 iptables controls the Linux kernel network packet filtering code. It allows you
149 to set up firewalls and IP masquerading, etc.
150
151 This package contains the IPTC library.
152
153 # ip4tc
154 %package -n %{ip4tc_libname}
155 Summary: Shared iptables library
156 Group: System/Libraries
157 Obsoletes: %{mklibname iptables 1} < 1.4.3.2
158
159 %description -n %{ip4tc_libname}
160 iptables controls the Linux kernel network packet filtering code. It allows you
161 to set up firewalls and IP masquerading, etc.
162
163 This package contains the IP4TC library.
164
165 %package -n %{ip4tc_develname}
166 Summary: Static library and header files for the iptables library
167 Group: Development/C
168 Requires: kernel-headers
169 Requires: %{ip4tc_libname} = %{version}-%{release}
170 Requires: %{iptc_develname} = %{version}-%{release}
171 Provides: iptables-ip6tc-devel = %{version}
172
173 %description -n %{ip4tc_develname}
174 iptables controls the Linux kernel network packet filtering code. It allows you
175 to set up firewalls and IP masquerading, etc.
176
177 This package contains the development files for IPTC library.
178
179 # ip6tc
180 %package -n %{ip6tc_libname}
181 Summary: Shared iptables library
182 Group: System/Libraries
183 Obsoletes: %{mklibname iptables 1} < 1.4.3.2
184
185 %description -n %{ip6tc_libname}
186 iptables controls the Linux kernel network packet filtering code. It allows you
187 to set up firewalls and IP masquerading, etc.
188
189 This package contains the IP6TC library.
190
191 %package -n %{ip6tc_develname}
192 Summary: Static library and header files for the iptables library
193 Group: Development/C
194 Requires: kernel-headers
195 Requires: %{ip6tc_libname} = %{version}-%{release}
196 Provides: iptables-ip6tc-devel = %{version}
197
198 %description -n %{ip6tc_develname}
199 iptables controls the Linux kernel network packet filtering code. It allows you
200 to set up firewalls and IP masquerading, etc.
201
202 This package contains the development files for IP6TC library.
203
204 %prep
205
206 %setup -q
207
208 # (cg) NB the name "iptables.init" is important. See note in install below
209 cp %{SOURCE1} iptables.init
210 cp %{SOURCE2} ip6tables.init
211 cp %{SOURCE3} iptables.sample
212 cp %{SOURCE4} ip6tables.sample
213
214 # fix libdir
215 perl -pi -e "s|\@lib\@|%{_lib}|g" iptables.init
216
217 #%patch0 -p0 -b .libiptc
218
219 # extensions
220 #install -m0644 %{SOURCE100} extensions/ <- it needs ipt_IMQ.h and we don't have it anymore ?!
221 install -m0644 %{SOURCE101} extensions/
222 # (oe) psd comes from iptables-1.3.7, was removed in iptables-1.3.8
223 install -m0644 %{SOURCE102} extensions/
224 install -m0644 %{SOURCE103} extensions/
225
226 %patch100 -p0
227 %patch101 -p0
228 %patch102 -p0
229 %patch103 -p0
230
231 find . -type f | xargs perl -pi -e "s,/usr/local,%{_prefix},g"
232
233 # don't run /sbin/ldconfig
234 perl -pi -e "s|/sbin/ldconfig|/bin/true|g" Makefile*
235
236 %build
237 export LIBS="-ldl"
238
239 %serverbuild
240
241 autoreconf -fis
242
243 export CFLAGS="$CFLAGS -fPIC"
244 export CXXFLAGS="$CXXFLAGS -fPIC"
245 export FFLAGS="$FFLAGS -fPIC"
246
247 %configure2_5x \
248 --bindir=/sbin \
249 --sbindir=/sbin \
250 --enable-devel \
251 --enable-libipq \
252 --enable-ipv4 \
253 --enable-ipv6 \
254 --with-ksource=%{_prefix}/src/linux \
255 --with-xtlibdir=/%{_lib}/iptables
256
257 make
258
259 ## make more devel libs (debian)
260 #ar rcs libiptables.a iptables.o
261 #ar rcs libip6tables.a ip6tables.o
262
263 # hmm...
264 ar rcs libiptc/libiptc.a libiptc/.libs/libip4tc.o libiptc/.libs/libip6tc.o
265
266 %install
267 %makeinstall_std
268
269 # remove la file(s)
270 rm -f %{buildroot}/%{_lib}/*.la
271 rm -f %{buildroot}%{_libdir}/*.la
272
273 # (oe) this in conjunction with the distro initscript will make it possible
274 # to use development versions of the netfilter modules and with different
275 # api:s. (according to blino)
276 install -d %{buildroot}/%{_lib}/iptables.d
277 mv %{buildroot}/%{_lib}/iptables %{buildroot}/%{_lib}/iptables.d/linux-2.6-main
278
279 # move the shared libs
280 mv %{buildroot}%{_libdir}/libxtables.so.%{major}* %{buildroot}/%{_lib}/
281 ln -snf /%{_lib}/libxtables.so.%{major} %{buildroot}%{_libdir}/libxtables.so
282
283 mv %{buildroot}%{_libdir}/libiptc.so.* %{buildroot}/%{_lib}/
284 ln -snf /%{_lib}/libiptc.so.0 %{buildroot}%{_libdir}/libiptc.so
285
286 mv %{buildroot}%{_libdir}/libip4tc.so.%{ip4tc_major}* %{buildroot}/%{_lib}/
287 ln -snf /%{_lib}/libip4tc.so.%{ip4tc_major} %{buildroot}%{_libdir}/libip4tc.so
288
289 mv %{buildroot}%{_libdir}/libip6tc.so.%{ip6tc_major}* %{buildroot}/%{_lib}/
290 ln -snf /%{_lib}/libip6tc.so.%{ip6tc_major} %{buildroot}%{_libdir}/libip6tc.so
291
292 # static development files
293 install -d %{buildroot}%{_libdir}
294 install -m0644 libiptc/libiptc.a %{buildroot}%{_libdir}/libiptc.a
295 #install -m0644 libiptables.a %{buildroot}%{_libdir}/
296 #install -m0644 libip6tables.a %{buildroot}%{_libdir}/
297
298 # header development files
299 install -d %{buildroot}%{_includedir}/{libipq,libiptc,libipulog}
300 install -m0644 include/libipq/*.h %{buildroot}%{_includedir}/libipq/
301 install -m0644 include/libiptc/*.h %{buildroot}%{_includedir}/libiptc/
302 install -m0644 include/libipulog/*.h %{buildroot}%{_includedir}/libipulog/
303
304 # iptables and netfilter development files
305 install -d %{buildroot}%{_includedir}/net/netfilter/
306 install -d %{buildroot}%{_includedir}/iptables
307 #install -m0644 include/net/netfilter/*.h %{buildroot}%{_includedir}/net/netfilter/
308 install -m0644 include/ip*tables.h %{buildroot}%{_includedir}/
309 install -m0644 include/iptables/internal.h %{buildroot}%{_includedir}/iptables
310
311
312 # (cg) NB the name "iptables.init" is important. The dracut usrmove convertfs
313 # module will avoid a post-merge conflict by renaming the files to match this
314 # naming convension. If this package is updated to change the names below,
315 # you should also take care to update dracut and the convertfs module accordingly.
316 install -d %{buildroot}%{script_path}
317 install -m0755 iptables.init %{buildroot}%{script_path}/
318 install -m0755 ip6tables.init %{buildroot}%{script_path}/
319
320 # (tmb) add compat symlinks for ip(6)tbles-multi
321 pushd %{buildroot}/sbin/
322 ln -snf xtables-multi iptables-multi
323 ln -snf xtables-multi ip6tables-multi
324 popd
325
326 # install systemd service files
327 install -d -m 755 %{buildroot}/lib/systemd/system
328 install -c -m 644 %{SOURCE5} %{buildroot}/lib/systemd/system/
329 sed -e 's;iptables;ip6tables;g' -e 's;IPv4;IPv6;g' < %{SOURCE5} > ip6tables.service
330 install -c -m 644 ip6tables.service %{buildroot}/lib/systemd/system/
331 sed -i 's!@LIBDIR@!%{_libexecdir}!' %{buildroot}/lib/systemd/system/ip6tables.service
332 sed -i 's!@LIBDIR@!%{_libexecdir}!' %{buildroot}/lib/systemd/system/iptables.service
333
334 %post
335 %_post_service iptables
336 %_post_service ip6tables
337 /sbin/service iptables check
338
339 %preun
340 %_preun_service iptables
341 %_preun_service ip6tables
342
343 %triggerun -- iptables < 1.4.12.1
344 # Autostart
345 /bin/systemctl --no-reload enable iptables.service >/dev/null 2>&1 ||:
346
347 # Delete from sysv management, try to restart service
348 /sbin/chkconfig --del iptables >/dev/null 2>&1 || :
349 /bin/systemctl try-restart iptables.service >/dev/null 2>&1 || :
350
351 # Autostart
352 /bin/systemctl --no-reload enable ip6tables.service >/dev/null 2>&1 ||:
353
354 # Delete from sysv management, try to restart service
355 /sbin/chkconfig --del ip6tables >/dev/null 2>&1 || :
356 /bin/systemctl try-restart ip6tables.service >/dev/null 2>&1 || :
357
358 %files
359 %defattr(-,root,root,0755)
360 %doc INSTALL INCOMPATIBILITIES iptables.sample ip6tables.sample
361 %attr(0755,root,root) %{script_path}/ip*
362 /lib/systemd/system/iptables.service
363 /lib/systemd/system/ip6tables.service
364 /sbin/iptables
365 /sbin/iptables-multi
366 /sbin/iptables-restore
367 /sbin/iptables-save
368 /sbin/iptables-xml
369 /sbin/nfnl_osf
370 # ipv6
371 /sbin/ip6tables
372 /sbin/ip6tables-multi
373 /sbin/ip6tables-restore
374 /sbin/ip6tables-save
375 /sbin/xtables-multi
376 %dir /%{_lib}/iptables.d
377 %dir /%{_lib}/iptables.d/linux-2.6-main
378 /%{_lib}/iptables.d/linux-2.6-main/libipt_ah.so
379 /%{_lib}/iptables.d/linux-2.6-main/libipt_CLUSTERIP.so
380 /%{_lib}/iptables.d/linux-2.6-main/libipt_DNAT.so
381 /%{_lib}/iptables.d/linux-2.6-main/libipt_ECN.so
382 /%{_lib}/iptables.d/linux-2.6-main/libipt_icmp.so
383 /%{_lib}/iptables.d/linux-2.6-main/libipt_IFWLOG.so
384 /%{_lib}/iptables.d/linux-2.6-main/libipt_LOG.so
385 /%{_lib}/iptables.d/linux-2.6-main/libipt_MASQUERADE.so
386 /%{_lib}/iptables.d/linux-2.6-main/libipt_MIRROR.so
387 /%{_lib}/iptables.d/linux-2.6-main/libipt_NETMAP.so
388 /%{_lib}/iptables.d/linux-2.6-main/libipt_psd.so
389 /%{_lib}/iptables.d/linux-2.6-main/libipt_realm.so
390 /%{_lib}/iptables.d/linux-2.6-main/libipt_REDIRECT.so
391 /%{_lib}/iptables.d/linux-2.6-main/libipt_REJECT.so
392 /%{_lib}/iptables.d/linux-2.6-main/libipt_SAME.so
393 /%{_lib}/iptables.d/linux-2.6-main/libipt_SNAT.so
394 /%{_lib}/iptables.d/linux-2.6-main/libipt_ttl.so
395 /%{_lib}/iptables.d/linux-2.6-main/libipt_TTL.so
396 /%{_lib}/iptables.d/linux-2.6-main/libipt_ULOG.so
397 /%{_lib}/iptables.d/linux-2.6-main/libipt_unclean.so
398 /%{_lib}/iptables.d/linux-2.6-main/libxt_AUDIT.so
399 /%{_lib}/iptables.d/linux-2.6-main/libxt_addrtype.so
400 /%{_lib}/iptables.d/linux-2.6-main/libxt_CHECKSUM.so
401 /%{_lib}/iptables.d/linux-2.6-main/libxt_CLASSIFY.so
402 /%{_lib}/iptables.d/linux-2.6-main/libxt_cluster.so
403 /%{_lib}/iptables.d/linux-2.6-main/libxt_comment.so
404 /%{_lib}/iptables.d/linux-2.6-main/libxt_connbytes.so
405 /%{_lib}/iptables.d/linux-2.6-main/libxt_connlimit.so
406 /%{_lib}/iptables.d/linux-2.6-main/libxt_connmark.so
407 /%{_lib}/iptables.d/linux-2.6-main/libxt_CONNMARK.so
408 /%{_lib}/iptables.d/linux-2.6-main/libxt_CONNSECMARK.so
409 /%{_lib}/iptables.d/linux-2.6-main/libxt_conntrack.so
410 /%{_lib}/iptables.d/linux-2.6-main/libxt_cpu.so
411 /%{_lib}/iptables.d/linux-2.6-main/libxt_CT.so
412 /%{_lib}/iptables.d/linux-2.6-main/libxt_dccp.so
413 /%{_lib}/iptables.d/linux-2.6-main/libxt_devgroup.so
414 /%{_lib}/iptables.d/linux-2.6-main/libxt_dscp.so
415 /%{_lib}/iptables.d/linux-2.6-main/libxt_DSCP.so
416 /%{_lib}/iptables.d/linux-2.6-main/libxt_esp.so
417 /%{_lib}/iptables.d/linux-2.6-main/libxt_ecn.so
418 /%{_lib}/iptables.d/linux-2.6-main/libxt_hashlimit.so
419 /%{_lib}/iptables.d/linux-2.6-main/libxt_helper.so
420 /%{_lib}/iptables.d/linux-2.6-main/libxt_HMARK.so
421 /%{_lib}/iptables.d/linux-2.6-main/libxt_IDLETIMER.so
422 /%{_lib}/iptables.d/linux-2.6-main/libxt_iprange.so
423 /%{_lib}/iptables.d/linux-2.6-main/libxt_ipvs.so
424 /%{_lib}/iptables.d/linux-2.6-main/libxt_LED.so
425 /%{_lib}/iptables.d/linux-2.6-main/libxt_length.so
426 /%{_lib}/iptables.d/linux-2.6-main/libxt_limit.so
427 /%{_lib}/iptables.d/linux-2.6-main/libxt_mac.so
428 /%{_lib}/iptables.d/linux-2.6-main/libxt_mark.so
429 /%{_lib}/iptables.d/linux-2.6-main/libxt_MARK.so
430 /%{_lib}/iptables.d/linux-2.6-main/libxt_multiport.so
431 /%{_lib}/iptables.d/linux-2.6-main/libxt_nfacct.so
432 /%{_lib}/iptables.d/linux-2.6-main/libxt_NFLOG.so
433 /%{_lib}/iptables.d/linux-2.6-main/libxt_NFQUEUE.so
434 /%{_lib}/iptables.d/linux-2.6-main/libxt_NOTRACK.so
435 /%{_lib}/iptables.d/linux-2.6-main/libxt_osf.so
436 /%{_lib}/iptables.d/linux-2.6-main/libxt_owner.so
437 /%{_lib}/iptables.d/linux-2.6-main/libxt_physdev.so
438 /%{_lib}/iptables.d/linux-2.6-main/libxt_pkttype.so
439 /%{_lib}/iptables.d/linux-2.6-main/libxt_policy.so
440 /%{_lib}/iptables.d/linux-2.6-main/libxt_quota.so
441 /%{_lib}/iptables.d/linux-2.6-main/libxt_rateest.so
442 /%{_lib}/iptables.d/linux-2.6-main/libxt_RATEEST.so
443 /%{_lib}/iptables.d/linux-2.6-main/libxt_recent.so
444 /%{_lib}/iptables.d/linux-2.6-main/libxt_rpfilter.so
445 /%{_lib}/iptables.d/linux-2.6-main/libxt_sctp.so
446 /%{_lib}/iptables.d/linux-2.6-main/libxt_SECMARK.so
447 /%{_lib}/iptables.d/linux-2.6-main/libxt_set.so
448 /%{_lib}/iptables.d/linux-2.6-main/libxt_SET.so
449 /%{_lib}/iptables.d/linux-2.6-main/libxt_socket.so
450 /%{_lib}/iptables.d/linux-2.6-main/libxt_standard.so
451 /%{_lib}/iptables.d/linux-2.6-main/libxt_state.so
452 /%{_lib}/iptables.d/linux-2.6-main/libxt_statistic.so
453 /%{_lib}/iptables.d/linux-2.6-main/libxt_string.so
454 /%{_lib}/iptables.d/linux-2.6-main/libxt_tcpmss.so
455 /%{_lib}/iptables.d/linux-2.6-main/libxt_TCPMSS.so
456 /%{_lib}/iptables.d/linux-2.6-main/libxt_TCPOPTSTRIP.so
457 /%{_lib}/iptables.d/linux-2.6-main/libxt_tcp.so
458 /%{_lib}/iptables.d/linux-2.6-main/libxt_TEE.so
459 /%{_lib}/iptables.d/linux-2.6-main/libxt_time.so
460 /%{_lib}/iptables.d/linux-2.6-main/libxt_tos.so
461 /%{_lib}/iptables.d/linux-2.6-main/libxt_TOS.so
462 /%{_lib}/iptables.d/linux-2.6-main/libxt_TPROXY.so
463 /%{_lib}/iptables.d/linux-2.6-main/libxt_TRACE.so
464 /%{_lib}/iptables.d/linux-2.6-main/libxt_u32.so
465 /%{_lib}/iptables.d/linux-2.6-main/libxt_udp.so
466 %{_mandir}/*/iptables*
467 %{_datadir}/xtables/pf.os
468 # ipv6
469 /%{_lib}/iptables.d/linux-2.6-main/libip6t_ah.so
470 /%{_lib}/iptables.d/linux-2.6-main/libip6t_dst.so
471 /%{_lib}/iptables.d/linux-2.6-main/libip6t_DNAT.so
472 /%{_lib}/iptables.d/linux-2.6-main/libip6t_DNPT.so
473 /%{_lib}/iptables.d/linux-2.6-main/libip6t_eui64.so
474 /%{_lib}/iptables.d/linux-2.6-main/libip6t_frag.so
475 /%{_lib}/iptables.d/linux-2.6-main/libip6t_hbh.so
476 /%{_lib}/iptables.d/linux-2.6-main/libip6t_hl.so
477 /%{_lib}/iptables.d/linux-2.6-main/libip6t_HL.so
478 /%{_lib}/iptables.d/linux-2.6-main/libip6t_icmp6.so
479 /%{_lib}/iptables.d/linux-2.6-main/libip6t_ipv6header.so
480 /%{_lib}/iptables.d/linux-2.6-main/libip6t_LOG.so
481 /%{_lib}/iptables.d/linux-2.6-main/libip6t_MASQUERADE.so
482 /%{_lib}/iptables.d/linux-2.6-main/libip6t_mh.so
483 /%{_lib}/iptables.d/linux-2.6-main/libip6t_NETMAP.so
484 /%{_lib}/iptables.d/linux-2.6-main/libip6t_REDIRECT.so
485 /%{_lib}/iptables.d/linux-2.6-main/libip6t_REJECT.so
486 /%{_lib}/iptables.d/linux-2.6-main/libip6t_rt.so
487 /%{_lib}/iptables.d/linux-2.6-main/libip6t_SNAT.so
488 /%{_lib}/iptables.d/linux-2.6-main/libip6t_SNPT.so
489 %{_mandir}/*/ip6tables*
490
491 %files -n %{libname}
492 /%{_lib}/libxtables.so.%{major}*
493
494 %files -n %{develname}
495 %{_includedir}/*.h
496 %dir %{_includedir}/libipq
497 %dir %{_includedir}/libipulog
498 %{_includedir}/libipq/*.h
499 %{_includedir}/libipulog/*.h
500 %{_includedir}/iptables/*.h
501 #%{_includedir}/net/netfilter/*.h
502 %{_libdir}/libxtables.so
503 %{_libdir}/pkgconfig/xtables.pc
504
505 %files -n %{ipq_libname}
506 /%{_libdir}/libipq.so.*
507
508 %files -n %{ipq_develname}
509 %{_includedir}/libipq/*.h
510 %{_libdir}/pkgconfig/libipq.pc
511 %dir %{_includedir}/libipq
512 %{_libdir}/libipq.so
513 %{_mandir}/man3/*ipq*
514
515 %files -n %{iptc_libname}
516 /%{_lib}/libiptc.so.*
517
518 %files -n %{iptc_develname}
519 %{_includedir}/libiptc/*.h
520 %dir %{_includedir}/libiptc
521 %{_libdir}/libiptc.so
522 %{_libdir}/libiptc.*a
523 %{_libdir}/pkgconfig/libiptc.pc
524
525 %files -n %{ip4tc_libname}
526 /%{_lib}/libip4tc.so.*
527
528 %files -n %{ip4tc_develname}
529 %{_libdir}/libip4tc.so
530 %{_libdir}/pkgconfig/libip4tc.pc
531
532 %files -n %{ip6tc_libname}
533 /%{_lib}/libip6tc.so.*
534
535 %files -n %{ip6tc_develname}
536 %{_libdir}/libip6tc.so
537 %{_libdir}/pkgconfig/libip6tc.pc

  ViewVC Help
Powered by ViewVC 1.1.30