Accepting request 357294 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/357294 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/double-conversion?expand=0&rev=3
This commit is contained in:
commit
b73ec65958
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:671f0439b4531c7344ace5b2ddaab4bdd860e80cee586efcfebf37b4eedd7cf0
|
||||
size 7014061
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package double-conversion
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,15 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%define lib_ver 1
|
||||
Name: double-conversion
|
||||
Version: 2.0.1
|
||||
%define lib_ver 1
|
||||
Release: 0
|
||||
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Url: http://code.google.com/p/double-conversion
|
||||
Source0: http://double-conversion.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
Url: https://github.com/google/double-conversion
|
||||
Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python
|
||||
BuildRequires: scons >= 2.3.0
|
||||
@ -60,12 +60,13 @@ This package provides libraries and header files for developing applications
|
||||
that use double-conversion.
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}-%{version}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
scons %{?_smp_mflags} \
|
||||
CXXFLAGS="%{optflags}" \
|
||||
VERSION="%{version}"
|
||||
scons \
|
||||
CXXFLAGS="%{optflags}" \
|
||||
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
|
||||
@ -75,11 +76,12 @@ rm -f libdouble-conversion.so*
|
||||
install -d %{buildroot}%{_libdir}
|
||||
install -d %{buildroot}%{_includedir}/%{name}
|
||||
|
||||
scons install \
|
||||
CXXFLAGS="%{optflags}" \
|
||||
libsuffix=%{_lib} \
|
||||
prefix=%{_prefix} \
|
||||
DESTDIR=%{buildroot}
|
||||
scons \
|
||||
CXXFLAGS="%{optflags}" \
|
||||
libsuffix=%{_lib} \
|
||||
prefix=%{_prefix} \
|
||||
DESTDIR=%{buildroot} \
|
||||
install
|
||||
|
||||
cp -p src/*.h %{buildroot}%{_includedir}/%{name}
|
||||
|
||||
@ -90,7 +92,6 @@ scons CXXFLAGS="%{optflags}" run_tests
|
||||
./run_tests --list | tr -d '<' | xargs ./run_tests
|
||||
|
||||
%post -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}%{lib_ver}
|
||||
|
3
v2.0.1.tar.gz
Normal file
3
v2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef
|
||||
size 7014148
|
Loading…
Reference in New Issue
Block a user