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.8 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #TARBALL: https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
  2. #MD5SUM: f6e931e319531b736fadc017f470e68a;SOURCES/pkg-config-0.29.2.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: pkg-config package contains a tool for passing the include and library paths
  5. Name: pkg-config
  6. Version: 0.29.2
  7. Release: 2
  8. License: GPLv2
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: https://pkg-config.freedesktop.org/releases/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The pkg-config package contains a tool for passing the include path and/or
  15. library paths to build tools during the configure and make file execution.
  16. #-----------------------------------------------------------------------------
  17. %prep
  18. %setup -q -n %{NAME}-%{VERSION}
  19. ./configure \
  20. --prefix=%{_prefix} \
  21. --with-internal-glib \
  22. --disable-host-tool \
  23. --docdir=%{_docdir}/%{NAME}-%{VERSION}
  24. make %{?_smp_mflags}
  25. %install
  26. make DESTDIR=%{buildroot} install
  27. #-----------------------------------------------------------------------------
  28. # Copy license/copying file
  29. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  30. #-----------------------------------------------------------------------------
  31. # Create file list
  32. find %{buildroot} -name '*.la' -delete
  33. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  34. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  35. sed -i '/man\/man/d' filelist.list
  36. sed -i '/\/usr\/share\/info/d' filelist.list
  37. #-----------------------------------------------------------------------------
  38. %files -f filelist.list
  39. %defattr(-,root,root)
  40. %{_mandir}/man1/*
  41. #-----------------------------------------------------------------------------
  42. %changelog
  43. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.29.2-2
  44. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 0.29.2-1
  45. - Initial build. First version