diff --git a/.gitignore b/.gitignore index e69de29..bc7bd00 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libnetfilter_cthelper-1.0.0.tar.bz2 diff --git a/libnetfilter_cthelper.spec b/libnetfilter_cthelper.spec new file mode 100644 index 0000000..5cf7700 --- /dev/null +++ b/libnetfilter_cthelper.spec @@ -0,0 +1,50 @@ +Name: libnetfilter_cthelper +Version: 1.0.0 +Release: 1%{?dist} +Summary: User-space infrastructure for connection tracking helpers +License: GPLv2 +URL: http://www.netfilter.org/projects/libnetfilter_cthelper/index.html +Source0: http://www.netfilter.org/projects/libnetfilter_cthelper/files/libnetfilter_cthelper-%{version}.tar.bz2 +BuildRequires: libmnl-devel >= 1.0.0, pkgconfig, kernel-headers + +%description +This library provides the infrastructure for the user-space helper +infrastructure available since the Linux kernel 3.6. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +%make_install +find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} ';' + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%doc COPYING README +%{_libdir}/*.so.* + +%files devel +%doc examples +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/libnetfilter_cthelper +%{_includedir}/libnetfilter_cthelper/*.h +%{_libdir}/*.so + +%changelog +* Mon Nov 26 2012 Paul Komkoff - 1.0.0-1 +- new package diff --git a/sources b/sources index e69de29..5d2e818 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b2efab1a3a198a5add448960ba011acd libnetfilter_cthelper-1.0.0.tar.bz2