51 lines
1.2 KiB
RPMSpec
51 lines
1.2 KiB
RPMSpec
Name: xbacklight
|
|
Version: 1.1
|
|
Release: 2%{?dist}
|
|
Summary: Adjust backlight brightness using RandR
|
|
|
|
Group: User Interface/X Hardware Support
|
|
License: MIT
|
|
URL: http://xorg.freedesktop.org/releases/individual/app/
|
|
Source0: http://xorg.freedesktop.org/releases/individual/app/xbacklight-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: libXrandr-devel libXrender-devel pkgconfig
|
|
#Requires:
|
|
|
|
%description
|
|
Xbacklight is used to adjust the backlight brightness where
|
|
supported. It finds all outputs on the X server supporting backlight
|
|
brightness control and changes them all in the same way.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING
|
|
%{_bindir}/xbacklight
|
|
%{_datadir}/man/man1/xbacklight.*
|
|
|
|
|
|
%changelog
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Sat Jan 26 2008 Michel Salim <michel.sylvan@gmail.com> - 1.1-1
|
|
- Initial Fedora package
|