host_tools.spec 630 B

12345678910111213141516171819202122232425262728
  1. Summary: Host tools for gbs
  2. Name: gbs-host-tools
  3. Version: 0.1
  4. Release: 1
  5. Group: Development/Cross Compilation
  6. License: MIT
  7. Source: %{expand:%%(pwd)}
  8. BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}
  9. %description
  10. %{summary}
  11. %prep
  12. rm -rf $RPM_BUILD_ROOT
  13. mkdir -p $RPM_BUILD_ROOT/usr/bin/host-tools
  14. cd $RPM_BUILD_ROOT
  15. cp -r %{SOURCEURL0}/cmake $RPM_BUILD_ROOT/usr/bin/host-tools
  16. cp -r %{SOURCEURL0}/make $RPM_BUILD_ROOT/usr/bin/host-tools
  17. cp -r %{SOURCEURL0}/qmake $RPM_BUILD_ROOT/usr/bin/host-tools
  18. cp -r %{SOURCEURL0}/gcc $RPM_BUILD_ROOT/usr/bin/host-tools
  19. %clean
  20. rm -rf "$RPM_BUILD_ROOT"
  21. %files
  22. /usr/bin/host-tools/*