2024-01-06 05:05:25 +01:00
|
|
|
Name: libmpc
|
2024-01-06 05:05:25 +01:00
|
|
|
Version: 1.1.0
|
2024-01-06 05:05:25 +01:00
|
|
|
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/
|
2024-01-06 05:05:25 +01:00
|
|
|
Source: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
|
|
|
|
#Source: http://www.multiprecision.org/mpc/download/mpc-%{version}.tar.gz
|
2024-01-06 05:05:25 +01:00
|
|
|
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
|
2024-01-06 05:05:25 +01:00
|
|
|
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
|
2024-01-06 05:05:25 +01:00
|
|
|
* Sun Mar 08 2015 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:05:25 +01:00
|
|
|
* 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
|