3 %bcond_without tests # don't perform make check
5 Summary: Multiple-precision floating-point computations library
6 Summary(pl.UTF-8): Biblioteka obliczeń zmiennoprzecinkowych wielokrotnej precyzji
12 Source0: http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.bz2
13 # Source0-md5: cf7c743e4be122e63eb6f372fc58b657
14 Patch0: %{name}-info.patch
15 URL: http://www.mpfr.org/
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake >= 1.6
18 BuildRequires: gmp-devel >= 4.1.0
19 BuildRequires: libtool
20 BuildRequires: texinfo
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The MPFR library is a C library for multiple-precision floating-point
25 computations with exact rounding (also called correct rounding). It is
26 based on the GMP multiple-precision library. The main goal of MPFR is
27 to provide a library for multiple-precision floating-point computation
28 which is both efficient and has a well-defined semantics. It copies
29 the good ideas from the ANSI/IEEE-754 standard for double-precision
30 floating-point arithmetic (53-bit mantissa).
32 %description -l pl.UTF-8
33 Biblioteka MPFR to biblioteka C do obliczeń zmiennoprzecinkowych z
34 wielokrotną precyzją i dokładnym zaokrąglaniem (zwanym także poprawnym
35 zaokrąglaniem). Jest oparta na bibliotece GMP wielokrotnej precyzji.
36 Głównym celem MPFR jest dostarczenie biblioteki do obliczeń
37 zmiennoprzecinkowych wielokrotnej precyzji, która jest wydajna i ma
38 dobrze zdefiniowaną semantykę. Powiela dobre idee ze standardu
39 ANSI/IEEE-754 dla arytmetyki zmiennoprzecinkowej podwójnej precyzji (z
43 Summary: Header files for MPFR library
44 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MPFR
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: gmp-devel >= 4.1.0
48 Obsoletes: libmpfr-devel
51 Header files for MPFR library.
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki MPFR.
57 Summary: Static MPFR library
58 Summary(pl.UTF-8): Statyczna biblioteka MPFR
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
65 %description static -l pl.UTF-8
66 Statyczna biblioteka MPFR.
80 # make -j4 creates truncated .lo files
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
93 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
105 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108 %defattr(644,root,root,755)
109 %doc AUTHORS BUGS ChangeLog FAQ.html NEWS README TODO
110 %attr(755,root,root) %{_libdir}/libmpfr.so.*.*.*
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libmpfr.so
115 %{_libdir}/libmpfr.la
116 %{_includedir}/mpfr.h
117 %{_includedir}/mpf2mpfr.h
118 %{_infodir}/mpfr.info*
121 %defattr(644,root,root,755)