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.

53 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 year ago
1 year ago
  1. #TARBALL: http://ftp.gnu.org/gnu/texinfo/texinfo-6.7.tar.xz
  2. #MD5SUM: d4c5d8cc84438c5993ec5163a59522a6;SOURCES/texinfo-6.7.tar.xz
  3. %define __requires_exclude perl\\(Locale::gettext_xs\\)
  4. #-----------------------------------------------------------------------------
  5. Summary: The Texinfo package contains programs for reading, writing, and converting info pages.
  6. Name: texinfo
  7. Version: 6.7
  8. Release: 1
  9. License: GPLv3
  10. URL: Any
  11. Group: LFS/Base
  12. Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
  13. Requires: filesystem
  14. Provides: perl(Texinfo::ParserNonXS) = %{version}
  15. %description
  16. The Texinfo package contains programs for reading, writing, and converting info pages.
  17. #-----------------------------------------------------------------------------
  18. %prep
  19. %setup -q -n %{NAME}-%{VERSION}
  20. %build
  21. ./configure \
  22. --prefix=%{_prefix} \
  23. --disable-static
  24. make %{?_smp_mflags}
  25. %install
  26. make DESTDIR=%{buildroot} install
  27. make DESTDIR=%{buildroot} TEXMF=/usr/share/texmf install-tex
  28. # Copy license/copying file
  29. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  30. #-----------------------------------------------------------------------------
  31. # Create file list
  32. rm %{buildroot}%{_infodir}/dir
  33. find %{buildroot} -name '*.la' -delete
  34. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  35. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  36. sed -i '/man\/man/d' filelist.list
  37. sed -i '/\/usr\/share\/info/d' filelist.list
  38. #-----------------------------------------------------------------------------
  39. %files -f filelist.list
  40. %defattr(-,root,root)
  41. %{_infodir}/*
  42. %{_mandir}/man1/*
  43. %{_mandir}/man5/*
  44. %post
  45. pushd /usr/share/info
  46. rm -v dir
  47. for f in *; do install-info $f dir 2>/dev/null; done
  48. popd
  49. #-----------------------------------------------------------------------------
  50. %changelog
  51. * Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 6.7-1
  52. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 6.5-1
  53. - Initial build. First version