hosttools-make.spec 747 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. %{?!tool_name: %global tool_name hosttools}
  2. %global tool_prefix /opt/%{tool_name}
  3. Name: %{tool_name}-make
  4. Version: 4.3
  5. Release: 1%{?dist}
  6. Summary: GNU make
  7. Provides: make
  8. License: GPLv3+
  9. URL: https://www.gnu.org/software/make
  10. Source0: https://ftp.gnu.org/gnu/make/make-4.3.tar.lz
  11. %description
  12. GNU make
  13. %prep
  14. %setup -q -n make-%{version}
  15. %build
  16. mkdir build-make
  17. cd build-make
  18. ../configure --prefix=%{tool_prefix}
  19. make %{?_smp_mflags}
  20. %install
  21. cd build-make
  22. make DESTDIR=%{buildroot} install
  23. rm -f %{buildroot}%{tool_prefix}/share/info/dir
  24. %files
  25. %{tool_prefix}/bin/make
  26. %{tool_prefix}/share/locale/*/LC_MESSAGES/make.mo
  27. %{tool_prefix}/include/gnumake.h
  28. %{tool_prefix}/share/info/make.info*
  29. %{tool_prefix}/share/man/man1/make.1
  30. %changelog