Sisyphus repository
Last update: 11 december 2018 | SRPMs: 18648 | Visits: 12688480
en ru br
ALT Linux repos
S:3.0.0-alt1.S1

Group :: System/Libraries
RPM: libdouble-conversion

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname double-conversion

Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
Name: lib%oname
Version: 3.0.0
Release: alt1%ubt
License: BSD
Group: System/Libraries
Url: https://github.com/floitsch/double-conversion

Source: %name-%version.tar

BuildRequires(pre): rpm-build-ubt
BuildRequires: cmake ctest
BuildRequires: gcc-c++

%description
Provides binary-decimal and decimal-binary routines for IEEE doubles.
The library consists of efficient conversion routines that have been
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.

%package devel
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
Group: Development/C
Requires: %name = %EVR

%description devel
Contains header files for developing applications that use the %name
library.

%prep
%setup

%build
%cmake_insource \
       -DBUILD_SHARED_LIBS=ON \
       -DBUILD_STATIC_LIBS=OFF \
       -DBUILD_TESTING:BOOL=ON

%make_build

%install
%makeinstall_std

%check
export LD_LIBRARY_PATH=%buildroot%_libdir
%make_build test

%files
%doc LICENSE README.md AUTHORS Changelog
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_libdir/cmake/%oname
%_includedir/%oname

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin