Name: light Version: __APP_VERSION__ Release: __APP_RELEASE__%{?dist} Summary: Command line tool to control backlight controllers URL: https://github.com/haikarainen/light License: GPLv3 Source0: __APP_URLBASE__/archive/%{version}.tar.gz BuildRequires: help2man %description Light is a program to control backlight controllers under GNU/Linux. %prep %autosetup -n %{name}-%{version} sed -i -e '/chown root/d' Makefile sed -i -e '/chmod 4755/d' Makefile %build make %{?_smp_mflags} %install %make_install %files %doc README.md %license LICENSE %attr(4755, root, root) %{_bindir}/light %{_mandir}/man1/light.1.gz %changelog * __APP_DATE__ Alois Mahdal - __APP_VERSION__-__APP_RELEASE__ - Unofficial experimental RPM pseudo-release # spec file generated from __APP_BUILDSCRIPT_VERSION__