cln/cln.spec

102 lines
2.6 KiB
RPMSpec

Name: cln
Version: 1.3.7
Release: 1mamba
Summary: Class Library for Numbers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.ginac.de/CLN/
Source: http://www.ginac.de/CLN/cln-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgmp-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
%description
CLN is a library for efficient computations with all kinds of numbers in arbitrary precision.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
CLN is a library for efficient computations with all kinds of numbers in arbitrary precision.
This package contains header files need for development.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_bindir}/pi
rm -f %{buildroot}%{_mandir}/man1/pi.*
rm -f %{buildroot}%{_infodir}/dir
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%preun -p /sbin/ldconfig
%post devel
%install_info cln.info
exit 0
%preun devel
%uninstall_info cln.info
exit 0
%files
%defattr(-,root,root)
%{_libdir}/libcln.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/cln
%{_includedir}/cln/*.h
%{_libdir}/libcln.a
%{_libdir}/libcln.so
%{_libdir}/pkgconfig/cln.pc
%{_infodir}/cln.info.*
%doc ChangeLog NEWS README TODO
%changelog
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 1.3.7-1mamba
- automatic version update by autodist
* Sat Dec 07 2019 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
- automatic version update by autodist
* Wed Nov 20 2019 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
- automatic version update by autodist
* Sat Nov 01 2014 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic update by autodist
* Mon Jul 22 2013 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* Thu May 12 2011 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic update by autodist
* Sun Nov 21 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
- rename specfile like package name
* Sat Aug 14 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.3.1-1mamba
- package created by autospec