File blue-glass-3d-cursor-theme.spec of Package blue-glass-3d-cursor-theme

#
# spec file for package blue-glass-3d-cursor-theme (Version 0.4)
#
# Copyright (c) 2006 - 2008 Buschmann
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild

%define icon_dir    /usr/share/icons
%define dir_name    Blue-Glass-3D

Name:               blue-glass-3d-cursor-theme
Summary:            Blue Glass 3D Cursor Theme
Summary(de):        Blue Glass 3D Mauszeiger
Version:            0.4
Release:            0
License:            LGPL
Group:              System/GUI/Other
Source0:            %{name}-%{version}.tar.bz2
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
BuildArch:          noarch
AutoReqProv:        yes


Url:                http://www.kde-look.org/content/show.php?content=5532

%description
A blue glass xcursors theme, modeled, animated and rendered in Blender3D.

Author:
-------
    ezteban

%prep
%setup
%build

%install
mkdir -p $RPM_BUILD_ROOT%{icon_dir}/%{dir_name}/cursors
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -r Blue/cursors $RPM_BUILD_ROOT%{icon_dir}/%{dir_name}
cp default/* $RPM_BUILD_ROOT%{icon_dir}/%{dir_name}
cp README $RPM_BUILD_ROOT%{_docdir}/%{name}
MD5SUM=$(md5sum COPYING | sed 's/ .*//')
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
        ln -sf /usr/share/doc/licenses/md5/$MD5SUM COPYING; else
        cp COPYING $RPM_BUILD_ROOT%{_docdir}/%{name};
    fi

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{icon_dir}/%{dir_name}
%attr(644,root,root) %{icon_dir}/%{dir_name}/index.theme
%{icon_dir}/%{dir_name}/cursors
%{_docdir}/%{name}

%changelog
* Mon May 20 2013 Damian Ivanov <damianatorrpm@gmail.com> - 20061223
- Rebuild
openSUSE Build Service is sponsored by