1 |
Name: xbacklight |
2 |
Version: 1.2.3 |
3 |
Release: %mkrel 3 |
4 |
Summary: Command-line utility to set the display backlight level |
5 |
Group: System/X11 |
6 |
Url: https://xorg.freedesktop.org/ |
7 |
Source: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 |
8 |
License: MIT |
9 |
|
10 |
BuildRequires: pkgconfig(xrandr) >= 1.2 |
11 |
BuildRequires: pkgconfig(xcb-atom) |
12 |
BuildRequires: pkgconfig(xcb-aux) |
13 |
|
14 |
%description |
15 |
xbacklight is a simple command-line utility to set the backlight level |
16 |
using the RandR 1.2 BACKLIGHT output property. |
17 |
|
18 |
|
19 |
%prep |
20 |
%setup -q |
21 |
|
22 |
%build |
23 |
%configure |
24 |
|
25 |
%make_build |
26 |
|
27 |
%install |
28 |
%make_install |
29 |
|
30 |
%files |
31 |
%{_bindir}/xbacklight |
32 |
%defattr(-,root,man) |
33 |
%{_mandir}/man1/xbacklight.* |