libnetfilter_cthelper-1.0.0-1
This commit is contained in:
parent
126f8a4e64
commit
e5936a0cad
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libnetfilter_cthelper-1.0.0.tar.bz2
|
50
libnetfilter_cthelper.spec
Normal file
50
libnetfilter_cthelper.spec
Normal file
@ -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 <i@stingr.net> - 1.0.0-1
|
||||
- new package
|
Loading…
Reference in New Issue
Block a user