forked from pool/libmnl
Accepting request 794684 from security:netfilter
- package the license text (forwarded request 794683 from AndreasStieger) OBS-URL: https://build.opensuse.org/request/show/794684 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmnl?expand=0&rev=20
This commit is contained in:
commit
7506a62171
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 21:33:35 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- package the license text
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 2 14:02:58 UTC 2016 - jengelh@inai.de
|
Sat Jul 2 14:02:58 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
31
libmnl.spec
31
libmnl.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmnl
|
# spec file for package libmnl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX 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,25 +12,23 @@
|
|||||||
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libmnl
|
|
||||||
%define lname %{name}0
|
%define lname %{name}0
|
||||||
|
Name: libmnl
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://netfilter.org/projects/libmnl/
|
|
||||||
Summary: Minimalistic Netlink communication library
|
Summary: Minimalistic Netlink communication library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
|
URL: https://netfilter.org/projects/libmnl/
|
||||||
#Git-Clone: git://git.netfilter.org/libmnl
|
#Git-Clone: git://git.netfilter.org/libmnl
|
||||||
Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2
|
Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2
|
||||||
Source2: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2.sig
|
Source2: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source9: baselibs.conf
|
Source9: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#git#BuildRequires: autoconf, automake >= 1.6
|
#git#BuildRequires: autoconf, automake >= 1.6
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig >= 0.21
|
BuildRequires: pkgconfig >= 0.21
|
||||||
@ -54,9 +52,9 @@ and easy to get wrong. This library aims to provide simple helpers
|
|||||||
that allows you to re-use code and to avoid re-inventing the wheel.
|
that allows you to re-use code and to avoid re-inventing the wheel.
|
||||||
|
|
||||||
%package -n %name-devel
|
%package -n %name-devel
|
||||||
Requires: %lname = %version
|
|
||||||
Summary: Development files for libmnl
|
Summary: Development files for libmnl
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description -n %name-devel
|
%description -n %name-devel
|
||||||
libmnl is a minimalistic user-space library oriented to Netlink
|
libmnl is a minimalistic user-space library oriented to Netlink
|
||||||
@ -69,25 +67,26 @@ that allows you to re-use code and to avoid re-inventing the wheel.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
|
||||||
autoreconf -fi;
|
|
||||||
fi;
|
|
||||||
%configure --includedir="%_includedir/%name"
|
%configure --includedir="%_includedir/%name"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%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)
|
%license COPYING
|
||||||
%_libdir/libmnl.so.0*
|
%_libdir/libmnl.so.*
|
||||||
|
|
||||||
%files -n %name-devel
|
%files -n %name-devel
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
|
%doc README
|
||||||
%_includedir/%name/
|
%_includedir/%name/
|
||||||
%_libdir/libmnl.so
|
%_libdir/libmnl.so
|
||||||
%_libdir/pkgconfig/libmnl.pc
|
%_libdir/pkgconfig/libmnl.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user