diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..058f473 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +unclutter-8.tar.Z diff --git a/Makefile b/Makefile deleted file mode 100644 index 7ff948d..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 $$/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/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