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.
 
 
 
 

45 lines
1.9 KiB

  1. #TARBALL: http://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
  2. #MD5SUM: 12e517cac2b57a0121cda351570f1e63;SOURCES/intltool-0.51.0.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Intltool is an internationalization tool used for extracting translatable strings from source files.
  5. Name: intltool
  6. Version: 0.51.0
  7. Release: 2
  8. License: GPLv2
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://launchpad.net/intltool/trunk/0.51.0/+download/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The Intltool is an internationalization tool used for extracting translatable strings from source files.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. sed -i 's:\\\${:\\\$\\{:' intltool-update.in
  19. %build
  20. ./configure \
  21. --prefix=%{_prefix}
  22. make %{?_smp_mflags}
  23. %install
  24. make DESTDIR=%{buildroot} install
  25. install -vDm 644 doc/I18N-HOWTO %{buildroot}%{_docdir}/%{name}-%{version}/I18N-HOWTO
  26. #-----------------------------------------------------------------------------
  27. # Copy license/copying file
  28. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  29. #-----------------------------------------------------------------------------
  30. # Create file list
  31. find %{buildroot} -name '*.la' -delete
  32. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  33. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  34. sed -i '/man\/man/d' filelist.list
  35. sed -i '/\/usr\/share\/info/d' filelist.list
  36. #-----------------------------------------------------------------------------
  37. %files -f filelist.list
  38. %defattr(-,root,root)
  39. %{_mandir}/man8/*
  40. #-----------------------------------------------------------------------------
  41. %changelog
  42. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.51.0-2
  43. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 0.51.0-1
  44. - Initial build. First version