1
0

rpm.spec.in 944 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Name: @PACKAGE@
  2. Summary: Free LZH archive tool
  3. Version: @VERSION@
  4. Release: 1
  5. Source: https://github.com/downloads/fragglet/@PACKAGE@/@PACKAGE@-@[email protected]
  6. URL: http://fragglet.github.com/lhasa/
  7. Group: Applications/Archiving
  8. BuildRoot: /var/tmp/@PACKAGE@-buildroot
  9. License: ISC license
  10. Packager: Simon Howard <@PACKAGE_BUGREPORT@>
  11. Prefix: %{_prefix}
  12. Autoreq: 0
  13. %description
  14. %(cat README)
  15. See @PACKAGE_URL@ for more information.
  16. %prep
  17. rm -rf $RPM_BUILD_ROOT
  18. %setup -q
  19. %build
  20. ./configure \
  21. --prefix=/usr \
  22. --exec-prefix=/usr \
  23. --bindir=/usr/bin \
  24. --sbindir=/usr/sbin \
  25. --sysconfdir=/etc \
  26. --datadir=/usr/share \
  27. --includedir=/usr/include \
  28. --libdir=/usr/lib \
  29. --libexecdir=/usr/lib \
  30. --localstatedir=/var/lib \
  31. --sharedstatedir=/usr/com \
  32. --mandir=/usr/share/man \
  33. --infodir=/usr/share/info
  34. make
  35. %install
  36. %makeinstall
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %doc %{_mandir}/man1/*
  41. /usr/bin/*
  42. /usr/lib*/*
  43. /usr/include/*/*