1 | Summary: Adjust backlight brightness using RandR |
---|
2 | Summary(ja): RandR を利用してバックライトの輝度を調整するツール |
---|
3 | |
---|
4 | Name: xbacklight |
---|
5 | Version: 1.2.0 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: User Interface/X Hardware Support |
---|
9 | License: MIT |
---|
10 | URL: http://xorg.freedesktop.org/releases/individual/app/ |
---|
11 | Source0: http://xorg.freedesktop.org/releases/individual/app/xbacklight-%{version}.tar.bz2 |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | |
---|
14 | BuildRequires: libXrandr-devel |
---|
15 | BuildRequires: libXrender-devel |
---|
16 | BuildRequires: xcb-util-devel |
---|
17 | BuildRequires: xorg-x11-util-macros |
---|
18 | |
---|
19 | %description |
---|
20 | Xbacklight is used to adjust the backlight brightness where |
---|
21 | supported. It finds all outputs on the X server supporting backlight |
---|
22 | brightness control and changes them all in the same way. |
---|
23 | |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q |
---|
27 | |
---|
28 | |
---|
29 | %build |
---|
30 | %configure |
---|
31 | make %{?_smp_mflags} |
---|
32 | |
---|
33 | |
---|
34 | %install |
---|
35 | rm -rf $RPM_BUILD_ROOT |
---|
36 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
37 | |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | |
---|
43 | %files |
---|
44 | %defattr(-,root,root,-) |
---|
45 | %doc COPYING |
---|
46 | %{_bindir}/xbacklight |
---|
47 | %{_datadir}/man/man1/xbacklight.* |
---|
48 | |
---|
49 | |
---|
50 | %changelog |
---|
51 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
52 | - new upstream release |
---|
53 | - add BuildRequires: xcb-util-devel |
---|
54 | |
---|
55 | * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1 |
---|
56 | - new upstream release |
---|
57 | - add BuildRequires: xorg-x11-util-macros |
---|
58 | |
---|
59 | * Mon Nov 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
---|
60 | - initial build for Vine Linux |
---|
61 | |
---|
62 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2 |
---|
63 | - Autorebuild for GCC 4.3 |
---|
64 | |
---|
65 | * Sat Jan 26 2008 Michel Salim <michel.sylvan@gmail.com> - 1.1-1 |
---|
66 | - Initial Fedora package |
---|