1234567891011121314151617181920212223242526272829303132333435
  1. Name: light
  2. Version: __APP_VERSION__
  3. Release: __APP_RELEASE__%{?dist}
  4. Summary: Command line tool to control backlight controllers
  5. URL: https://github.com/haikarainen/light
  6. License: GPLv3
  7. Source0: __APP_URLBASE__/archive/%{version}.tar.gz
  8. BuildRequires: help2man
  9. %description
  10. Light is a program to control backlight controllers under GNU/Linux.
  11. %prep
  12. %autosetup -n %{name}-%{version}
  13. sed -i -e 's/chown root//' Makefile
  14. sed -i -e 's/chmod 4755//' Makefile
  15. %build
  16. make %{?_smp_mflags}
  17. %install
  18. %make_install
  19. %files
  20. %doc README.md
  21. %license LICENSE
  22. %attr(4755, root, root) %{_bindir}/light
  23. %{_mandir}/man1/light.1.gz
  24. %changelog
  25. * __APP_DATE__ Alois Mahdal <netvor+light@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  26. - Unofficial experimental RPM pseudo-release
  27. # spec file generated from __APP_BUILDSCRIPT_VERSION__