diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b66c3a1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libnetfilter_cthelper-1.0.0.tar.bz2 diff --git a/.libnetfilter_cthelper.metadata b/.libnetfilter_cthelper.metadata new file mode 100644 index 0000000..32c4cb8 --- /dev/null +++ b/.libnetfilter_cthelper.metadata @@ -0,0 +1 @@ +5d0a82794bd46aafde20c16800edca23d563de66 SOURCES/libnetfilter_cthelper-1.0.0.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libnetfilter_cthelper.spec b/SPECS/libnetfilter_cthelper.spec new file mode 100644 index 0000000..0c18bb1 --- /dev/null +++ b/SPECS/libnetfilter_cthelper.spec @@ -0,0 +1,56 @@ +Name: libnetfilter_cthelper +Version: 1.0.0 +Release: 8%{?dist} +Summary: User-space infrastructure for connection tracking helpers +Group: System Environment/Libraries +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} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libmnl-devel >= 1.0.0 +Requires: kernel-headers + +%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 +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/libnetfilter_cthelper +%{_includedir}/libnetfilter_cthelper/*.h +%{_libdir}/*.so + +%changelog +* Wed Oct 14 2015 Paul Wouters - 1.0.0-8 +- Resolves: rhbz#1233222 (do not include examples/ as these become arch specific) + +* Wed Jun 10 2015 Paul Wouters - 1.0.0-7 +- Resolves: rhbz#1233222 Add libnetfilter_cthelper package to RHEL-7