libmpc-vl.spec 3.6 KB

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