84 lines
2.5 KiB
RPMSpec
84 lines
2.5 KiB
RPMSpec
Name: double-conversion
|
|
Version: 3.1.7
|
|
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: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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
|
|
* Thu Dec 23 2021 Automatic Build System <autodist@mambasoft.it> 3.1.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 05 2021 Automatic Build System <autodist@mambasoft.it> 3.1.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
|
|
- package created using the webbuild interface
|