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.xz
13 # Source0-md5: 8ab3bef2864b8c6e6a291f5603141bbd
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: tar >= 1:1.22
21 BuildRequires: texinfo
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The MPFR library is a C library for multiple-precision floating-point
27 computations with exact rounding (also called correct rounding). It is
28 based on the GMP multiple-precision library. The main goal of MPFR is
29 to provide a library for multiple-precision floating-point computation
30 which is both efficient and has a well-defined semantics. It copies
31 the good ideas from the ANSI/IEEE-754 standard for double-precision
32 floating-point arithmetic (53-bit mantissa).
34 %description -l pl.UTF-8
35 Biblioteka MPFR to biblioteka C do obliczeń zmiennoprzecinkowych z
36 wielokrotną precyzją i dokładnym zaokrąglaniem (zwanym także poprawnym
37 zaokrąglaniem). Jest oparta na bibliotece GMP wielokrotnej precyzji.
38 Głównym celem MPFR jest dostarczenie biblioteki do obliczeń
39 zmiennoprzecinkowych wielokrotnej precyzji, która jest wydajna i ma
40 dobrze zdefiniowaną semantykę. Powiela dobre idee ze standardu
41 ANSI/IEEE-754 dla arytmetyki zmiennoprzecinkowej podwójnej precyzji (z
45 Summary: Header files for MPFR library
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MPFR
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: gmp-devel >= 4.1.0
50 Obsoletes: libmpfr-devel
53 Header files for MPFR library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki MPFR.
59 Summary: Static MPFR library
60 Summary(pl.UTF-8): Statyczna biblioteka MPFR
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
67 %description static -l pl.UTF-8
68 Statyczna biblioteka MPFR.
82 # make -j4 creates truncated .lo files
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
95 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
103 %post devel -p /sbin/postshell
104 -/usr/sbin/fix-info-dir -c %{_infodir}
106 %postun devel -p /sbin/postshell
107 -/usr/sbin/fix-info-dir -c %{_infodir}
110 %defattr(644,root,root,755)
111 %doc AUTHORS BUGS ChangeLog FAQ.html NEWS README TODO
112 %attr(755,root,root) %{_libdir}/libmpfr.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libmpfr.so.4
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libmpfr.so
118 %{_libdir}/libmpfr.la
119 %{_includedir}/mpfr.h
120 %{_includedir}/mpf2mpfr.h
121 %{_infodir}/mpfr.info*
124 %defattr(644,root,root,755)