From eeb48c11ddcd9d42596c7fcf45920a85620dd289 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 12 Apr 2009 18:23:19 +0000 Subject: [PATCH 1/4] Initialize branch EL-5 for unclutter --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 7629f205821b5f85052adb544100422ef862c975 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sun, 12 Apr 2009 20:36:55 +0000 Subject: [PATCH 2/4] - Update description to the one provided by Lucian Langa --- .cvsignore | 1 + sources | 1 + unclutter.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 unclutter.spec diff --git a/.cvsignore b/.cvsignore index e69de29..058f473 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +unclutter-8.tar.Z diff --git a/sources b/sources index e69de29..1fa8aa7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +83d7a6498b69078f869378f801b6a84b unclutter-8.tar.Z diff --git a/unclutter.spec b/unclutter.spec new file mode 100644 index 0000000..b96d640 --- /dev/null +++ b/unclutter.spec @@ -0,0 +1,58 @@ +Name: unclutter +Version: 8 +Release: 2%{?dist} +Summary: Hide mouse cursor when idle + +Group: User Interface/X +License: Public Domain +URL: ftp://export.lcs.mit.edu/contrib/utilities/unclutter-%{version}.README +Source0: ftp://export.lcs.mit.edu/contrib/utilities/unclutter-%{version}.tar.Z +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# for xmkmf +BuildRequires: imake +# for Xlib.h and Xutil.h +BuildRequires: libX11-devel +# for Xos.h and Xproto.h +BuildRequires: xorg-x11-proto-devel +# for -lXext +BuildRequires: libXext-devel + +%description +Unclutter hides the mouse cursor image from the screen so that it does not +obstruct the area you are looking at. It hides the mouse cursor when it is not +moved for a specified amount of time or no buttons are pressed on the mouse. +Cursor image will be restored once the mouse is moved again. + + +%prep +%setup -q -n unclutter + + +%build +xmkmf +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" CDEBUGFLAGS="$RPM_OPT_FLAGS" + + +%install +rm -rf $RPM_BUILD_ROOT +make install install.man DESTDIR=$RPM_BUILD_ROOT INSTMANFLAGS="-p -m0644" + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README +%{_bindir}/unclutter +%{_mandir}/man1/unclutter.1* + + +%changelog +* Sun Apr 12 2009 Till Maas - 8-2 +- Update description to the one provided by Lucian Langa + +* Thu Apr 02 2009 Till Maas - 8-1 +- initial spec for Fedora From 968de2fccb925b75c1cb8190c3198e2cd8cf390b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:14:20 +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 7ff948d..5ec957c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := unclutter 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 6bbbbf7515b9d3c87d39c9d7d0dd0429989d0c68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:42:03 +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 5ec957c..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: unclutter -# $Id$ -NAME := unclutter -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 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5