File Crystalcursors.spec of Package Crystalcursors

#
# spec file for package Crystalcursors (Version 0.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           Crystalcursors
BuildRequires:  libpng xorg-x11
Url:            http://digilander.iol.it/m4rt/crystalcursors.html
Summary:        Mouse Cursors in Crystal Icon Style
Version:        0.5
Release:        235
License:        LGPL v2.1 or later
Group:          System/X11/Icons
Source:         6240-%{name}.tar.bz2
Patch:          root-installation.diff
Patch1:         Crystalcursors.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Four different mouse cursor icon sets in the KDE CrystalSVG style. In
white, gray, blue, and green versions. They can be selected from KDE
Control Center, in the mouse configuration.



Authors:
--------
    Marco Martin

%prep
%setup -q -n %name
%patch1
%patch

%build
# the crowd complained about the speed ..
for i in */watch/*conf; do
 awk '{ print $1" "$2" "$3" "$4" 240" }' $i > ${i}.new
 mv ${i}.new ${i}
done
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc CHANGELOG CREDITS LICENSE README
/usr/share/icons/*

%changelog
* Mon Aug 07 2006 seife@suse.de
- fix for Xorg 7.1 (move to /usr/share/icons)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Apr 24 2004 sndirsch@suse.de
- XFree86 --> xorg-x11 in neededforbuild
* Sat Apr 03 2004 adrian@suse.de
- the world does not understand fast times
  (1/4 speed of the wait cursor clock)
* Tue Mar 23 2004 adrian@suse.de
- update to version 0.5
  * improves contrast of the white mouse cursor theme (#35605)
* Mon Mar 08 2004 adrian@suse.de
- create non-animated versions of cursors (based on patch by Lubos)
- additional cursor symlinks (found by Lubos)
* Sun Mar 07 2004 adrian@suse.de
- initial package of version 0.4