89 lines
2.3 KiB
RPMSpec
89 lines
2.3 KiB
RPMSpec
|
Name: libmpc
|
||
|
Version: 1.0.2
|
||
|
Release: 1mamba
|
||
|
Summary: A C library for the arithmetic of complex numbers
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.multiprecision.org/
|
||
|
Source: http://www.multiprecision.org/mpc/download/mpc-%{version}.tar.gz
|
||
|
Patch0: %{name}-0.8.1-gmp501.patch
|
||
|
License: LGPL
|
||
|
Requires(post):%{__install_info}
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgmp-devel
|
||
|
BuildRequires: libmpfr-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Devel package for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.
|
||
|
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n mpc-%{version}
|
||
|
#%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post
|
||
|
%install_info mpc.info
|
||
|
exit 0
|
||
|
|
||
|
%preun
|
||
|
%uninstall_info mpc.info
|
||
|
exit 0
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libmpc.so.*
|
||
|
%{_infodir}/mpc.info.gz
|
||
|
%doc AUTHORS COPYING.LESSER
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libmpc.a
|
||
|
%{_libdir}/libmpc.la
|
||
|
%{_libdir}/libmpc.so
|
||
|
%{_includedir}/*.h
|
||
|
%doc NEWS README TODO
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jan 27 2014 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jul 15 2010 Automatic Build System <autodist@mambasoft.it> 0.8.1-4mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Thu Jul 15 2010 Automatic Build System <autodist@mambasoft.it> 0.8.1-3mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 0.8.1-2mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Sat May 08 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
|
||
|
- package created by autospec
|