From 1af5e59f838d672ccebbbb4f32140cbce0405dcd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:55:17 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.1.5-1mamba;Tue May 12 2020] --- README.md | 2 ++ double-conversion.spec | 79 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 double-conversion.spec diff --git a/README.md b/README.md index ae91e99..b146729 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # double-conversion +Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles. + diff --git a/double-conversion.spec b/double-conversion.spec new file mode 100644 index 0000000..ae8afb5 --- /dev/null +++ b/double-conversion.spec @@ -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 +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 3.1.5-1mamba +- package created using the webbuild interface