80 lines
2.3 KiB
RPMSpec
80 lines
2.3 KiB
RPMSpec
|
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
|