Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
84f4bf4930 dist-git conversion 2010-07-29 15:32:48 +00:00
Bill Nottingham
835456ddfb Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:29:13 +00:00
55e8262cb6 xbacklight-1.1 2008-01-27 19:48:14 +00:00
b246541e38 Initialize branch F-8 for xbacklight 2008-01-27 19:29:25 +00:00
5 changed files with 50 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xbacklight-1.1.tar.bz2

View file

@ -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)

View file

@ -0,0 +1 @@
51b4a1c0ae2b3bd77417306fd78a3e94 xbacklight-1.1.tar.bz2

48
xbacklight.spec Normal file
View 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