1 |
Name: xbacklight |
2 |
Version: 1.2.0 |
3 |
Release: %mkrel 1 |
4 |
Summary: Command-line utility to set the display backlight level |
5 |
Group: System/X11 |
6 |
Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 |
7 |
License: MIT |
8 |
BuildRoot: %{_tmppath}/%{name}-root |
9 |
|
10 |
BuildRequires: libxrandr-devel >= 1.2 |
11 |
|
12 |
%description |
13 |
xbacklight is a simple command-line utility to set the backlight level |
14 |
using the RandR 1.2 BACKLIGHT output property. |
15 |
|
16 |
|
17 |
%prep |
18 |
%setup -q -n %{name}-%{version} |
19 |
|
20 |
%build |
21 |
%configure |
22 |
|
23 |
%make |
24 |
|
25 |
%install |
26 |
rm -rf %{buildroot} |
27 |
%makeinstall_std |
28 |
|
29 |
%clean |
30 |
rm -rf %{buildroot} |
31 |
|
32 |
%files |
33 |
%defattr(-,root,root) |
34 |
%{_bindir}/xbacklight |
35 |
%defattr(-,root,man) |
36 |
%{_mandir}/man1/xbacklight.* |
37 |
|
38 |
|