Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37810642
en ru br
ALT Linux repos
S:1.2-alt1.g3f9c625

Group :: System/Kernel and hardware
RPM: acpilight

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define git 3f9c625

Name: acpilight
Version: 1.2
Release: alt1.g%{git}

Summary: Replacement for xbacklight that uses the ACPI interface to set brightness
License: GPL-3.0+
Group: System/Kernel and hardware
URL: https://gitlab.com/wavexx/acpilight/
Patch0: %name-%version-%release.patch
Source0: https://gitlab.com/wavexx/acpilight/-/archive/v%{version}/%{name}-%{version}.tar.gz

Conflicts: xbacklight

BuildRequires: rpm-build-python3
BuildArch: noarch

%description
Replacement for xbacklight that uses the ACPI interface to set brightness

%prep
%setup -q -n %name-%version

%build

%install
mkdir -p %buildroot{%_bindir,%_udevrulesdir,%_man1dir}
install -m755 xbacklight %buildroot%{_bindir}/
install -m644 xbacklight.1 %buildroot%{_man1dir}/
install -m644 90-backlight.rules %buildroot%{_udevrulesdir}/

%post
echo 'To use the xbacklight binary as a regular user, you must be a part of the video group'

%files
%doc README.rst NEWS.rst
%_bindir/*
%_man1dir/*
%_udevrulesdir/*.rules

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin