87e4383
Name:           unclutter
87e4383
Version:        8
87e4383
Release:        2%{?dist}
87e4383
Summary:        Hide mouse cursor when idle
87e4383
87e4383
Group:          User Interface/X
87e4383
License:        Public Domain
87e4383
URL:            ftp://export.lcs.mit.edu/contrib/utilities/unclutter-%{version}.README
87e4383
Source0:        ftp://export.lcs.mit.edu/contrib/utilities/unclutter-%{version}.tar.Z
87e4383
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
87e4383
87e4383
# for xmkmf
87e4383
BuildRequires:  imake
87e4383
# for Xlib.h and Xutil.h
87e4383
BuildRequires:  libX11-devel
87e4383
# for Xos.h and Xproto.h
87e4383
BuildRequires:  xorg-x11-proto-devel
87e4383
# for -lXext
87e4383
BuildRequires: libXext-devel
87e4383
87e4383
%description
87e4383
Unclutter hides the mouse cursor image from the screen so that it does not
87e4383
obstruct the area you are looking at. It hides the mouse cursor when it is not
87e4383
moved for a specified amount of time or no buttons are pressed on the mouse.
87e4383
Cursor image will be restored once the mouse is moved again.  
87e4383
87e4383
87e4383
%prep
87e4383
%setup -q -n unclutter
87e4383
87e4383
87e4383
%build
87e4383
xmkmf
87e4383
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" CDEBUGFLAGS="$RPM_OPT_FLAGS"
87e4383
87e4383
87e4383
%install
87e4383
rm -rf $RPM_BUILD_ROOT
87e4383
make install install.man DESTDIR=$RPM_BUILD_ROOT INSTMANFLAGS="-p -m0644"
87e4383
87e4383
87e4383
%clean
87e4383
rm -rf $RPM_BUILD_ROOT
87e4383
87e4383
87e4383
%files
87e4383
%defattr(-,root,root,-)
87e4383
%doc README
87e4383
%{_bindir}/unclutter
87e4383
%{_mandir}/man1/unclutter.1*
87e4383
87e4383
87e4383
%changelog
87e4383
* Sun Apr 12 2009 Till Maas <opensource@till.name> - 8-2
87e4383
- Update description to the one provided by Lucian Langa
87e4383
87e4383
* Thu Apr 02 2009 Till Maas <opensource@till.name> - 8-1
87e4383
- initial spec for Fedora