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.

60 lines
2.3 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: https://www.cpan.org/src/5.0/perl-5.30.1.tar.xz
  2. #MD5SUM: f399f3aaee90ddcff5eadd3bccdaacc0;SOURCES/perl-5.30.1.tar.xz
  3. %define __requires_exclude perl\\((VMS|BSD::|Win32|Tk|Mac::|Your::Module::Here|unicore::Name|FCGI|Locale::Codes::.*(Code|Retired))
  4. #|^perl\\(\s\\)
  5. # the following suppresses dependency checks on all modules in /usr/lib/perl5/5.30.1 directories
  6. %define __requires_exclude_from %{_libdir}/perl5
  7. #-----------------------------------------------------------------------------
  8. Summary: The Perl package contains the Practical Extraction and Report Language.
  9. Name: perl
  10. Version: 5.30.1
  11. Release: 1
  12. License: GPLv1
  13. URL: Any
  14. Group: LFS/Base
  15. Source0: http://www.cpan.org/src/5.0/%{name}-%{version}.tar.xz
  16. Provides: perl = 1:5
  17. Provides: perl = 1:5.8.0
  18. Provides: perl = 0:5.008001
  19. Provides: perl = 0:5.009001
  20. Requires: filesystem
  21. %description
  22. The Perl package contains the Practical Extraction and Report Language.
  23. #-----------------------------------------------------------------------------
  24. %prep
  25. %setup -q -n %{NAME}-%{VERSION}
  26. %build
  27. export BUILD_ZLIB=False
  28. export BUILD_BZIP2=0
  29. sh Configure -des -Dprefix=/usr \
  30. -Dvendorprefix=/usr \
  31. -Dman1dir=%{_mandir}/man1 \
  32. -Dman3dir=%{_mandir}/man3 \
  33. -Dpager="${_sbindir}/less -isR" \
  34. -Duseshrplib \
  35. -Dusethreads
  36. make %{?_smp_mflags}
  37. %install
  38. make DESTDIR=%{buildroot} install
  39. #-----------------------------------------------------------------------------
  40. # Copy license/copying file
  41. install -D -m644 Copying %{buildroot}/usr/share/licenses/%{name}/LICENSE
  42. #-----------------------------------------------------------------------------
  43. # Create file list
  44. find %{buildroot} -name '*.la' -delete
  45. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  46. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  47. sed -i '/man\/man/d' filelist.list
  48. sed -i '/\/usr\/share\/info/d' filelist.list
  49. #-----------------------------------------------------------------------------
  50. %files -f filelist.list
  51. %defattr(-,root,root)
  52. %{_mandir}/man1/*
  53. %{_mandir}/man3/*
  54. #-----------------------------------------------------------------------------
  55. %changelog
  56. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.30.1-1
  57. * Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 5.28.1-1
  58. - Update for LFS-8.4
  59. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 5.26.1-1
  60. - Initial build. First version