]> git.pld-linux.org Git - packages/XcursorTheme-CursorCraft.git/blob - XcursorTheme-CursorCraft.spec
- tabs in preamble
[packages/XcursorTheme-CursorCraft.git] / XcursorTheme-CursorCraft.spec
1 %define         _name CursorCraft
2 Summary:        A cursor theme based on cursors from Starcraft game
3 Summary(pl.UTF-8):      Motyw kursorów oparty na kursorach z gry Starcraft
4 Name:           XcursorTheme-%{_name}
5 Version:        0.2
6 Release:        1
7 License:        Free for noncommercial use
8 Group:          Themes
9 Source0:        http://www.kde-look.org/content/files/5377-%{_name}-%{version}.tar.bz2
10 # Source0-md5:  20eb545c823ce14bf9b85eb755543b0e
11 URL:            http://www.kde-look.org/content/show.php?content=5377
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 Green, future-looking cursors resembling the ones from Starcraft.
19
20 %description -l pl.UTF-8
21 Zielone kursory podobne do tych z gry Starcraft.
22
23 %prep
24 %setup -q -n %{_name}-%{version}
25
26 %build
27 head -n 42 install.sh > build.sh
28 chmod +x ./build.sh
29 ./build.sh
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/cursors
34 cp -df ./cursors/*  $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/cursors
35
36 echo "[Icon Theme]" > $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/index.theme
37 echo "Name = CursorCraft" >> $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/index.theme
38 echo "Comment = A cursor theme inspired from the Starcraft game" >> $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/index.theme
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %{_iconsdir}/%{_name}
This page took 0.050018 seconds and 3 git commands to generate.