SHA256
6
0
forked from pool/mpfr

Accepting request 25269 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/mpfr based on submit request 25269 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/25269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpfr?expand=0&rev=18
This commit is contained in:
OBS User autobuild
2009-12-04 08:51:45 +00:00
committed by Git OBS Bridge
parent 7dd1b3baa0
commit 1bef109409
5 changed files with 19 additions and 299 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package mpfr (Version 2.4.1)
# spec file for package mpfr (Version 2.4.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,15 +21,14 @@
Name: mpfr
BuildRequires: gmp-devel
License: LGPL v2.1 or later
License: LGPLv2.1+
Group: Development/Libraries/C and C++
AutoReqProv: on
Version: 2.4.1
Release: 2
Version: 2.4.2
Release: 1
Summary: The MPFR multiple-precision floating-point library
Url: http://www.mpfr.org/
Source: mpfr-%{version}.tar.bz2
Patch1: mpfr-%{version}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -53,7 +52,7 @@ Authors:
Patrick P<EFBFBD>lissier
%package -n libmpfr1
License: LGPL v2.1 or later
License: LGPLv2.1+
Summary: MPFR multiple-precision floating-point computation shared library
Group: Development/Libraries/C and C++
AutoReqProv: on
@@ -76,7 +75,7 @@ Authors:
Patrick P<EFBFBD>lissier
%package devel
License: LGPL v2.1 or later
License: LGPLv2.1+
Summary: MPFR multiple-precision floating-point library development files
Group: Development/Libraries/C and C++
Requires: libmpfr1 = %{version} gmp-devel
@@ -98,14 +97,14 @@ Authors:
%prep
%setup -q
%patch1 -p1
%build
%configure \
%if 0%{suse_version} > 1000
--enable-thread-safe \
%endif
--enable-shared
--enable-shared \
--docdir=%{_docdir}/mpfr
make %{?jobs:-j%jobs}
%check
@@ -113,7 +112,7 @@ make check %{?jobs:-j%jobs}
%install
%makeinstall
rm ${RPM_BUILD_ROOT}/%{_libdir}/lib*.la
rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
%post -n libmpfr1
%run_ldconfig
@@ -136,7 +135,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root)
%doc AUTHORS NEWS COPYING.LIB
%doc %{_docdir}/mpfr
%doc %{_infodir}/mpfr.info.gz
%{_libdir}/libmpfr.a
%{_libdir}/libmpfr.so