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

Revision 12546, 3.9 KB checked in by tomop, 3 years ago (diff)

updated 28 packages

autoconf-2.71-1

automake-1.16.3-1

bison-3.7.5-1

e2fsprogs-1.46.1-1

findutils-4.8.0-1

galera-26.4.7-1

gawk-5.1.0-1

gdbm-1.19-1

gjs-1.66.2-1

gnome-initial-setup-3.36.4-2

grep-3.6-1

help2man-1.48.1-1

ipvsadm-1.31-1

less-563-1

libidn-1.36-1

make-4.3-1

mariadb-10.5.9-1

mozjs78-78.7.0-1

mpfr-4.1.0-1

nettle-3.7.1-1

parted-3.4-1

pcre2-10.36-1

polkit-0.118-1

strongswan-5.9.1-1

tar-1.34-1

trousers-0.3.15-1

wget-1.21-1

wireshark-3.4.3-1

Line 
1Summary: A C library for multiple-precision floating-point computations
2Name: mpfr
3Version: 4.1.0
4Release: 1%{?_dist_release}
5Group: system
6Vendor: Project Vine
7Distribution: Vine Linux
8Packager: inagaki, kenta
9
10License: LGPLv3+
11URL: https://www.mpfr.org/
12Source0: https://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.xz
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: gmp-devel
16Requires: gmp >= 4.2.3
17
18%description
19The MPFR library is a C library for multiple-precision floating-point
20computations with "correct rounding". The MPFR is efficient and
21also has a well-defined semantics. It copies the good ideas from the
22ANSI/IEEE-754 standard for double-precision floating-point arithmetic
23(53-bit mantissa). MPFR is based on the GMP multiple-precision library.
24
25
26%package devel
27Summary: Development tools A C library for mpfr library
28Group: programming
29Requires: %{name} = %{version}-%{release}
30Requires: gmp-devel >= 4.2.3
31Requires(post): /sbin/install-info
32Requires(preun): /sbin/install-info
33
34%description devel
35The static libraries, header files and documentation for using the MPFR
36multiple-precision floating-point library in applications.
37
38If you want to develop applications which will use the MPFR library,
39you'll need to install the mpfr-devel package.  You'll also need to
40install the mpfr package.
41
42
43%debug_package
44
45
46%prep
47%autosetup -p1
48
49
50%build
51%configure --disable-assert --disable-static
52
53# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
54# -Wl,--as-needed after all the libraries.
55sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
56    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
57    -e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \
58    -i libtool
59
60make %{?_smp_mflags}
61
62
63%install
64rm -rf $RPM_BUILD_ROOT
65%make_install
66rm -f %{buildroot}%{_libdir}/*.la
67rm -f %{buildroot}%{_infodir}/dir
68
69#these go into licenses, not doc
70rm -f %{buildroot}%{_datadir}/doc/COPYING{,.LESSER}
71
72
73%check
74export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
75make %{?_smp_mflags} check
76
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80
81%post devel
82/sbin/install-info %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
83
84%preun devel
85if [ "$1" = 0 ]; then
86   /sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
87fi
88
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93
94%files
95%defattr(-,root,root,-)
96%license COPYING COPYING.LESSER
97%doc NEWS README
98%{_libdir}/libmpfr.so.*
99%{_datadir}/doc/mpfr
100
101%files devel
102%defattr(-,root,root,-)
103%{_libdir}/libmpfr.so
104%{_libdir}/pkgconfig/*
105%{_includedir}/*.h
106%{_infodir}/mpfr.info*
107
108
109%changelog
110* Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.0-1
111- new upstream release.
112- dropped Patch0: fixed in upstream.
113
114* Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.2-1
115- new upstream release.
116
117* Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
118- update to 3.1.4
119
120* Sun Dec 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
121- rebuild with VineSeed environment
122
123* Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
124- update to 3.1.2
125
126* Sun Oct 30 2011 NAKAMURA Kenta <kenta@vinelinux.org> 3.1.0-1
127- new upstream release
128
129* Tue Apr 19 2011 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.2-2
130- rebuild for Vine 6
131
132* Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
133- new upstream release
134- add Requires: gmp-devel (devel package)
135
136* Sat Nov 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
137- new upstream release
138
139* Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
140- new upstream release
141- applied new versioning policy
142
143* Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1vl1
144- initial build for Vine Linux
145
146* Thu Sep 20 2007 Ivana Varekova <varekova@redhat.com> 2.3.0-1
147- update to 2.3.0
148- fix license flag
149
150* Mon Aug 20 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-2
151- spec file cleanup (#253440)
152
153* Tue Jan 16 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-1
154- started
155
Note: See TracBrowser for help on using the repository browser.