light.spec.in 798B

12345678910111213141516171819202122232425262728293031323334
  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. %description
  9. Light is a program to control backlight controllers under GNU/Linux.
  10. %prep
  11. %autosetup -n %{name}-%{version}
  12. sed -i -e 's/chown root//' Makefile
  13. sed -i -e 's/chmod 4755//' Makefile
  14. %build
  15. make %{?_smp_mflags}
  16. %install
  17. %make_install
  18. %files
  19. %doc README.md
  20. %license LICENSE
  21. %{_bindir}/light
  22. %{_mandir}/man1/light.1.gz
  23. %changelog
  24. * __APP_DATE__ Alois Mahdal <netvor+light@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  25. - Unofficial experimental RPM pseudo-release
  26. # spec file generated from __APP_BUILDSCRIPT_VERSION__