From b1c3ada926b20f861b619a8299df0c1484ee0e3c Mon Sep 17 00:00:00 2001 From: djurban Date: Sun, 23 May 2004 14:33:13 +0000 Subject: [PATCH 1/1] - TODO: fix description usability - http://www.kde-look.org/content/pre1/6240-{1,2,3}.png Changed files: XcursorTheme-Crystal.spec -> 1.1 --- XcursorTheme-Crystal.spec | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 XcursorTheme-Crystal.spec diff --git a/XcursorTheme-Crystal.spec b/XcursorTheme-Crystal.spec new file mode 100644 index 0000000..dad644b --- /dev/null +++ b/XcursorTheme-Crystal.spec @@ -0,0 +1,51 @@ +# TODO: more descriptive descriptions. +Summary: X11 mouse theme with the crystal look&feel +Summary(pl): Motyw kursorów X11 podobny do ikon Crystal +Name: XcursorTheme-Crystal +Version: 1.0 +Release: 1 +License: GPL +Group: Themes +Source0: http://digilander.libero.it/m4rt/files/Crystalcursors.tar.bz2 +# Source0-md5: 7ba346d9f5b5d94054f2eb07373cd75e +URL: http://www.kde-look.org/content/show.php?content=6240 +BuildRequires: XFree86 >= 4.3 +Requires: XFree86 >= 4.3 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +X11 mouse theme with the crystal look&feel. + +%description -l pl +Motyw kursorów X11 podobny do ikon Crystal. + +%prep +%setup -q -n Crystalcursors + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +colors="blue \ +gray \ +green \ +white" +Z="`/bin/pwd`" +for i in $colors; +do +install -d $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/cursors +cp -df ${i}_cursors/* $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/cursors +echo "[Icon Theme]" > $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/index.theme +echo "Name = Crystal${i}" >> $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/index.theme +echo "Comment = X11 mouse theme with the crystal look&feel - ${i} version" >> $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/index.theme +done +cd "$Z" + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_iconsdir}/Crystal* -- 2.43.0