SPECS: mpfr.spec (NEW) - new, separate from gmp now

qboosh qboosh at pld-linux.org
Sun Apr 23 21:13:38 CEST 2006


Author: qboosh                       Date: Sun Apr 23 19:13:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, separate from gmp now

---- Files affected:
SPECS:
   mpfr.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mpfr.spec
diff -u /dev/null SPECS/mpfr.spec:1.1
--- /dev/null	Sun Apr 23 21:13:38 2006
+++ SPECS/mpfr.spec	Sun Apr 23 21:13:33 2006
@@ -0,0 +1,116 @@
+# $Revision$, $Date$
+Summary:	Multiple-precision floating-point computations library
+Summary(pl):	Biblioteka obliczeń zmiennoprzecinkowych wielokrotnej precyzji
+Name:		mpfr
+Version:	2.2.0
+Release:	1
+License:	LGPL
+Group:		Libraries
+Source0:	http://www.mpfr.org/mpfr-current/%{name}-%{version}.tar.bz2
+# Source0-md5:	1a81f721ee78cb027f6c41a243d3a33d
+Patch0:		%{name}-info.patch
+# http://www.mpfr.org/mpfr-current/patches
+Patch1:		%{name}-site.patch
+URL:		http://www.mpfr.org/
+BuildRequires:	gmp-devel >= 4.1.0
+BuildRequires:	texinfo
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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. The main goal of MPFR is
+to provide a library for multiple-precision floating-point computation
+which is both efficient and has a well-defined semantics. It copies
+the good ideas from the ANSI/IEEE-754 standard for double-precision
+floating-point arithmetic (53-bit mantissa).
+
+%description -l pl
+Biblioteka MPFR to biblioteka C do obliczeń zmiennoprzecinkowych z
+wielokrotną precyzją i dokładnym zaokrąglaniem (zwanym także poprawnym
+zaokrąglaniem). Jest oparta na bibliotece GMP wielokrotnej precyzji.
+Głównym celem MPFR jest dostarczenie biblioteki do obliczeń
+zmiennoprzecinkowych wielokrotnej precyzji, która jest wydajna i ma
+dobrze zdefiniowaną semantykę. Powiela dobre idee ze standardu
+ANSI/IEEE-754 dla arytmetyki zmiennoprzecinkowej podwójnej precyzji (z
+53-bitową mantysą).
+
+%package devel
+Summary:	Header files for MPFR library
+Summary(pl):	Pliki nagłówkowe biblioteki MPFR
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	gmp-devel >= 4.1.0
+Obsoletes:	libmpfr-devel
+
+%description devel
+Header files for MPFR library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki MPFR.
+
+%package static
+Summary:	Static MPFR library
+Summary(pl):	Statyczna biblioteka MPFR
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static MPFR library.
+
+%description static -l pl
+Statyczna biblioteka MPFR.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+%configure \
+	--enable-shared
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%post devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS ChangeLog FAQ.html NEWS README TODO
+%attr(755,root,root) %{_libdir}/libmpfr.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmpfr.so
+%{_libdir}/libmpfr.la
+%{_includedir}/mpfr.h
+%{_includedir}/mpf2mpfr.h
+%{_infodir}/mpfr.info*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmpfr.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/23 19:13:33  qboosh
+- new, separate from gmp now
================================================================


More information about the pld-cvs-commit mailing list