libmnl/libmnl.spec

73 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: libmnl
Version: 1.0.4
Release: 1mamba
Summary: libmnl is a minimalistic user-space library oriented to Netlink developers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
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
* 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