commit 645f6f13dc00b80fc63b8deaae3310582b413e3a Author: MSVSphere Packaging Team Date: Sun Dec 22 22:35:53 2024 +0300 import dragonbox-1.1.3-6.el10 diff --git a/.dragonbox.metadata b/.dragonbox.metadata new file mode 100644 index 0000000..8d3cfc7 --- /dev/null +++ b/.dragonbox.metadata @@ -0,0 +1 @@ +02545575792c66a176969b71c09ae0e91ebd49a4 SOURCES/dragonbox-1.1.3.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..018e957 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dragonbox-1.1.3.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..cb19c3e --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# dragonbox + +The dragonbox package diff --git a/SPECS/dragonbox.spec b/SPECS/dragonbox.spec new file mode 100644 index 0000000..c29a6b2 --- /dev/null +++ b/SPECS/dragonbox.spec @@ -0,0 +1,88 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 6; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Header-only package +%global debug_package %{nil} + +Name: dragonbox +Version: 1.1.3 +Release: %autorelease +Summary: Reference implementation of Dragonbox in C++ + +License: Apache-2.0 WITH LLVM-exception OR BSL-1.0 +URL: https://github.com/jk-jeon/dragonbox +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} + +BuildRequires: gcc-c++ +BuildRequires: cmake + +%description +Dragonbox is a float-to-string conversion algorithm based on a beautiful +algorithm Schubfach, developed by Raffaello Giulietti in 2017-2018. +Dragonbox is further inspired by Grisu and Grisu-Exact. + + +%package devel +Summary: Development files for %{name} +Provides: %{name}-static = %{version}-%{release} + +%description devel +Development files for %{name}. + + +%prep +%autosetup + + +%build +%cmake -DDRAGONBOX_INSTALL_TO_CHARS=OFF +%cmake_build + + +%check +# No tests provided + + +%install +%cmake_install + + +%files devel +%license LICENSE-Apache2-LLVM LICENSE-Boost +%doc README.md +%{_includedir}/%{name}-%{version}/ +%{_libdir}/cmake/%{name}-%{version}/ + +%changelog +* Sun Dec 22 2024 MSVSphere Packaging Team - 1.1.3-6 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Jul 17 2024 Fedora Release Engineering - 1.1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 1.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 1.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Sep 04 2023 Mattia Verga - 1.1.3-3 +- Build arch'ed + +* Mon Sep 04 2023 Mattia Verga - 1.1.3-2 +- Move noarch into subpackage + +* Sat Sep 02 2023 Mattia Verga - 1.1.3-1 +- Initial release (fedora#2224783) +## END: Generated by rpmautospec