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

Revision 7961, 3.2 KB checked in by Takemikaduchi, 10 years ago (diff)

upgrade toolchain + xserver-1.14.4

Line 
1Summary: A C library for multiple-precision floating-point computations
2Name: mpfr
3Version: 3.1.2
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* Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
93- update to 3.1.2
94
95* Sun Oct 30 2011 NAKAMURA Kenta <kenta@vinelinux.org> 3.1.0-1
96- new upstream release
97
98* Tue Apr 19 2011 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.2-2
99- rebuild for Vine 6
100
101* Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
102- new upstream release
103- add Requires: gmp-devel (devel package)
104
105* Sat Nov 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
106- new upstream release
107
108* Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
109- new upstream release
110- applied new versioning policy
111
112* Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1vl1
113- initial build for Vine Linux
114
115* Thu Sep 20 2007 Ivana Varekova <varekova@redhat.com> 2.3.0-1
116- update to 2.3.0
117- fix license flag
118
119* Mon Aug 20 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-2
120- spec file cleanup (#253440)
121
122* Tue Jan 16 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-1
123- started
124
Note: See TracBrowser for help on using the repository browser.