cln/cln.spec

100 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: cln
Version: 1.3.6
Release: 1mamba
Summary: Class Library for Numbers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.ginac.de/CLN/
Source: http://www.ginac.de/CLN/cln-%{version}.tar.bz2
Patch0: %{name}-1.3.2-Pre-processor-fix-for-ARM.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgmp-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_bindir}/pi
rm -f %{buildroot}%{_mandir}/man1/pi.*
%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.la
%{_libdir}/libcln.so
%{_libdir}/pkgconfig/cln.pc
%{_infodir}/cln.info.*
%doc ChangeLog NEWS README TODO
%changelog
* 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