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