forked from pool/libnetfilter_cthelper
- Modernize specfile constructs.
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_cthelper?expand=0&rev=23
This commit is contained in:
parent
3040d81e30
commit
58663f6ba5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 14 00:09:08 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Modernize specfile constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 8 17:27:32 UTC 2014 - jengelh@inai.de
|
Mon Dec 8 17:27:32 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libnetfilter_cthelper
|
# spec file for package libnetfilter_cthelper
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,10 +20,10 @@ Name: libnetfilter_cthelper
|
|||||||
%define lname %{name}0
|
%define lname %{name}0
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://netfilter.org/projects/libnetfilter_cthelper/
|
|
||||||
Summary: Userspace library for the Netfilter Conntrack Helper extension
|
Summary: Userspace library for the Netfilter Conntrack Helper extension
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
|
URL: https://netfilter.org/projects/libnetfilter_cthelper/
|
||||||
|
|
||||||
#Git-Clone: git://git.netfilter.org/libnetfilter_cthelper
|
#Git-Clone: git://git.netfilter.org/libnetfilter_cthelper
|
||||||
#DL-URL: http://netfilter.org/projects/libnetfilter_cthelper/files/
|
#DL-URL: http://netfilter.org/projects/libnetfilter_cthelper/files/
|
||||||
@ -32,11 +32,9 @@ Source2: http://netfilter.org/projects/libnetfilter_cthelper/files/%name-
|
|||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Source4: %name.keyring
|
Source4: %name.keyring
|
||||||
Patch1: fix_h_expect_policy_free.patch
|
Patch1: fix_h_expect_policy_free.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#BuildRequires: autoconf
|
#BuildRequires: autoconf
|
||||||
#BuildRequires: automake >= 1.6
|
#BuildRequires: automake >= 1.6
|
||||||
#BuildRequires: libtool >= 2
|
#BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig >= 0.21
|
|
||||||
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -61,30 +59,27 @@ This library provides the programming interface (API) to the
|
|||||||
Netfilter userspace helper infrastructure.
|
Netfilter userspace helper infrastructure.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
autoreconf -fi;
|
autoreconf -fi
|
||||||
fi;
|
fi
|
||||||
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||||
%configure --disable-static --includedir="%_includedir/%name"
|
%configure --disable-static --includedir="%_includedir/%name"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot";
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la;
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libnetfilter_cthelper.so.0*
|
%_libdir/libnetfilter_cthelper.so.0*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/%name/
|
%_includedir/%name/
|
||||||
%_libdir/libnetfilter_cthelper.so
|
%_libdir/libnetfilter_cthelper.so
|
||||||
%_libdir/pkgconfig/libnetfilter_cthelper.pc
|
%_libdir/pkgconfig/libnetfilter_cthelper.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user