%define keepstatic 1
-Name: mpfr
+Name: mpfr-static
Version: 3.1.2
Release: 0
License: LGPL-3.0+
standard for double-precision floating-point arithmetic (53-bit
mantissa).
-%package -n libmpfr
-Summary: The GNU multiple-precision floating-point shared library
-Group: Base/Libraries
-
-%description -n libmpfr
-The MPFR library is a C library for multiple-precision floating-point
-computations with exact rounding (also called correct rounding). It is
-based on the GMP multiple-precision library.
-
-%package devel
-Summary: Development files for the GNU multiple-precision floating-point library
-Group: Base/Libraries
-Requires: gmp-devel
-Requires: libmpfr = %{version}
-
-%description devel
-Development files for the GNU multiple-precision floating-point library.
-
-The MPFR library is a C library for multiple-precision floating-point
-computations with exact rounding (also called correct rounding). It is
-based on the GMP multiple-precision library.
-
%prep
%setup -q
cp %{SOURCE1001} .
%build
%configure \
--enable-thread-safe \
- --enable-shared
+ --enable-static \
+ --disable-shared
%__make %{?_smp_mflags}
%check
%remove_docs
-%post -n libmpfr -p /sbin/ldconfig
-
-%postun -n libmpfr -p /sbin/ldconfig
-
-
-%files -n libmpfr
-%manifest %{name}.manifest
-%license COPYING.LESSER COPYING
-%defattr(-,root,root)
-%{_libdir}/libmpfr.so.4*
-
-%files devel
-%manifest %{name}.manifest
+%files
+%manifest mpfr.manifest
%defattr(-,root,root)
%{_libdir}/libmpfr.a
-%{_libdir}/libmpfr.so
%{_includedir}/mpf2mpfr.h
%{_includedir}/mpfr.h