2024-01-06 05:04:48 +01:00
|
|
|
Name: libmnl
|
2024-01-06 05:04:49 +01:00
|
|
|
Version: 1.0.5
|
2024-01-06 05:04:48 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:04:49 +01:00
|
|
|
Summary: A minimalistic user-space library oriented to Netlink developers
|
2024-01-06 05:04:48 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 05:04:49 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:04:48 +01:00
|
|
|
URL: http://www.iptables.org/projects/libmnl/index.html
|
2024-01-06 05:04:49 +01:00
|
|
|
Source: http://ftp.netfilter.org/pub/libmnl/libmnl-%{version}.tar.bz2
|
2024-01-06 05:04:48 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmnl.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libmnl
|
|
|
|
%{_includedir}/libmnl/libmnl.h
|
|
|
|
%{_libdir}/libmnl.la
|
|
|
|
%{_libdir}/libmnl.so
|
|
|
|
%{_libdir}/pkgconfig/libmnl.pc
|
2024-01-06 05:04:49 +01:00
|
|
|
%{_mandir}/man3/mnl_*3*
|
2024-01-06 05:04:48 +01:00
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:04:49 +01:00
|
|
|
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
|
|
|
|
- update to 1.0.5
|
|
|
|
|
2024-01-06 05:04:48 +01:00
|
|
|
* Wed Jul 06 2016 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:04:48 +01:00
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 30 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.0.2-1mamba
|
|
|
|
- package created by autospec
|