]> git.pld-linux.org Git - packages/XcursorTheme-Crystal.git/blob - XcursorTheme-Crystal.spec
- tabs in preamble
[packages/XcursorTheme-Crystal.git] / XcursorTheme-Crystal.spec
1 # TODO: more descriptive descriptions.
2 Summary:        X11 mouse theme with the crystal look&feel
3 Summary(pl.UTF-8):      Motyw kursorów X11 podobny do ikon Crystal
4 Name:           XcursorTheme-Crystal
5 Version:        1.0
6 Release:        1
7 License:        GPL
8 Group:          Themes
9 Source0:        http://digilander.libero.it/m4rt/files/Crystalcursors.tar.bz2
10 # Source0-md5:  7ba346d9f5b5d94054f2eb07373cd75e
11 URL:            http://www.kde-look.org/content/show.php?content=6240
12 BuildRequires:  XFree86 >= 4.3
13 Requires:       XFree86 >= 4.3
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 X11 mouse theme with the crystal look&feel.
19
20 %description -l pl.UTF-8
21 Motyw kursorów X11 podobny do ikon Crystal.
22
23 %prep
24 %setup -q -n Crystalcursors
25
26 %build
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 colors="blue \
32 gray \
33 green \
34 white"
35 Z="`/bin/pwd`"
36 for i in $colors;
37 do
38 install -d $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/cursors
39 cp -df ${i}_cursors/* $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/cursors
40 echo "[Icon Theme]" > $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/index.theme
41 echo "Name = Crystal${i}" >> $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/index.theme
42 echo "Comment = X11 mouse theme with the crystal look&feel - ${i} version" >> $RPM_BUILD_ROOT%{_iconsdir}/Crystal${i}/index.theme
43 done
44 cd "$Z"
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{_iconsdir}/Crystal*
This page took 0.057509 seconds and 3 git commands to generate.