[521] | 1 | Summary: A C library for multiple-precision floating-point computations |
---|
| 2 | Name: mpfr |
---|
[10250] | 3 | Version: 3.1.4 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | URL: http://www.mpfr.org/ |
---|
[5102] | 6 | Source0: http://www.mpfr.org/mpfr-current/mpfr-%{version}.tar.xz |
---|
[7961] | 7 | License: LGPLv3+ |
---|
[521] | 8 | Group: System Environment/Libraries |
---|
[3580] | 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | Packager: inagaki, Takemikaduchi, kenta |
---|
[521] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: gmp-devel |
---|
[7961] | 14 | Requires: gmp >= 4.2.3 |
---|
[521] | 15 | |
---|
| 16 | %description |
---|
| 17 | The MPFR library is a C library for multiple-precision floating-point |
---|
| 18 | computations with "correct rounding". The MPFR is efficient and |
---|
| 19 | also has a well-defined semantics. It copies the good ideas from the |
---|
| 20 | ANSI/IEEE-754 standard for double-precision floating-point arithmetic |
---|
| 21 | (53-bit mantissa). MPFR is based on the GMP multiple-precision library. |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Development tools A C library for mpfr library |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version}-%{release} |
---|
[7961] | 27 | Requires: gmp-devel >= 4.2.3 |
---|
[521] | 28 | Requires(post): /sbin/install-info |
---|
| 29 | Requires(preun): /sbin/install-info |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | The static libraries, header files and documentation for using the MPFR |
---|
| 33 | multiple-precision floating-point library in applications. |
---|
| 34 | |
---|
| 35 | If you want to develop applications which will use the MPFR library, |
---|
| 36 | you'll need to install the mpfr-devel package. You'll also need to |
---|
| 37 | install the mpfr package. |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | |
---|
| 44 | %configure --disable-assert |
---|
| 45 | make %{?_smp_mflags} |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 50 | pushd $RPM_BUILD_ROOT%{_infodir} |
---|
| 51 | #iconv -f iso-8859-1 -t utf-8 mpfr.info >mpfr.info.aux |
---|
| 52 | iconv -f iso-8859-1 -t euc-jp mpfr.info >mpfr.info.aux |
---|
| 53 | mv mpfr.info.aux mpfr.info |
---|
| 54 | popd |
---|
| 55 | rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la |
---|
| 56 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
| 57 | rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.a |
---|
| 58 | cd .. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %check |
---|
| 62 | make %{?_smp_mflags} check |
---|
| 63 | |
---|
| 64 | %post -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %post devel |
---|
| 69 | /sbin/install-info %{_infodir}/mpfr.info.gz %{_infodir}/dir || : |
---|
| 70 | |
---|
| 71 | %preun devel |
---|
| 72 | if [ "$1" = 0 ]; then |
---|
| 73 | /sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || : |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | %clean |
---|
| 77 | rm -rf $RPM_BUILD_ROOT |
---|
| 78 | |
---|
| 79 | %files |
---|
| 80 | %defattr(-,root,root,-) |
---|
[5102] | 81 | %doc COPYING COPYING.LESSER NEWS README |
---|
[521] | 82 | %{_libdir}/libmpfr.so.* |
---|
[871] | 83 | %{_datadir}/doc/mpfr |
---|
[521] | 84 | |
---|
| 85 | %files devel |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | %{_libdir}/libmpfr.so |
---|
| 88 | %{_includedir}/*.h |
---|
| 89 | %{_infodir}/mpfr.info* |
---|
| 90 | |
---|
| 91 | %changelog |
---|
[10250] | 92 | * Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
| 93 | - update to 3.1.4 |
---|
| 94 | |
---|
[9869] | 95 | * Sun Dec 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2 |
---|
| 96 | - rebuild with VineSeed environment |
---|
| 97 | |
---|
[7961] | 98 | * Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 99 | - update to 3.1.2 |
---|
| 100 | |
---|
[5102] | 101 | * Sun Oct 30 2011 NAKAMURA Kenta <kenta@vinelinux.org> 3.1.0-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[3580] | 104 | * Tue Apr 19 2011 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.2-2 |
---|
| 105 | - rebuild for Vine 6 |
---|
| 106 | |
---|
[871] | 107 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1 |
---|
| 108 | - new upstream release |
---|
| 109 | - add Requires: gmp-devel (devel package) |
---|
| 110 | |
---|
[521] | 111 | * Sat Nov 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
| 114 | * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1 |
---|
| 115 | - new upstream release |
---|
| 116 | - applied new versioning policy |
---|
| 117 | |
---|
| 118 | * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1vl1 |
---|
| 119 | - initial build for Vine Linux |
---|
| 120 | |
---|
| 121 | * Thu Sep 20 2007 Ivana Varekova <varekova@redhat.com> 2.3.0-1 |
---|
| 122 | - update to 2.3.0 |
---|
| 123 | - fix license flag |
---|
| 124 | |
---|
| 125 | * Mon Aug 20 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-2 |
---|
| 126 | - spec file cleanup (#253440) |
---|
| 127 | |
---|
[7961] | 128 | * Tue Jan 16 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-1 |
---|
[521] | 129 | - started |
---|
| 130 | |
---|