light.spec.in 851B

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