package created using the webbuild interface [release 3.1.5-1mamba;Tue May 12 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:55:17 +01:00
parent 81a537a545
commit 1af5e59f83
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# double-conversion
Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.

79
double-conversion.spec Normal file
View File

@ -0,0 +1,79 @@
Name: double-conversion
Version: 3.1.5
Release: 1mamba
Summary: Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/google/double-conversion
## GITSOURCE https://github.com/google/double-conversion.git v3.1.5
Source: https://github.com/google/double-conversion.git/v%{version}/double-conversion-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.
%package -n lib%{name}
Group: System/Libraries
Summary: Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.
%description -n lib%{name}
Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libdouble-conversion.so.*
%doc AUTHORS COPYING LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/double-conversion
%{_includedir}/double-conversion/*.h
%dir %{_libdir}/cmake/double-conversion
%{_libdir}/cmake/double-conversion/double-conversion*.cmake
%{_libdir}/libdouble-conversion.so
%doc README.md
%changelog
* Tue May 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
- package created using the webbuild interface