SHA256
6
0
forked from pool/mpfr

Accepting request 367179 from home:AndreasStieger:branches:devel:libraries:c_c++

mpfr 3.1.4

OBS-URL: https://build.opensuse.org/request/show/367179
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=34
This commit is contained in:
2016-03-07 09:54:01 +00:00
committed by Git OBS Bridge
parent 035087ef6c
commit c3847d56ec
7 changed files with 20 additions and 3865 deletions

View File

@@ -17,7 +17,7 @@
Name: mpfr
Version: 3.1.3
Version: 3.1.4
Release: 0
Summary: The GNU multiple-precision floating-point library
License: LGPL-3.0+
@@ -27,7 +27,6 @@ Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2
Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2.asc
Source2: %{name}.keyring
Source3: baselibs.conf
Patch: mpfr-3.1.3-patch1to12.patch
BuildRequires: gmp-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -67,7 +66,6 @@ based on the GMP multiple-precision library.
%prep
%setup -q
%patch -p1
%build
%configure \
@@ -84,16 +82,14 @@ make %{?_smp_mflags}
make check %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
make %{?_smp_mflags} DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libmpfr4 -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun -n libmpfr4 -p /sbin/ldconfig
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -104,7 +100,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files devel
%defattr(-,root,root)
%doc %{_docdir}/mpfr
%doc %{_infodir}/mpfr.info.gz
%{_infodir}/mpfr.info.gz
%{_libdir}/libmpfr.a
%{_libdir}/libmpfr.so
%{_includedir}/mpf2mpfr.h