From 4d695c91648c3b8d77afda77ab0b82aaf333f2b363b72ef8188f392f31a6e128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 12:11:40 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main double-conversion revision f075556aaabd27da05ff8016fe2ab23a --- .gitattributes | 23 ++++++++ baselibs.conf | 1 + double-conversion-3.3.0.tar.gz | 3 ++ double-conversion.changes | 95 ++++++++++++++++++++++++++++++++++ double-conversion.spec | 90 ++++++++++++++++++++++++++++++++ 5 files changed, 212 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 double-conversion-3.3.0.tar.gz create mode 100644 double-conversion.changes create mode 100644 double-conversion.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..7d3bf96 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libdouble-conversion3 diff --git a/double-conversion-3.3.0.tar.gz b/double-conversion-3.3.0.tar.gz new file mode 100644 index 0000000..d20c875 --- /dev/null +++ b/double-conversion-3.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04ec44461850abbf33824da84978043b22554896b552c5fd11a9c5ae4b4d296e +size 7033266 diff --git a/double-conversion.changes b/double-conversion.changes new file mode 100644 index 0000000..75d38e6 --- /dev/null +++ b/double-conversion.changes @@ -0,0 +1,95 @@ +------------------------------------------------------------------- +Mon Jun 19 19:53:28 UTC 2023 - Dirk Müller + +- update to 3.3.0: + * Fix some compile warnings in Visual Studio + * Set permissions for github workflows + * Add flags to control trailing decimal and zero in exponent + form when input has one significant digit + +------------------------------------------------------------------- +Wed Aug 17 20:09:14 UTC 2022 - Dirk Müller + +- update to 3.2.1 + * Disable quiet nan test on windows + * Test on all platforms. + * Fix warnings on Windows + * Run ctests first. + * Give shared-lib option and test install + * Install Windows debbuger (pdb) files. + * Add a cast to silence a signedness conversion warning. + * Issue #184 : Fixed all -Wzero-as-null-pointer-constant warnings + +------------------------------------------------------------------- +Sat Apr 9 22:33:12 UTC 2022 - Dirk Müller + +- update to 3.2.0: + * Fix quiet NANs on MIPS* and PA-RISC architectures. + +------------------------------------------------------------------- +Thu Dec 30 09:36:03 UTC 2021 - Dirk Müller + +- update to 3.1.7: + * Reintroduce macros, if DOUBLE_CONVERSION_NON_PREFIXED_MACROS is set + * Also add support for Synopsys ARC64 architecture + +------------------------------------------------------------------- +Sun Dec 5 18:57:58 UTC 2021 - Dirk Müller + +- update to 3.1.6: + * Features some code cleanups. + * Adds the following new architectures: loongarch, xtensa, nios2, e2k. + +------------------------------------------------------------------- +Thu Feb 6 16:01:17 UTC 2020 - Tomáš Chvátal + +- Use proper cmake calls +- Do not pull in py2 that is EOL but use python3 for build + +------------------------------------------------------------------- +Mon Jul 22 19:33:44 UTC 2019 - Todd R + +- Update to version 3.1.5 jsc#ECO-1190, jsc#SLE-11474 + * Fix `0x` for string->double conversion when Hex Floats are allowed. + Avoid integer overflow when exponents for hex floats were too big. + Update version number. + * Fixed warning in gcc4.9. + * Merged changes to install libraries in the correct place when + using 64-bit libraries. + * Use relative includes in the library. This shouldn't have any visible effect + for consumers of the library. + * Fix typo in test. + * Fix separator characters when they they don't fit into 8 bits. + * Check correctly for _MSC_VER. + * Allow the library to be compiled for Emscripten. + +------------------------------------------------------------------- +Thu Feb 28 11:26:22 UTC 2019 - Andreas Schwab + +- Update to version 3.0.3 + * Support RISC-V + * Bug fixes +- Switch to cmake +- Use %license + +------------------------------------------------------------------- +Fri Jul 14 20:51:40 UTC 2017 - jengelh@inai.de + +- Fix RPM groups. + Slightly trim/compact descriptions. + +------------------------------------------------------------------- +Wed Oct 5 07:35:07 UTC 2016 - zaitor@opensuse.org + +- Add baselibs.conf: Build 32-bit support (boo#1002561). + +------------------------------------------------------------------- +Mon Feb 1 19:16:46 UTC 2016 - mpluskal@suse.com + +- Update project and download urls +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Thu Jul 24 18:53:28 UTC 2014 - dmitry_r@opensuse.org + +- Initial package, version 2.0.1 diff --git a/double-conversion.spec b/double-conversion.spec new file mode 100644 index 0000000..553568b --- /dev/null +++ b/double-conversion.spec @@ -0,0 +1,90 @@ +# +# spec file for package double-conversion +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define lib_ver 3 +%define libname libdouble-conversion3 +Name: double-conversion +Version: 3.3.0 +Release: 0 +Summary: Binary-decimal and decimal-binary routines for IEEE doubles +License: BSD-3-Clause +URL: https://github.com/google/double-conversion +Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source99: baselibs.conf +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: python3-base + +%description +Double-conversion provides binary-decimal and decimal-binary routines +for IEEE double-precision floating point numbers. The library +consists of conversion routines that have been extracted from the V8 +JavaScript engine. + +%package -n %{libname} +Summary: Binary-decimal and decimal-binary routines for IEEE doubles + +%description -n %{libname} +Double-conversion provides binary-decimal and decimal-binary routines +for IEEE double-precision floating point numbers. The library +consists of conversion routines that have been extracted from the V8 +JavaScript engine. + +%package devel +Summary: Development files for BCD/DCB routines for IEEE doubles +Requires: %{libname} = %{version} + +%description devel +Double-conversion provides binary-decimal and decimal-binary routines +for IEEE double-precision floating point numbers. The library +consists of conversion routines that have been extracted from the V8 +JavaScript engine. + +This package provides libraries and header files for developing applications +that use double-conversion. + +%prep +%setup -q + +%build +%cmake \ + -DBUILD_SHARED_LIBS:BOOL=ON\ + -DBUILD_TESTING:BOOL=ON +%cmake_build + +%install +%cmake_install + +%check +export LD_LIBRARY_PATH=%{buildroot}%{_libdir} +%ctest + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%license LICENSE +%{_libdir}/libdouble-conversion.so.%{lib_ver}* + +%files devel +%doc AUTHORS Changelog README.md +%{_libdir}/libdouble-conversion.so +%{_libdir}/cmake/%{name}/ +%{_includedir}/%{name}/ + +%changelog