Accepting request 680145 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/680145 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/double-conversion?expand=0&rev=6
This commit is contained in:
commit
33c9aafe2c
@ -1 +1 @@
|
|||||||
libdouble-conversion1
|
libdouble-conversion2
|
||||||
|
3
double-conversion-3.0.3.tar.gz
Normal file
3
double-conversion-3.0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ac84e00c19fdb5ee20c01feb18b0fa2e938bf4b8cf71d43bab62502c8b65420a
|
||||||
|
size 7019705
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 28 11:26:22 UTC 2019 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- 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
|
Fri Jul 14 20:51:40 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package double-conversion
|
# spec file for package double-conversion
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,23 +12,23 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define lib_ver 1
|
%define lib_ver 2
|
||||||
Name: double-conversion
|
Name: double-conversion
|
||||||
Version: 2.0.1
|
Version: 3.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Binary-decimal and decimal-binary routines for IEEE doubles
|
Summary: Binary-decimal and decimal-binary routines for IEEE doubles
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/google/double-conversion
|
Url: https://github.com/google/double-conversion
|
||||||
Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz
|
Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: scons >= 2.3.0
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Double-conversion provides binary-decimal and decimal-binary routines
|
Double-conversion provides binary-decimal and decimal-binary routines
|
||||||
@ -64,33 +64,15 @@ that use double-conversion.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
scons \
|
%cmake -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON
|
||||||
CXXFLAGS="%{optflags}" \
|
%make_jobs
|
||||||
VERSION="%{version}" \
|
|
||||||
%{?_smp_mflags}
|
|
||||||
|
|
||||||
# With scons 2.3.0 setting the version fails without this
|
|
||||||
# http://comments.gmane.org/gmane.comp.programming.tools.scons.user/24448
|
|
||||||
rm -f libdouble-conversion.so*
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}%{_libdir}
|
%cmake_install
|
||||||
install -d %{buildroot}%{_includedir}/%{name}
|
|
||||||
|
|
||||||
scons \
|
|
||||||
CXXFLAGS="%{optflags}" \
|
|
||||||
libsuffix=%{_lib} \
|
|
||||||
prefix=%{_prefix} \
|
|
||||||
DESTDIR=%{buildroot} \
|
|
||||||
install
|
|
||||||
|
|
||||||
cp -p src/*.h %{buildroot}%{_includedir}/%{name}
|
|
||||||
|
|
||||||
rm %{buildroot}%{_libdir}/lib%{name}*.a
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
scons CXXFLAGS="%{optflags}" run_tests
|
export LD_LIBRARY_PATH=$PWD/build/double-conversion
|
||||||
./run_tests --list | tr -d '<' | xargs ./run_tests
|
%ctest
|
||||||
|
|
||||||
%post -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
%post -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
%postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
||||||
@ -101,8 +83,10 @@ scons CXXFLAGS="%{optflags}" run_tests
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS Changelog LICENSE README
|
%doc AUTHORS Changelog README.md
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/libdouble-conversion.so
|
%{_libdir}/libdouble-conversion.so
|
||||||
|
%{_libdir}/cmake/%{name}/
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef
|
|
||||||
size 7014148
|
|
Loading…
Reference in New Issue
Block a user