From b0a79d4e9f515e98afb1f69ef078bfb6caca21f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 13:42:10 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/ipcalc#c830b3819f89a95b3d5fe81ccde61cad44183c1b --- .gitignore | 17 ++++++ ipcalc.spec | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 165 insertions(+) create mode 100644 ipcalc.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..44c3705 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,17 @@ +/0.1.0.tar.gz +/0.1.1.tar.gz +/0.1.2.tar.gz +/ipcalc-0.1.3.tar.gz +/ipcalc-0.1.4.tar.gz +/ipcalc-0.1.6.tar.gz +/ipcalc-0.1.7.tar.gz +/ipcalc-0.1.8.tar.gz +/ipcalc-0.2.0.tar.gz +/ipcalc-0.2.2.tar.gz +/ipcalc-0.2.3.tar.gz +/ipcalc-0.2.4.tar.gz +/ipcalc-0.2.5.tar.gz +/ipcalc-0.3.0.tar.gz +/ipcalc-0.4.0.tar.gz +/ipcalc-0.4.1.tar.gz +/ipcalc-1.0.0.tar.gz diff --git a/ipcalc.spec b/ipcalc.spec new file mode 100644 index 0000000..bf333c6 --- /dev/null +++ b/ipcalc.spec @@ -0,0 +1,147 @@ +Name: ipcalc +Version: 1.0.0 +Release: 1%{?dist} +Summary: IP network address calculator +License: GPLv2+ +URL: https://gitlab.com/ipcalc/ipcalc +Source0: https://gitlab.com/ipcalc/ipcalc/-/archive/%{version}/ipcalc-%{version}.tar.gz + +BuildRequires: gcc, libmaxminddb-devel, meson, rubygem(ronn) +Recommends: libmaxminddb, geolite2-city, geolite2-country + +# Explicitly conflict with older initscript packages that ship ipcalc +Conflicts: initscripts < 9.63 +# Obsolete ipcalculator +Obsoletes: ipcalculator < 0.41-20 + + +%description +ipcalc provides a simple way to calculate IP information for a host +or network. Depending on the options specified, it may be used to provide +IP network information in human readable format, in a format suitable for +parsing in scripts, generate random private addresses, resolve an IP address, +or check the validity of an address. + +%prep +%autosetup + +%build +%meson -Duse_maxminddb=enabled -Duse_runtime_linking=enabled +%meson_build + +%install +%meson_install + +%check +%meson_test + +%files + +%{_bindir}/ipcalc +%license COPYING +%doc README.md +%{_mandir}/man1/ipcalc.1* + +%changelog +* Sat Oct 03 2020 Nikos Mavrogiannopoulos - 1.0.0-1 +- Updated to 1.0.0 + +* Tue Jul 28 2020 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Apr 24 2020 Nikos Mavrogiannopoulos - 0.4.1-1 +- Updated to 0.4.1 + +* Wed Jan 29 2020 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Dec 28 2019 Nikos Mavrogiannopoulos - 0.4.0-1 +- Updated to 0.4.0 + +* Sat Nov 23 2019 Nikos Mavrogiannopoulos - 0.3.0-1 +- Updated to 0.3.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 0.2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Feb 19 2019 Nikos Mavrogiannopoulos - 0.2.5-2 +- Re-added the geolite2-city, geolite2-country dependencies + +* Mon Feb 18 2019 Nikos Mavrogiannopoulos - 0.2.5-1 +- Updated to 0.2.5 + +* Fri Feb 01 2019 Fedora Release Engineering - 0.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Aug 09 2018 Nikos Mavrogiannopoulos - 0.2.4-2 +- Fix crash when -g option is used + +* Mon Jul 23 2018 Nikos Mavrogiannopoulos - 0.2.4-1 +- New upstream release + +* Fri Jul 13 2018 Fedora Release Engineering - 0.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu May 31 2018 Nikos Mavrogiannopoulos - 0.2.3-1 +- New upstream release + +* Fri Feb 9 2018 Florian Weimer - 0.2.2-4 +- Another attempt at injecting LDFLAGS + +* Wed Feb 07 2018 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Feb 1 2018 Florian Weimer - 0.2.2-2 +- Build with linker flags from redhat-rpm-config + +* Tue Jan 02 2018 Nikos Mavrogiannopoulos - 0.2.2-1 +- New upstream release + +* Wed Aug 02 2017 Fedora Release Engineering - 0.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon May 15 2017 Nikos Mavrogiannopoulos - 0.2.0-1 +- New upstream release + +* Fri Feb 10 2017 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 15 2016 Nikos Mavrogiannopoulos - 0.1.8-1 +- New upstream release + +* Fri Apr 1 2016 Nikos Mavrogiannopoulos - 0.1.7-1 +- New upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 8 2015 Nikos Mavrogiannopoulos - 0.1.6-1 +- New upstream release + +* Wed Oct 14 2015 Nikos Mavrogiannopoulos - 0.1.4-2 +- Corrected issue on --all-info + +* Wed Oct 14 2015 Nikos Mavrogiannopoulos - 0.1.4-1 +- New upstream release + +* Tue Oct 6 2015 Nikos Mavrogiannopoulos - 0.1.3-1 +- New upstream release +- Prints GeoIP information on generic info + +* Mon Sep 21 2015 Nikos Mavrogiannopoulos - 0.1.2-3 +- This package obsoletes ipcalculator + +* Wed Jun 17 2015 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 9 2015 Nikos Mavrogiannopoulos - 0.1.2-1 +- New upstream release + +* Tue May 19 2015 Nikos Mavrogiannopoulos - 0.1.1-1 +- Compatibility fixes (allow a mask of 0) + +* Mon May 18 2015 Nikos Mavrogiannopoulos - 0.1.0-1 +- First independent release outside initscripts diff --git a/sources b/sources new file mode 100644 index 0000000..9f6ce02 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ipcalc-1.0.0.tar.gz) = a0c216109f26e048f3d923f8deebaa71a156f56f68613ed06486261c73058b256eca1c2271de7b84b48f1f307dab7bfc59aa3803f0539df438ac09bb6608f0e1