Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cbf56c73f | ||
|
|
6b329999b7 | ||
| 87e4383e18 | |||
| 3c687ba6e2 |
5 changed files with 60 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
unclutter-8.tar.Z
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
83d7a6498b69078f869378f801b6a84b unclutter-8.tar.Z
|
||||
58
unclutter.spec
Normal file
58
unclutter.spec
Normal file
|
|
@ -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 <opensource@till.name> - 8-2
|
||||
- Update description to the one provided by Lucian Langa
|
||||
|
||||
* Thu Apr 02 2009 Till Maas <opensource@till.name> - 8-1
|
||||
- initial spec for Fedora
|
||||
Loading…
Add table
Add a link
Reference in a new issue