Репозиторий Sisyphus
Последнее обновление: 22 июня 2018 | Пакетов: 18576 | Посещений: 11736082
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libdouble-conversion

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin