4 |
%define libname %mklibname iptables %{major} |
%define libname %mklibname iptables %{major} |
5 |
%define develname %mklibname -d iptables |
%define develname %mklibname -d iptables |
6 |
|
|
|
%define iptc_major 2 |
|
|
%define iptc_libname %mklibname iptc %{iptc_major} |
|
7 |
%define iptc_develname %mklibname -d iptc |
%define iptc_develname %mklibname -d iptc |
8 |
|
|
9 |
%define ipq_major 0 |
%define ipq_major 0 |
134 |
|
|
135 |
This package contains the ipq library. |
This package contains the ipq library. |
136 |
|
|
137 |
# iptc |
#iptc |
|
%package -n %{iptc_libname} |
|
|
Summary: Shared iptables library |
|
|
Group: System/Libraries |
|
|
Obsoletes: %{mklibname iptables 1} < 1.4.3.2 |
|
|
|
|
|
%description -n %{iptc_libname} |
|
|
iptables controls the Linux kernel network packet filtering code. It allows you |
|
|
to set up firewalls and IP masquerading, etc. |
|
|
|
|
|
This package contains the IPTC library. |
|
|
|
|
138 |
%package -n %{iptc_develname} |
%package -n %{iptc_develname} |
139 |
Summary: Static library and header files for the iptables library |
Summary: Static library and header files for the iptables library |
140 |
Group: Development/C |
Group: Development/C |
141 |
Requires: kernel-headers |
Requires: kernel-headers |
|
Requires: %{iptc_libname} = %{version}-%{release} |
|
|
Requires: %{iptc_develname} = %{version}-%{release} |
|
142 |
Provides: iptables-iptc-devel = %{version} |
Provides: iptables-iptc-devel = %{version} |
143 |
|
|
144 |
%description -n %{iptc_develname} |
%description -n %{iptc_develname} |
277 |
mv %{buildroot}%{_libdir}/libxtables.so.%{major}* %{buildroot}/%{_lib}/ |
mv %{buildroot}%{_libdir}/libxtables.so.%{major}* %{buildroot}/%{_lib}/ |
278 |
ln -snf /%{_lib}/libxtables.so.%{major} %{buildroot}%{_libdir}/libxtables.so |
ln -snf /%{_lib}/libxtables.so.%{major} %{buildroot}%{_libdir}/libxtables.so |
279 |
|
|
|
mv %{buildroot}%{_libdir}/libiptc.so.* %{buildroot}/%{_lib}/ |
|
|
ln -snf /%{_lib}/libiptc.so.0 %{buildroot}%{_libdir}/libiptc.so |
|
|
|
|
280 |
mv %{buildroot}%{_libdir}/libip4tc.so.%{ip4tc_major}* %{buildroot}/%{_lib}/ |
mv %{buildroot}%{_libdir}/libip4tc.so.%{ip4tc_major}* %{buildroot}/%{_lib}/ |
281 |
ln -snf /%{_lib}/libip4tc.so.%{ip4tc_major} %{buildroot}%{_libdir}/libip4tc.so |
ln -snf /%{_lib}/libip4tc.so.%{ip4tc_major} %{buildroot}%{_libdir}/libip4tc.so |
282 |
|
|
561 |
%{_libdir}/libipq.so |
%{_libdir}/libipq.so |
562 |
%{_mandir}/man3/*ipq* |
%{_mandir}/man3/*ipq* |
563 |
|
|
|
%files -n %{iptc_libname} |
|
|
/%{_lib}/libiptc.so.* |
|
|
|
|
564 |
%files -n %{iptc_develname} |
%files -n %{iptc_develname} |
565 |
%{_includedir}/libiptc/*.h |
%{_includedir}/libiptc/*.h |
566 |
%dir %{_includedir}/libiptc |
%dir %{_includedir}/libiptc |
|
%{_libdir}/libiptc.so |
|
567 |
%{_libdir}/libiptc.*a |
%{_libdir}/libiptc.*a |
568 |
%{_libdir}/pkgconfig/libiptc.pc |
%{_libdir}/pkgconfig/libiptc.pc |
569 |
|
|