source: projects/specs/trunk/lib/libm/libmpc/libmpc-vl.spec @ 12335

Revision 12335, 3.9 KB checked in by tomop, 4 years ago (diff)

updated 14 packages

chkconfig-1.3.61-3

diffutils-3.7-1

findutils-4.7.0-1

libmpc-1.1.0-1

libuser-0.62-1

libutempter-1.1.6-2

mpfr-4.0.2-1

mpfr3-3.1.6-1

psmisc-23.2-1

sed-4.8-1

shadow-utils-4.8-1

tcsh-6.22.02-1

texinfo-6.7-1

usermode-1.109-2

Line 
1Summary: C library for multiple precision complex arithmetic
2Name: libmpc
3Version: 1.1.0
4Release: 1%{?_dist_release}
5Group: System Environment/Libraries
6
7Vendor: Project Vine
8Distribution: Vine Linux
9
10License: LGPLv3+
11URL: http://www.multiprecision.org/
12Source0: https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14BuildRequires: gmp-devel >= 4.3.2
15BuildRequires: mpfr-devel >= 2.4.2
16BuildRequires: grep
17BuildRequires: texinfo
18
19%description
20MPC is a C library for the arithmetic of complex numbers with
21arbitrarily high precision and correct rounding of the result. It is
22built upon and follows the same principles as Mpfr.
23
24%package devel
25Summary: Header and shared development libraries for MPC
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28Requires: gmp-devel
29Requires: mpfr-devel
30Requires(post): /sbin/install-info
31Requires(preun): /sbin/install-info
32
33%description devel
34Header files and shared object symlinks for MPC is a C library.
35
36%prep
37%setup -q -n mpc-%{version}
38
39%build
40export CPPFLAGS="%{optflags} -std=gnu99"
41export CFLAGS="%{optflags} -std=gnu99"
42export EGREP=egrep
43
44%configure --disable-static
45make %{?_smp_mflags}
46
47%check
48make check
49
50%install
51rm -rf %{buildroot}
52make install DESTDIR=%{buildroot}
53
54rm -f %{buildroot}/%{_libdir}/libmpc.{l,}a
55rm -f %{buildroot}/%{_infodir}/dir
56
57%clean
58rm -rf %{buildroot}
59
60%post -p /sbin/ldconfig
61%postun -p /sbin/ldconfig
62
63%post devel
64if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
65   /sbin/install-info %{_infodir}/mpc.info.gz %{_infodir}/dir || :
66fi
67
68%preun devel
69if [ $1 = 0 ]; then
70   if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
71      /sbin/install-info --delete %{_infodir}/mpc.info.gz %{_infodir}/dir || :
72   fi
73fi
74
75%files
76%defattr(-,root,root,-)
77%license COPYING.LESSER
78%doc README NEWS
79%{_libdir}/libmpc.so.*
80
81%files devel
82%defattr(-,root,root,-)
83%{_libdir}/libmpc.so
84%{_includedir}/mpc.h
85%{_infodir}/*.info*
86
87%changelog
88* Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.0-1
89- new upstream release.
90
91* Fri May 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1
92- updated to 1.0.3
93
94* Fri Sep 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1
95- updated to 1.0.2
96- change Group to System Environment/Libraries (libmpc)
97
98* Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.1-1
99- update to 1.0.1
100
101* Tue Nov 01 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9-2
102- initial build for Vine Linux
103
104* Wed Jun 22 2011  <pmachata@redhat.com> - 0.9-1
105- Upstream 0.9
106
107* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-0.3.svn855
108- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
109
110* Tue Nov 30 2010 Petr Machata <pmachata@redhat.com> - 0.8.3-0.2.svn855
111- Bump for rebuild against the new mpfr
112
113* Fri Nov 19 2010 Petr Machata <pmachata@redhat.com> - 0.8.3-0.1.svn855
114- Devel updates (to-be-0.8.3, SVN release 855)
115  - New functions mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc
116  - Speed-up mpc_pow_si and mpc_pow_z
117  - Bug fixes in trigonometric functions, exp, sqrt
118- Upstream 0.8.2
119  - Speed-up mpc_pow_ui
120- Adjust BuildRequires
121- Resolves: #653931
122
123* Wed Jan 20 2010 Petr Machata <pmachata@redhat.com> - 0.8.1-1
124- Upstream 0.8.1
125  - acosh, asinh, atanh: swap of precisions between real and imaginary parts
126  - atan: memory leak
127  - log: wrong ternary value in data file; masked by bug in Mpfr 2.4.1
128- Resolves: #555471 FTBFS libmpc-0.8-3.fc13
129
130* Fri Nov 13 2009 Petr Machata <pmachata@redhat.com> - 0.8-3
131- Require mpfr-devel, gmp-devel in -devel subpackage
132- Don't pass --entry to install-info
133
134* Thu Nov 12 2009 Petr Machata <pmachata@redhat.com> - 0.8-2
135- Rename the package to libmpc, it's a better choice of name
136- %%preun should uninstall mpc's info page, not make's
137- Move info page to -devel
138- BR on -devel packages
139- Drop postscript documentation
140
141* Thu Nov 12 2009 Petr Machata <pmachata@redhat.com> - 0.8-1
142- Initial package.
Note: See TracBrowser for help on using the repository browser.