]> git.pld-linux.org Git - packages/mpfr.git/blame - mpfr.spec
- converted to UTF-8
[packages/mpfr.git] / mpfr.spec
CommitLineData
6ee01af0 1Summary: Multiple-precision floating-point computations library
93e5165e 2Summary(pl.UTF-8): Biblioteka obliczeń zmiennoprzecinkowych wielokrotnej precyzji
6ee01af0 3Name: mpfr
edea4840 4Version: 2.2.1
6ee01af0
JB
5Release: 1
6License: LGPL
7Group: Libraries
8Source0: http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.bz2
edea4840 9# Source0-md5: 40bf06f8081461d8db7d6f4ad5b9f6bd
6ee01af0 10Patch0: %{name}-info.patch
6ee01af0 11URL: http://www.mpfr.org/
6642e189
JB
12BuildRequires: autoconf >= 2.50
13BuildRequires: automake >= 1.6
6ee01af0 14BuildRequires: gmp-devel >= 4.1.0
6642e189 15BuildRequires: libtool
6ee01af0
JB
16BuildRequires: texinfo
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20The MPFR library is a C library for multiple-precision floating-point
21computations with exact rounding (also called correct rounding). It is
22based on the GMP multiple-precision library. The main goal of MPFR is
23to provide a library for multiple-precision floating-point computation
24which is both efficient and has a well-defined semantics. It copies
25the good ideas from the ANSI/IEEE-754 standard for double-precision
26floating-point arithmetic (53-bit mantissa).
27
93e5165e
JR
28%description -l pl.UTF-8
29Biblioteka MPFR to biblioteka C do obliczeń zmiennoprzecinkowych z
30wielokrotną precyzją i dokładnym zaokrąglaniem (zwanym także poprawnym
31zaokrąglaniem). Jest oparta na bibliotece GMP wielokrotnej precyzji.
32Głównym celem MPFR jest dostarczenie biblioteki do obliczeń
33zmiennoprzecinkowych wielokrotnej precyzji, która jest wydajna i ma
34dobrze zdefiniowaną semantykę. Powiela dobre idee ze standardu
35ANSI/IEEE-754 dla arytmetyki zmiennoprzecinkowej podwójnej precyzji (z
3653-bitową mantysą).
6ee01af0
JB
37
38%package devel
39Summary: Header files for MPFR library
93e5165e 40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MPFR
6ee01af0
JB
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: gmp-devel >= 4.1.0
44Obsoletes: libmpfr-devel
45
46%description devel
47Header files for MPFR library.
48
93e5165e
JR
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki MPFR.
6ee01af0
JB
51
52%package static
53Summary: Static MPFR library
93e5165e 54Summary(pl.UTF-8): Statyczna biblioteka MPFR
6ee01af0
JB
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static MPFR library.
60
93e5165e 61%description static -l pl.UTF-8
6ee01af0
JB
62Statyczna biblioteka MPFR.
63
64%prep
65%setup -q
66%patch0 -p1
6ee01af0
JB
67
68%build
6642e189
JB
69%{__libtoolize}
70%{__aclocal}
71%{__autoconf}
72%{__automake}
6ee01af0
JB
73%configure \
74 --enable-shared
edea4840 75
102da87d
ER
76# make -j4 creates truncated .lo files
77%{__make} -j1 all
78%{__make} check
6ee01af0
JB
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
85
102da87d
ER
86rm -f $RPM_BUILD_ROOT%{_infodir}/dir
87
6ee01af0
JB
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
93
94%post devel
95[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
96
97%postun devel
98[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
99
100%files
101%defattr(644,root,root,755)
102%doc AUTHORS BUGS ChangeLog FAQ.html NEWS README TODO
103%attr(755,root,root) %{_libdir}/libmpfr.so.*.*.*
104
105%files devel
106%defattr(644,root,root,755)
107%attr(755,root,root) %{_libdir}/libmpfr.so
108%{_libdir}/libmpfr.la
109%{_includedir}/mpfr.h
110%{_includedir}/mpf2mpfr.h
111%{_infodir}/mpfr.info*
112
113%files static
114%defattr(644,root,root,755)
115%{_libdir}/libmpfr.a
This page took 0.133924 seconds and 4 git commands to generate.