]>
Commit | Line | Data |
---|---|---|
14e7e8bb JB |
1 | Summary: xbacklight application - adjust backlight brightness using RandR extension |
2 | Summary(pl.UTF-8): Aplikacja xbacklight - zmiana jasności podświetlenia obrazu poprzez RandR | |
3 | Name: xorg-app-xbacklight | |
9cf2e55a | 4 | Version: 1.2.3 |
8e7e9aa2 | 5 | Release: 1 |
14e7e8bb JB |
6 | License: MIT |
7 | Group: X11/Applications | |
85ef819a | 8 | Source0: https://xorg.freedesktop.org/releases/individual/app/xbacklight-%{version}.tar.bz2 |
9cf2e55a | 9 | # Source0-md5: 5b6405973db69c0443be2fba8e1a8ab7 |
85ef819a | 10 | URL: https://xorg.freedesktop.org/ |
9f59938d | 11 | BuildRequires: autoconf >= 2.60 |
14e7e8bb JB |
12 | BuildRequires: automake |
13 | BuildRequires: pkgconfig >= 1:0.19 | |
9cf2e55a | 14 | # xcb xcb-randr >= 1.2 |
f8cbd208 | 15 | BuildRequires: libxcb-devel >= 1.2 |
9cf2e55a | 16 | # xcb-atom xcb-aux |
f8cbd208 | 17 | BuildRequires: xcb-util-devel |
9f59938d | 18 | BuildRequires: xorg-util-util-macros >= 1.8 |
f8cbd208 | 19 | Requires: libxcb >= 1.2 |
14e7e8bb JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | xbacklight is used to adjust the backlight brightness using RandR | |
24 | extension where supported. It finds all outputs on the X server | |
25 | supporting backlight brightness control and changes them all in the | |
26 | same way. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | xbacklight służy do zmiany jasności podświetlenia ekranu przy użyciu | |
30 | rozszerzenia RandR, o ile jest to obslugiwane. Znajduje wszystkie | |
31 | wyjścia serwera X obsługujące sterowanie jasnością podświetlenia i | |
32 | zmienia je w ten sam sposób. | |
33 | ||
34 | %prep | |
35 | %setup -q -n xbacklight-%{version} | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
9cf2e55a | 57 | %doc COPYING ChangeLog README.md |
14e7e8bb | 58 | %attr(755,root,root) %{_bindir}/xbacklight |
5d849d29 | 59 | %{_mandir}/man1/xbacklight.1* |