From b246541e38f5f9d5f02753e447c3db74887cfdb9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 27 Jan 2008 19:29:25 +0000 Subject: [PATCH 1/4] Initialize branch F-8 for xbacklight --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..e9e7ccd --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-8 From 55e8262cb61f1f25f7b4bea611aafb683e352c7e Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sun, 27 Jan 2008 19:48:14 +0000 Subject: [PATCH 2/4] xbacklight-1.1 --- .cvsignore | 1 + sources | 1 + xbacklight.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 xbacklight.spec diff --git a/.cvsignore b/.cvsignore index e69de29..20ec3de 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xbacklight-1.1.tar.bz2 diff --git a/sources b/sources index e69de29..e8c6e67 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +51b4a1c0ae2b3bd77417306fd78a3e94 xbacklight-1.1.tar.bz2 diff --git a/xbacklight.spec b/xbacklight.spec new file mode 100644 index 0000000..9b50cd3 --- /dev/null +++ b/xbacklight.spec @@ -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 - 1.1-1 +- Initial Fedora package From 835456ddfb063d4af533a37ca3073919b39dc276 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:29:13 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3d3113d..178832b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ 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 +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 84f4bf49309fd62d18c7566f3ff7ec0e6d939b40 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:32:48 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 178832b..0000000 --- a/Makefile +++ /dev/null @@ -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 $$d/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) diff --git a/branch b/branch deleted file mode 100644 index e9e7ccd..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-8