|
|
@ -1,13 +1,11 @@
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
|
|
|
%bcond_without static_libs # don't build static libraries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
|
|
|
|
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
|
|
|
|
Name: double-conversion
|
|
|
|
Name: double-conversion
|
|
|
|
Version: 3.1.5
|
|
|
|
Version: 3.3.0
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
License: BSD
|
|
|
|
|
|
|
|
Source0: https://github.com/google/double-conversion/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
License: BSD-3-Clause
|
|
|
|
URL: https://github.com/google/double-conversion
|
|
|
|
URL: https://github.com/google/double-conversion
|
|
|
|
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
@ -19,8 +17,9 @@ extracted from the V8 JavaScript engine. The code has been re-factored
|
|
|
|
and improved so that it can be used more easily in other projects.
|
|
|
|
and improved so that it can be used more easily in other projects.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
|
|
|
|
Summary: %{summary}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Obsoletes: %{name}-static < 3.1.5-10
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
Contains header files for developing applications that use the %{name}
|
|
|
|
Contains header files for developing applications that use the %{name}
|
|
|
@ -29,62 +28,63 @@ library.
|
|
|
|
There is extensive documentation in src/double-conversion.h. Other
|
|
|
|
There is extensive documentation in src/double-conversion.h. Other
|
|
|
|
examples can be found in test/cctest/test-conversions.cc.
|
|
|
|
examples can be found in test/cctest/test-conversions.cc.
|
|
|
|
|
|
|
|
|
|
|
|
%package static
|
|
|
|
|
|
|
|
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
|
|
|
|
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description static
|
|
|
|
|
|
|
|
Static %{name} library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%global _vpath_builddir build-shared
|
|
|
|
|
|
|
|
%cmake -DBUILD_TESTING=ON
|
|
|
|
%cmake -DBUILD_TESTING=ON
|
|
|
|
%cmake_build
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with static_libs}
|
|
|
|
|
|
|
|
%global _vpath_builddir build-static
|
|
|
|
|
|
|
|
CXXFLAGS="%{optflags} -fPIC" %cmake -DBUILD_SHARED_LIBS=NO
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%if %{with static_libs}
|
|
|
|
|
|
|
|
%global _vpath_builddir build-static
|
|
|
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _vpath_builddir build-shared
|
|
|
|
|
|
|
|
%cmake_install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%ctest
|
|
|
|
%ctest
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc LICENSE README.md AUTHORS Changelog
|
|
|
|
%license LICENSE
|
|
|
|
%{_libdir}/libdouble-conversion.so.3*
|
|
|
|
%doc README.md AUTHORS Changelog
|
|
|
|
|
|
|
|
%{_libdir}/libdouble-conversion.so.3{,.*}
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libdouble-conversion.so
|
|
|
|
%{_libdir}/libdouble-conversion.so
|
|
|
|
%{_libdir}/cmake/%{name}
|
|
|
|
%{_libdir}/cmake/%{name}/
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with static_libs}
|
|
|
|
|
|
|
|
%files static
|
|
|
|
|
|
|
|
%{_libdir}/libdouble-conversion.a
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.5-6
|
|
|
|
* Mon Dec 23 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.3.0-4
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 07 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 3.3.0-1
|
|
|
|
|
|
|
|
- Update to 3.3.0 (close RHBZ#1684966)
|
|
|
|
|
|
|
|
- Drop obsolete ldconfig_scriptlets macro
|
|
|
|
|
|
|
|
- Drop and Obsolete the static library (-static subpackage)
|
|
|
|
|
|
|
|
- Properly mark the LICENSE file
|
|
|
|
|
|
|
|
- Update License to SPDX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.5-5
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-5
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-4
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|