From d6fa1d3c4f2c1be13e310d9fdfb4736139a9da8b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 16:26:27 +0300 Subject: [PATCH] import libmnl-1.0.5-6.el10 --- .gitignore | 2 + .libmnl.metadata | 2 + .../coreteam-gpg-key-0xD55D978A8A1420E4.txt | 64 ++++++ SPECS/libmnl.spec | 198 ++++++++++++++++++ 4 files changed, 266 insertions(+) create mode 100644 .gitignore create mode 100644 .libmnl.metadata create mode 100644 SOURCES/coreteam-gpg-key-0xD55D978A8A1420E4.txt create mode 100644 SPECS/libmnl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..01d609c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/libmnl-1.0.5.tar.bz2 +SOURCES/libmnl-1.0.5.tar.bz2.sig diff --git a/.libmnl.metadata b/.libmnl.metadata new file mode 100644 index 0000000..b734316 --- /dev/null +++ b/.libmnl.metadata @@ -0,0 +1,2 @@ +63c6456b77f7978a7b37e62c1b38346b2ef2d91c SOURCES/libmnl-1.0.5.tar.bz2 +6e0018b4d15326498a60dc84416eccbd62d31e87 SOURCES/libmnl-1.0.5.tar.bz2.sig diff --git a/SOURCES/coreteam-gpg-key-0xD55D978A8A1420E4.txt b/SOURCES/coreteam-gpg-key-0xD55D978A8A1420E4.txt new file mode 100644 index 0000000..2d3b902 --- /dev/null +++ b/SOURCES/coreteam-gpg-key-0xD55D978A8A1420E4.txt @@ -0,0 +1,64 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF+HdQgBEACzteJUJGtj3N6u5mcGh4Nu/9GQfwrrphZuI7jto2N6+ZoURded +660mFLnax7wgIE8ugAa085jwFWbFY3FzGutUs/kDmnqy9WneYNBLIAF3ZTFfY+oi +V1C09bBlHKDj9gSEM2TZ/qU14exKdSloqcMKSdIqLQX27w/D6WmO1crDjOKKN9F2 +zjc3uLjo1gIPrY+Kdld29aI0W4gYvNLOo+ewhVC5Q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7G/Tg +3s8xsQSLEm3IBEYh27hoc9ZD45EXgm9ZiGA21t9v1jA27yTVaUrPbC40iDv/CMcQ +7N2Y1sJRvmrd+2pKxtNNutujjwgBguo5bKK253R5Hy0a+NzK2LSc/GmR8EJJEwW1 +7r6road7Ss6YImCZExeY+CAW0FEzwQpmqfOdlusvIyk4x4r12JH8Q8NWHMzU3Ym/ +yqdopn/SCwCfXJsL4/eHLCaWuyiWjljNa7MwPDITx2ZPRE5QEqCqi4gaDWXyVHt8 +leGE1G3zoXNJogWhDswh105UnlZEEfOvbHbaxgWPjLV/xkuHhVlaqdyXbTExrgK6 +U2wevNS03dBuQ6bjNIbMIt9ulbiBV8MJWR0PZtnNJ958f1QXC4GT+L3FG1g5Jtz+ +rlbu70nh2kSJrg== +=wukb +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SPECS/libmnl.spec b/SPECS/libmnl.spec new file mode 100644 index 0000000..30f445d --- /dev/null +++ b/SPECS/libmnl.spec @@ -0,0 +1,198 @@ +Name: libmnl +Version: 1.0.5 +Release: 6%{?dist} +Summary: Minimalistic Netlink user-space library + +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 + +BuildRequires: gcc +BuildRequires: gnupg2 +BuildRequires: make + +%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} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%package static +Summary: Static development files for %{name} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%description static +The %{name}-static package contains static libraries for developing +applications that use %{name}. + + +%prep +%setup -q +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' + + +%build +%configure --enable-static +%make_build CFLAGS="%{optflags}" + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -delete +find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -delete +find examples -type d -name '.deps' -prune -exec rm -rf {} ';' +mv examples examples-%{_arch} + + +%ldconfig_scriptlets + + +%files +%license COPYING +%doc README +%{_libdir}/%{name}.so.0* + +%files devel +%doc examples-%{_arch} +%{_includedir}/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/%{name}.so + +%files static +%{_libdir}/%{name}.a + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 1.0.5-6 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 1.0.5-6 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 1.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Sep 19 2022 Robert Scheck - 1.0.5-1 +- Update to 1.0.5 (#2072018) + +* Thu Jul 21 2022 Fedora Release Engineering - 1.0.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.0.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.0.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 21 2018 Peter Robinson 1.0.4-1 +- Add gcc BuildReq, cleanup spec + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Igor Gnatenko - 1.0.4-6 +- Escape macros in %%changelog + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jul 15 2016 Hushan Jia 1.0.4-1 +- Update to 1.0.4. + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jul 18 2014 Tom Callaway - 1.0.3-8 +- fix license handling + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Aug 12 2012 Hushan Jia - 1.0.3-4 +- use %%doc for each arch to avoid multilib conflict (rhbz 831413) + +* Sat Aug 04 2012 Philip Prindeville - 1.0.3-3 +- Add .a to devel package (rhbz 845793) + +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Hushan Jia 1.0.3-1 +- Update to 1.0.3. + +* Sat Feb 04 2012 Hushan Jia 1.0.2-1 +- Update to 1.0.2. + +* Fri Jan 13 2012 Fedora Release Engineering - 1.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Aug 24 2011 Hushan Jia 1.0.1-4 +- fix require of devel package +- add example source files to docs + +* Wed Aug 24 2011 Hushan Jia 1.0.1-3 +- remove unnecessary buildroot and defattr tags +- remove unnecessary build requires + +* Sat Aug 20 2011 Hushan Jia 1.0.1-2 +- use upstream released source tarball + +* Sat Aug 20 2011 Hushan Jia 1.0.1-1 +- initial packaging +