2018-07-21 16:32:45 +00:00
|
|
|
Name: libmnl
|
2022-09-19 17:57:27 +00:00
|
|
|
Version: 1.0.5
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Minimalistic Netlink user-space library
|
2011-08-24 14:22:46 +00:00
|
|
|
|
2022-09-19 17:57:27 +00:00
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
URL: https://netfilter.org/projects/libmnl/
|
|
|
|
Source0: https://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2.sig
|
|
|
|
Source2: https://netfilter.org/files/coreteam-gpg-key-0xD55D978A8A1420E4.txt
|
2018-07-21 16:32:45 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc
|
2022-09-19 17:57:27 +00:00
|
|
|
BuildRequires: gnupg2
|
2021-01-05 02:14:21 +00:00
|
|
|
BuildRequires: make
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
2018-07-21 16:32:45 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2022-09-19 17:57:27 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2011-08-24 14:22:46 +00:00
|
|
|
|
2018-07-21 16:32:45 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static development files for %{name}
|
2022-09-19 17:57:27 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2012-08-12 01:50:51 +00:00
|
|
|
|
2022-09-19 17:57:27 +00:00
|
|
|
%description devel
|
2011-08-24 14:22:46 +00:00
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
2022-09-19 17:57:27 +00:00
|
|
|
%description static
|
|
|
|
The %{name}-static package contains static libraries for developing
|
|
|
|
applications that use %{name}.
|
2012-08-12 01:50:51 +00:00
|
|
|
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2022-09-19 17:57:27 +00:00
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2012-08-12 01:50:51 +00:00
|
|
|
%configure --enable-static
|
2022-09-19 17:57:27 +00:00
|
|
|
%make_build CFLAGS="%{optflags}"
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2022-09-19 17:57:27 +00:00
|
|
|
%make_install
|
2018-07-21 16:32:45 +00:00
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -delete
|
2011-08-24 14:22:46 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
2019-01-22 17:39:54 +00:00
|
|
|
%ldconfig_scriptlets
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2014-07-18 19:01:47 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc README
|
2022-09-19 17:57:27 +00:00
|
|
|
%{_libdir}/%{name}.so.0*
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
%files devel
|
2012-08-12 01:50:51 +00:00
|
|
|
%doc examples-%{_arch}
|
2022-09-19 17:57:27 +00:00
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_libdir}/%{name}.so
|
2011-08-24 14:22:46 +00:00
|
|
|
|
2012-08-12 01:50:51 +00:00
|
|
|
%files static
|
2022-09-19 17:57:27 +00:00
|
|
|
%{_libdir}/%{name}.a
|
2011-08-24 14:22:46 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-09-19 17:57:27 +00:00
|
|
|
* Mon Sep 19 2022 Robert Scheck <robert@fedoraproject.org> - 1.0.5-1
|
|
|
|
- Update to 1.0.5 (#2072018)
|
|
|
|
|
2022-07-21 18:22:51 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 16:42:12 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 11:50:53 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 17:31:02 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:06:05 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 09:43:56 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 13:47:57 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 07:38:57 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-21 16:32:45 +00:00
|
|
|
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.4-1
|
|
|
|
- Add gcc BuildReq, cleanup spec
|
|
|
|
|
2018-07-13 08:26:43 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 08:04:57 +00:00
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-6
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
2018-02-07 22:42:13 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 01:51:32 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:16:25 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 19:03:46 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-07-12 03:04:31 +00:00
|
|
|
* Fri Jul 15 2016 Hushan Jia <hushan.jia@gmail.com> 1.0.4-1
|
|
|
|
- Update to 1.0.4.
|
|
|
|
|
2016-02-04 03:32:38 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
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
|
2018-02-09 08:04:57 +00:00
|
|
|
- use %%doc for each arch to avoid multilib conflict (rhbz 831413)
|
2012-08-12 01:50:51 +00:00
|
|
|
|
|
|
|
* 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
|
|
|
|
|