mpfr3-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Summary: A C library for multiple-precision floating-point computations
  2. Name: mpfr3
  3. Version: 3.1.6
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: inagaki, kenta
  9. License: LGPLv3+
  10. URL: https://www.mpfr.org/
  11. Source0: https://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gmp-devel
  14. Requires: gmp >= 4.2.3
  15. Obsoletes: mpfr < %{version}
  16. %description
  17. The MPFR library is a C library for multiple-precision floating-point
  18. computations with "correct rounding". The MPFR is efficient and
  19. also has a well-defined semantics. It copies the good ideas from the
  20. ANSI/IEEE-754 standard for double-precision floating-point arithmetic
  21. (53-bit mantissa). MPFR is based on the GMP multiple-precision library.
  22. %prep
  23. %setup -q -n mpfr-%{version}
  24. %build
  25. %configure --disable-assert
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. pushd $RPM_BUILD_ROOT%{_infodir}
  31. #iconv -f iso-8859-1 -t utf-8 mpfr.info >mpfr.info.aux
  32. iconv -f iso-8859-1 -t euc-jp mpfr.info >mpfr.info.aux
  33. mv mpfr.info.aux mpfr.info
  34. popd
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
  36. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  37. rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.a
  38. cd ..
  39. rm -f \
  40. %{buildroot}%{_libdir}/libmpfr.so \
  41. %{buildroot}%{_includedir}/*.h \
  42. %{buildroot}%{_infodir}/mpfr.info*
  43. rm -rf \
  44. %{buildroot}%{_datadir}/doc/mpfr
  45. %check
  46. make %{?_smp_mflags} check
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root,-)
  53. %license COPYING COPYING.LESSER
  54. %doc NEWS README
  55. %{_libdir}/libmpfr.so.*
  56. %changelog
  57. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.6-1
  58. - updated to 3.1.6.
  59. - built for compatibility.
  60. * Sat May 07 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  61. - update to 3.1.4
  62. * Sun Dec 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
  63. - rebuild with VineSeed environment
  64. * Mon Nov 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
  65. - update to 3.1.2
  66. * Sun Oct 30 2011 NAKAMURA Kenta <kenta@vinelinux.org> 3.1.0-1
  67. - new upstream release
  68. * Tue Apr 19 2011 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.2-2
  69. - rebuild for Vine 6
  70. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
  71. - new upstream release
  72. - add Requires: gmp-devel (devel package)
  73. * Sat Nov 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1
  74. - new upstream release
  75. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.1-1
  76. - new upstream release
  77. - applied new versioning policy
  78. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.0-1vl1
  79. - initial build for Vine Linux
  80. * Thu Sep 20 2007 Ivana Varekova <varekova@redhat.com> 2.3.0-1
  81. - update to 2.3.0
  82. - fix license flag
  83. * Mon Aug 20 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-2
  84. - spec file cleanup (#253440)
  85. * Tue Jan 16 2007 Ivana Varekova <varekova@redhat.com> 2.2.1-1
  86. - started