68 lines
1.8 KiB
RPMSpec
68 lines
1.8 KiB
RPMSpec
Name: libnetfilter_conntrack
|
|
Version: 0.0.31
|
|
Release: 2%{?dist}
|
|
Summary: Netfilter conntrack userspace library
|
|
Group: System Environment/Libraries
|
|
License: GPL
|
|
URL: http://netfilter.org
|
|
Source0: http://netfilter.org/projects/libnetfilter_conntrack/files/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: libnfnetlink-devel
|
|
|
|
%description
|
|
libnetfilter_conntrack is a userspace library providing a programming
|
|
interface (API) to the in-kernel connection tracking state table.
|
|
|
|
%package devel
|
|
Summary: Netfilter conntrack userspace library
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
libnetfilter_conntrack is a userspace library providing a programming
|
|
interface (API) to the in-kernel connection tracking state table.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/libnetfilter_conntrack/*.so
|
|
%{_bindir}/ctnl_test
|
|
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/libnetfilter_conntrack/*.h
|
|
|
|
%changelog
|
|
* Wed Jul 12 2006 Felipe Kellermann <stdfk@terra.com.br> - 0.0.31-1
|
|
- Adds pkgconfig to devel files.
|
|
- Version 0.0.31.
|
|
|
|
* Mon May 8 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.30-2
|
|
- Include COPYING in %doc
|
|
|
|
* Sun Mar 26 2006 Paul P Komkoff Jr <i@stingr.net> - 0.0.30-1
|
|
- Preparing for submission to fedora extras
|