Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37505859
en ru br
Репозитории ALT

Группа :: Other
Пакет: light

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: Other
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:       light
Version:    1.2.2
Release:    alt1_3
Summary:    Control backlight controllers

License:    GPLv3
URL:        http://haikarainen.github.io/light/
Source0:    https://github.com/haikarainen/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires: help2man
BuildRequires: automake
Source44: import.info


%description
Light is a program to control backlight controllers under GNU/Linux,
it is the successor of lightscript, which was a bash script
with the same purpose, and tries to maintain the same functionality.

Features

- Works excellent where other software have been proven unusable
 or problematic, thanks to how it operates internally
 and the fact that it does not rely on X.
- Can automatically figure out the best controller to use,
 making full use of underlying hardware.
- Possibility to set a minimum brightness value, as some controllers
 set the screen to be pitch black at a value of 0 (or higher).


%prep
%setup -q


%build
%add_optflags -fcommon
%global build_cflags %{optflags} -fcommon
./autogen.sh
%configure
%make_build


%install
%makeinstall_std


%post
if [ -e "%{_sysconfdir}/%{name}" ]; then
   chown -R :root %{_sysconfdir}/%{name}
fi


%files
%doc COPYING
%doc ChangeLog.md
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin