This repo contains software to build linux from scratch and package it into rpm files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.xz
  2. #MD5SUM: 320fbc4463d4c8cb1e566929d8adc4f8;SOURCES/mpfr-4.0.2.tar.xz
  3. #-----------------------------------------------------------------------------
  4. Summary: The MPFR package contains functions for multiple precision math.
  5. Name: mpfr
  6. Version: 4.0.2
  7. Release: 2
  8. License: GPLv3
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
  12. Requires: filesystem
  13. %description
  14. The MPFR package contains functions for multiple precision math.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --disable-static \
  22. --enable-thread-safe \
  23. --docdir=%{_docdir}/%NAME}-%{VERSION}
  24. make %{?_smp_mflags}
  25. make %{?_smp_mflags} html
  26. %install
  27. make DESTDIR=%{buildroot} install
  28. make DESTDIR=%{buildroot} install-html
  29. #-----------------------------------------------------------------------------
  30. # Copy license/copying file
  31. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  32. #-----------------------------------------------------------------------------
  33. # Create file list
  34. rm %{buildroot}%{_infodir}/dir
  35. find %{buildroot} -name '*.la' -delete
  36. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  37. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  38. sed -i '/man\/man/d' filelist.list
  39. sed -i '/\/usr\/share\/info/d' filelist.list
  40. #-----------------------------------------------------------------------------
  41. %files -f filelist.list
  42. %defattr(-,root,root)
  43. %{_infodir}/*
  44. #-----------------------------------------------------------------------------
  45. %changelog
  46. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 4.0.2-2
  47. * Tue Mar 26 2019 baho-utot <baho-utot@columbus.rr.com> 4.0.2-1
  48. - update to version 4.0.2
  49. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.0.1-1
  50. - Initial build. First version