From d088ea2c4a618fac0de13bfb146db02bf99ceab5 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:04:48 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.3-1mamba;Sat Aug 11 2012] --- README.md | 4 ++++ libmnl.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 libmnl.spec diff --git a/README.md b/README.md index 4f09e69..5691cd5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libmnl +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. + diff --git a/libmnl.spec b/libmnl.spec new file mode 100644 index 0000000..9625c9a --- /dev/null +++ b/libmnl.spec @@ -0,0 +1,69 @@ +Name: libmnl +Version: 1.0.3 +Release: 1mamba +Summary: libmnl is a minimalistic user-space library oriented to Netlink developers +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.iptables.org/projects/libmnl/index.html +Source: ftp://ftp.netfilter.org/pub/libmnl/libmnl-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +%doc README + +%changelog +* Sat Aug 11 2012 Automatic Build System 1.0.3-1mamba +- automatic version update by autodist + +* Mon Apr 30 2012 Davide Madrisan 1.0.2-1mamba +- package created by autospec