Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84f4bf4930 | ||
|
|
835456ddfb | ||
| 55e8262cb6 | |||
| b246541e38 |
5 changed files with 50 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
xbacklight-1.1.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xbacklight
|
||||
# $Id$
|
||||
NAME := xbacklight
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
51b4a1c0ae2b3bd77417306fd78a3e94 xbacklight-1.1.tar.bz2
|
||||
48
xbacklight.spec
Normal file
48
xbacklight.spec
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
Name: xbacklight
|
||||
Version: 1.1
|
||||
Release: 1%{?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
|
||||
* Sat Jan 26 2008 Michel Salim <michel.sylvan@gmail.com> - 1.1-1
|
||||
- Initial Fedora package
|
||||
Loading…
Add table
Add a link
Reference in a new issue