]>
Commit | Line | Data |
---|---|---|
43c1d386 | 1 | %define _name CursorCraft |
b95ffe55 | 2 | Summary: A cursor theme based on cursors from Starcraft game |
4f557eab | 3 | Summary(pl.UTF-8): Motyw kursorów oparty na kursorach z gry Starcraft |
43c1d386 | 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 | |
43c1d386 | 13 | Requires: XFree86 >= 4.3 |
b95ffe55 | 14 | BuildArch: noarch |
43c1d386 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Green, future-looking cursors resembling the ones from Starcraft. | |
19 | ||
731e3854 | 20 | %description -l pl.UTF-8 |
43c1d386 | 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 | |
43c1d386 | 33 | install -d $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/cursors |
b95ffe55 | 34 | cp -df ./cursors/* $RPM_BUILD_ROOT%{_iconsdir}/%{_name}/cursors |
43c1d386 | 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} |