source: projects/specs/trunk/m/mpfr/mpfr-vl.spec @ 10250

Revision 10250, 3.4 KB checked in by Takemikaduchi, 8 years ago (diff)

binutils-2.26,gcc-4.9.3,glibc-2.23

Line 
1Summary: A C library for multiple-precision floating-point computations
2Name: mpfr
3Version: 3.1.4
4Release: 1%{?_dist_release}
5URL: http://www.mpfr.org/
6Source0: http://www.mpfr.org/mpfr-current/mpfr-%{version}.tar.xz
7License: LGPLv3+
8Group: System Environment/Libraries
9Vendor: Project Vine
10Distribution: Vine Linux
11Packager: inagaki, Takemikaduchi, kenta
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: gmp-devel
14Requires: gmp >= 4.2.3
15
16%description
17The MPFR library is a C library for multiple-precision floating-point
18computations with "correct rounding". The MPFR is efficient and
19also has a well-defined semantics. It copies the good ideas from the
20ANSI/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
24Summary: Development tools A C library for mpfr library
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27Requires: gmp-devel >= 4.2.3
28Requires(post): /sbin/install-info
29Requires(preun): /sbin/install-info
30
31%description devel
32The static libraries, header files and documentation for using the MPFR
33multiple-precision floating-point library in applications.
34
35If you want to develop applications which will use the MPFR library,
36you'll need to install the mpfr-devel package.  You'll also need to
37install the mpfr package.
38
39%prep
40%setup -q
41
42%build
43
44%configure --disable-assert
45make %{?_smp_mflags}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make install DESTDIR=$RPM_BUILD_ROOT
50pushd $RPM_BUILD_ROOT%{_infodir}
51#iconv  -f iso-8859-1 -t utf-8 mpfr.info >mpfr.info.aux
52iconv  -f iso-8859-1 -t euc-jp mpfr.info >mpfr.info.aux
53mv mpfr.info.aux mpfr.info
54popd
55rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
56rm -f $RPM_BUILD_ROOT%{_infodir}/dir
57rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.a
58cd ..
59
60
61%check
62make %{?_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
72if [ "$1" = 0 ]; then
73   /sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
74fi
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(-,root,root,-)
81%doc COPYING COPYING.LESSER NEWS README
82%{_libdir}/libmpfr.so.*
83%{_datadir}/doc/mpfr
84
85%files devel
86%defattr(-,root,root,-)
87%{_libdir}/libmpfr.so
88%{_includedir}/*.h
89%{_infodir}/mpfr.info*
90
91%changelog
92* Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
93- update to 3.1.4
94
95* Sun Dec 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
96- rebuild with VineSeed environment
97
98* Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
99- update to 3.1.2
100
101* Sun Oct 30 2011 NAKAMURA Kenta <kenta@vinelinux.org> 3.1.0-1
102- new upstream release
103
104* Tue Apr 19 2011 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.2-2
105- rebuild for Vine 6
106
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
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
128* Tue Jan 16 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-1
129- started
130
Note: See TracBrowser for help on using the repository browser.