]> git.pld-linux.org Git - packages/xorg-app-xbacklight.git/blob - xorg-app-xbacklight.spec
- updated to 1.2.3
[packages/xorg-app-xbacklight.git] / xorg-app-xbacklight.spec
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
4 Version:        1.2.3
5 Release:        1
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        https://xorg.freedesktop.org/releases/individual/app/xbacklight-%{version}.tar.bz2
9 # Source0-md5:  5b6405973db69c0443be2fba8e1a8ab7
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  pkgconfig >= 1:0.19
14 # xcb xcb-randr >= 1.2
15 BuildRequires:  libxcb-devel >= 1.2
16 # xcb-atom xcb-aux
17 BuildRequires:  xcb-util-devel
18 BuildRequires:  xorg-util-util-macros >= 1.8
19 Requires:       libxcb >= 1.2
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)
57 %doc COPYING ChangeLog README.md
58 %attr(755,root,root) %{_bindir}/xbacklight
59 %{_mandir}/man1/xbacklight.1*
This page took 0.076226 seconds and 4 git commands to generate.