2011-08-24 14:22:46 +00:00
|
|
|
Name: libmnl
|
2012-06-11 12:41:05 +00:00
|
|
|
Version: 1.0.3
|
2015-06-17 16:06:18 +00:00
|
|
|
Release: 10%{?dist}
|
2011-08-24 14:22:46 +00:00
|
|
|
Summary: A minimalistic Netlink library
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://netfilter.org/projects/libmnl
|
|
|
|
Source0: http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
%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
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
2012-08-12 01:50:51 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
2011-08-24 14:22:46 +00:00
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
2012-08-12 01:50:51 +00:00
|
|
|
%description static
|
|
|
|
The %{name}-static package contains static libraries for devleoping applications that use %{name}.
|
|
|
|
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2012-08-12 01:50:51 +00:00
|
|
|
%configure --enable-static
|
2011-08-24 14:22:46 +00:00
|
|
|
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -exec rm -f {} ';'
|
|
|
|
find examples -type d -name '.deps' -prune -exec rm -rf {} ';'
|
2012-08-12 01:50:51 +00:00
|
|
|
mv examples examples-%{_arch}
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2014-07-18 19:01:47 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%doc README
|
2011-08-24 14:22:46 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
2014-07-18 19:01:47 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2012-08-12 01:50:51 +00:00
|
|
|
%doc examples-%{_arch}
|
2011-08-24 14:22:46 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2012-08-12 01:50:51 +00:00
|
|
|
%files static
|
|
|
|
%{_libdir}/*.a
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-06-17 16:06:18 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-17 04:36:28 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-18 19:01:47 +00:00
|
|
|
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 1.0.3-8
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 04:25:43 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 06:12:28 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 04:44:39 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-12 01:50:51 +00:00
|
|
|
* Sun Aug 12 2012 Hushan Jia <hushan.jia@gmail.com> - 1.0.3-4
|
|
|
|
- use %doc for each arch to avoid multilib conflict (rhbz 831413)
|
|
|
|
|
|
|
|
* Sat Aug 04 2012 Philip Prindeville <philipp@fedoraproject.org> - 1.0.3-3
|
|
|
|
- Add .a to devel package (rhbz 845793)
|
|
|
|
|
2012-07-19 20:27:40 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 12:41:05 +00:00
|
|
|
* Mon Jun 11 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.3-1
|
|
|
|
- Update to 1.0.3.
|
|
|
|
|
2012-02-04 14:14:04 +00:00
|
|
|
* Sat Feb 04 2012 Hushan Jia <hushan.jia@gmail.com> 1.0.2-1
|
|
|
|
- Update to 1.0.2.
|
|
|
|
|
2012-01-13 08:02:51 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-24 14:22:46 +00:00
|
|
|
* Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-4
|
|
|
|
- fix require of devel package
|
|
|
|
- add example source files to docs
|
|
|
|
|
|
|
|
* Wed Aug 24 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-3
|
|
|
|
- remove unnecessary buildroot and defattr tags
|
|
|
|
- remove unnecessary build requires
|
|
|
|
|
|
|
|
* Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-2
|
|
|
|
- use upstream released source tarball
|
|
|
|
|
|
|
|
* Sat Aug 20 2011 Hushan Jia <hushan.jia@gmail.com> 1.0.1-1
|
|
|
|
- initial packaging
|
|
|
|
|