Package libdouble-conversion: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | %define _unpackaged_files_terminate_build 1 %define oname double-conversion %define soname 3 Name: lib%oname Version: 3.3.0 Release: alt1 Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles License: BSD Group: System/Libraries Url: https://github.com/floitsch/double-conversion Source: %name-%version.tar 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 -n lib%oname%soname Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles Group: System/Libraries %description -n lib%oname%soname 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: lib%oname%soname = %EVR %description devel Contains header files for developing applications that use the %name library. %prep %setup %ifarch %e2k sed -i 's,defined(__riscv),& || defined(__e2k__),' double-conversion/utils.h %endif %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 -n lib%oname%soname %doc LICENSE README.md AUTHORS Changelog %_libdir/*.so.%{soname} %_libdir/*.so.%{soname}.* %files devel %_libdir/*.so %_libdir/cmake/%oname %_includedir/%oname %changelog * Thu Nov 02 2023 Anton Farygin <rider@altlinux.ru> 3.3.0-alt1 - 3.2.1 -> 3.3.0 * Thu Apr 27 2023 Anton Farygin <rider@altlinux.ru> 3.2.1-alt1 - 3.2.0 -> 3.2.1 * Thu Apr 06 2023 Anton Farygin <rider@altlinux.ru> 3.2.0-alt1 - 3.1.5 -> 3.2.0 * Fri May 14 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 3.1.5-alt1 - Updated to upstream version 3.1.5. - Renamed packages due to Shared Libs Policy. * Mon Sep 02 2019 Michael Shigorin <mike@altlinux.org> 3.0.0-alt4 - Added e2k support (patch suggested upstream) * Sun Jun 23 2019 Igor Vlasenko <viy@altlinux.ru> 3.0.0-alt3 - NMU: remove rpm-build-ubt from BR: * Sat Jun 15 2019 Igor Vlasenko <viy@altlinux.ru> 3.0.0-alt2 - NMU: remove %%ubt from release * Tue May 15 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 3.0.0-alt1 - Updated to upstream version 3.0.0. * Mon Feb 13 2017 Alexey Shabalin <shaba@altlinux.ru> 2.0.1-alt1 - Initial build - master snapshot d8d4e668ee1e6e10b728f0671a89b07d7c4d45be |