libmnl/libmnl.spec

76 lines
2.1 KiB
RPMSpec

Name: libmnl
Version: 1.0.5
Release: 1mamba
Summary: A minimalistic user-space library oriented to Netlink developers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.iptables.org/projects/libmnl/index.html
Source: http://ftp.netfilter.org/pub/libmnl/libmnl-%{version}.tar.bz2
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
%{_mandir}/man3/mnl_*3*
%doc README
%changelog
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
- update to 1.0.5
* Wed Jul 06 2016 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic version update by autodist
* 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