forked from pool/libmnl
Compare commits
14 Commits
Author | SHA256 | Date | |
---|---|---|---|
49d05d0ddb | |||
2d3e567aad | |||
7506a62171 | |||
df30e66dcf | |||
b697831b3c | |||
|
bf217be3d9 | ||
|
56901c50d9 | ||
|
781e304709 | ||
|
ad6132d4b0 | ||
|
d614d8b2ba | ||
|
a68d4ece33 | ||
|
d28bce7fc5 | ||
c487bde1b1 | |||
eeca0a3655 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 11:23:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Enable building documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 5 21:27:59 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
49
libmnl.spec
49
libmnl.spec
@@ -29,45 +29,48 @@ Source: https://www.netfilter.org/projects/libmnl/files/libmnl-%version.
|
||||
Source2: https://www.netfilter.org/projects/libmnl/files/libmnl-%version.tar.bz2.sig
|
||||
Source3: %name.keyring
|
||||
Source9: baselibs.conf
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: pkg-config >= 0.21
|
||||
|
||||
%description
|
||||
libmnl is a minimalistic user-space library oriented to Netlink
|
||||
developers. There are a lot of common tasks in parsing, validating,
|
||||
constructing of both the Netlink header and TLVs that are repetitive
|
||||
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.
|
||||
libmnl is a user-space library for parsing, validation, constructing
|
||||
Netlink headers and TLVs.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Minimalistic Netlink communication library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
libmnl is a minimalistic user-space library oriented to Netlink
|
||||
developers. There are a lot of common tasks in parsing, validating,
|
||||
constructing of both the Netlink header and TLVs that are repetitive
|
||||
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.
|
||||
libmnl is a user-space library for Netlink developers. There are a
|
||||
lot of common tasks in parsing, validating, constructing of both the
|
||||
Netlink header and TLVs that are repetitive and easy to get wrong.
|
||||
This library provides helpers that allow for code reuse.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libmnl
|
||||
Summary: Headers for libmnl, a Netlink communications library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
libmnl is a minimalistic user-space library oriented to Netlink
|
||||
developers. There are a lot of common tasks in parsing, validating,
|
||||
constructing of both the Netlink header and TLVs that are repetitive
|
||||
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.
|
||||
libmnl is a user-space library for parsing, validation, constructing
|
||||
Netlink headers and TLVs. This subpackage has the header files.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for libmnl, a Netlink communications library
|
||||
Group: Documentation/HTML
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
libmnl is a user-space library for parsing, validation, constructing
|
||||
Netlink headers and TLVs. This subpackage has the documentation.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||
%configure --includedir="%_includedir/%name"
|
||||
%configure --includedir="%_includedir/%name" --with-doxygen
|
||||
%make_build
|
||||
|
||||
%check
|
||||
@@ -75,10 +78,9 @@ that allows you to re-use code and to avoid re-inventing the wheel.
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find "%buildroot" -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%license COPYING
|
||||
@@ -91,4 +93,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%_libdir/libmnl.so
|
||||
%_libdir/pkgconfig/libmnl.pc
|
||||
|
||||
%files doc
|
||||
%_mandir/man3/*.3*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user