libmpc-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Summary: C library for multiple precision complex arithmetic
  2. Name: libmpc
  3. Version: 1.3.1
  4. Release: 2%{?_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. * Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-2
  58. - rebuilt with gcc-14.1.1.
  59. * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1
  60. - new upstream release.
  61. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.0-1
  62. - new upstream release.
  63. * Fri May 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1
  64. - updated to 1.0.3
  65. * Fri Sep 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1
  66. - updated to 1.0.2
  67. - change Group to System Environment/Libraries (libmpc)
  68. * Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.1-1
  69. - update to 1.0.1
  70. * Tue Nov 01 2011 NAKAMURA Kenta <kenta@vinelinux.org> - 0.9-2
  71. - initial build for Vine Linux
  72. * Wed Jun 22 2011 <pmachata@redhat.com> - 0.9-1
  73. - Upstream 0.9
  74. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-0.3.svn855
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  76. * Tue Nov 30 2010 Petr Machata <pmachata@redhat.com> - 0.8.3-0.2.svn855
  77. - Bump for rebuild against the new mpfr
  78. * Fri Nov 19 2010 Petr Machata <pmachata@redhat.com> - 0.8.3-0.1.svn855
  79. - Devel updates (to-be-0.8.3, SVN release 855)
  80. - New functions mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc
  81. - Speed-up mpc_pow_si and mpc_pow_z
  82. - Bug fixes in trigonometric functions, exp, sqrt
  83. - Upstream 0.8.2
  84. - Speed-up mpc_pow_ui
  85. - Adjust BuildRequires
  86. - Resolves: #653931
  87. * Wed Jan 20 2010 Petr Machata <pmachata@redhat.com> - 0.8.1-1
  88. - Upstream 0.8.1
  89. - acosh, asinh, atanh: swap of precisions between real and imaginary parts
  90. - atan: memory leak
  91. - log: wrong ternary value in data file; masked by bug in Mpfr 2.4.1
  92. - Resolves: #555471 FTBFS libmpc-0.8-3.fc13
  93. * Fri Nov 13 2009 Petr Machata <pmachata@redhat.com> - 0.8-3
  94. - Require mpfr-devel, gmp-devel in -devel subpackage
  95. - Don't pass --entry to install-info
  96. * Thu Nov 12 2009 Petr Machata <pmachata@redhat.com> - 0.8-2
  97. - Rename the package to libmpc, it's a better choice of name
  98. - %%preun should uninstall mpc's info page, not make's
  99. - Move info page to -devel
  100. - BR on -devel packages
  101. - Drop postscript documentation
  102. * Thu Nov 12 2009 Petr Machata <pmachata@redhat.com> - 0.8-1
  103. - Initial package.