cln/cln.spec

91 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: cln
Version: 1.3.3
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
* 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