]> git.pld-linux.org Git - packages/xorg-app-xbacklight.git/blob - xorg-app-xbacklight.spec
377f31d3291562ca67b78401860f4f79026d83f2
[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.0
5 Release:        2
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        http://xorg.freedesktop.org/releases/individual/app/xbacklight-%{version}.tar.bz2
9 # Source0-md5:  04189c90850c36592b9f2b358f8581e4
10 URL:            http://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  pkgconfig >= 1:0.19
14 BuildRequires:  libxcb-devel >= 1.2
15 BuildRequires:  xcb-util-devel
16 BuildRequires:  xorg-util-util-macros >= 1.8
17 Requires:       libxcb >= 1.2
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 xbacklight is used to adjust the backlight brightness using RandR
22 extension where supported. It finds all outputs on the X server
23 supporting backlight brightness control and changes them all in the
24 same way.
25
26 %description -l pl.UTF-8
27 xbacklight służy do zmiany jasności podświetlenia ekranu przy użyciu
28 rozszerzenia RandR, o ile jest to obslugiwane. Znajduje wszystkie
29 wyjścia serwera X obsługujące sterowanie jasnością podświetlenia i
30 zmienia je w ten sam sposób.
31
32 %prep
33 %setup -q -n xbacklight-%{version}
34
35 %build
36 %{__aclocal}
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc COPYING ChangeLog README
56 %attr(755,root,root) %{_bindir}/xbacklight
57 %{_mandir}/man1/xbacklight.1x*
This page took 0.044215 seconds and 2 git commands to generate.