SHA256
1
0
forked from pool/libmnl

Compare commits

..

No commits in common. "master" and "factory" have entirely different histories.

3 changed files with 25 additions and 32 deletions

3
libmnl-0+git107.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bed48a1d342cefcd5c7cce2b4bc9a83959acfc25c106af20b9a8d1c4c6a01f6d
size 27264

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
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> Tue Apr 5 21:27:59 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -29,48 +29,45 @@ Source: https://www.netfilter.org/projects/libmnl/files/libmnl-%version.
Source2: https://www.netfilter.org/projects/libmnl/files/libmnl-%version.tar.bz2.sig Source2: https://www.netfilter.org/projects/libmnl/files/libmnl-%version.tar.bz2.sig
Source3: %name.keyring Source3: %name.keyring
Source9: baselibs.conf Source9: baselibs.conf
BuildRequires: doxygen
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config >= 0.21 BuildRequires: pkgconfig >= 0.21
%description %description
libmnl is a user-space library for parsing, validation, constructing libmnl is a minimalistic user-space library oriented to Netlink
Netlink headers and TLVs. 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.
%package -n %lname %package -n %lname
Summary: Minimalistic Netlink communication library Summary: Minimalistic Netlink communication library
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %lname
libmnl is a user-space library for Netlink developers. There are a libmnl is a minimalistic user-space library oriented to Netlink
lot of common tasks in parsing, validating, constructing of both the developers. There are a lot of common tasks in parsing, validating,
Netlink header and TLVs that are repetitive and easy to get wrong. constructing of both the Netlink header and TLVs that are repetitive
This library provides helpers that allow for code reuse. 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.
%package devel %package devel
Summary: Headers for libmnl, a Netlink communications library Summary: Development files for libmnl
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %lname = %version
%description devel %description devel
libmnl is a user-space library for parsing, validation, constructing libmnl is a minimalistic user-space library oriented to Netlink
Netlink headers and TLVs. This subpackage has the header files. developers. There are a lot of common tasks in parsing, validating,
constructing of both the Netlink header and TLVs that are repetitive
%package doc and easy to get wrong. This library aims to provide simple helpers
Summary: Documentation for libmnl, a Netlink communications library that allows you to re-use code and to avoid re-inventing the wheel.
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 %prep
%autosetup -p1 %setup -q
%build %build
# includedir intentional, cf. bugzilla.opensuse.org/795968 # includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --includedir="%_includedir/%name" --with-doxygen %configure --includedir="%_includedir/%name"
%make_build %make_build
%check %check
@ -78,9 +75,10 @@ Netlink headers and TLVs. This subpackage has the documentation.
%install %install
%make_install %make_install
find "%buildroot" -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets -n %lname %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%license COPYING %license COPYING
@ -93,7 +91,4 @@ find "%buildroot" -type f -name "*.la" -delete -print
%_libdir/libmnl.so %_libdir/libmnl.so
%_libdir/pkgconfig/libmnl.pc %_libdir/pkgconfig/libmnl.pc
%files doc
%_mandir/man3/*.3*
%changelog %changelog