diff --git a/.cvsignore b/.cvsignore index e69de29..e35acf5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +dmz-cursor-themes-f37eedf4.tar.bz2 diff --git a/dmz-cursor-themes.spec b/dmz-cursor-themes.spec new file mode 100644 index 0000000..cf1c04d --- /dev/null +++ b/dmz-cursor-themes.spec @@ -0,0 +1,53 @@ +Name: dmz-cursor-themes +Version: 0.4 +Release: 2 +Summary: X cursors themes + +Group: User Interface/Desktops +License: MIT +URL: http://jimmac.musichall.cz/themes.php?skin=7 + +%define checkout f37eedf4 + +# NB: The tarball needs to be generated first, so the first download will fail. +# Generating takes about 30s - 1 minute. +# wget http://gitorious.org/opensuse/art/archive-tarball/%{checkout} +# tar xzf %{checkout} +# cd opensuse-art/cursors +# tar chof - dmz dmz-aa | bzip2 -9 -c > dmz-cursor-themes-%{checkout}.tar.bz2 +Source0: dmz-cursor-themes-%{checkout}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +%description +An X cursors theme by Jakub Steiner used by OpenSUSE. + +%prep +%setup -q -c dmz-cursor-themes-%{version} + +%build + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}/%{_datadir}/icons/dmz +cp -pr dmz/xcursors %{buildroot}/%{_datadir}/icons/dmz/cursors +mkdir -p %{buildroot}/%{_datadir}/icons/dmz-aa +cp -pr dmz-aa/xcursors %{buildroot}/%{_datadir}/icons/dmz-aa/cursors + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc dmz/COPYING.MIT +%{_datadir}/icons/dmz/ +%{_datadir}/icons/dmz-aa/ + +%changelog +* Tue Feb 16 2010 Benjamin Otte 0.4-2 +- Correct source download information + +* Mon Feb 15 2010 Benjamin Otte 0.4-1 +- Initial packaging diff --git a/sources b/sources index e69de29..174f72d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e9a086cddb8d933d847c6f7daef159fc dmz-cursor-themes-f37eedf4.tar.bz2