]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build | |
3 | %bcond_without tools # without game tools | |
4 | # | |
5 | Summary: Single player sci-fi RPG featuring Tux and evil MS bots | |
6 | Summary(pl.UTF-8): RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS | |
7 | Name: freedroidrpg | |
8 | Version: 0.10.2 | |
9 | Release: 1 | |
10 | License: GPL v2+ | |
11 | Group: X11/Applications/Games | |
12 | Source0: http://dl.sourceforge.net/freedroid/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 553a6dfe947895f75cdf43ffed1c1872 | |
14 | Source1: %{name}.desktop | |
15 | Source2: %{name}.png | |
16 | URL: http://freedroid.sourceforge.net/ | |
17 | BuildRequires: OpenGL-devel | |
18 | BuildRequires: SDL-devel >= 1.2.3 | |
19 | BuildRequires: SDL_image-devel | |
20 | BuildRequires: SDL_mixer-devel | |
21 | BuildRequires: SDL_net-devel | |
22 | BuildRequires: gtk+-devel | |
23 | BuildRequires: libjpeg-devel | |
24 | BuildRequires: libogg-devel | |
25 | BuildRequires: libpng-devel | |
26 | BuildRequires: libvorbis-devel | |
27 | BuildRequires: zlib-devel | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | This game evolved as an extension of the arcade game Freedroid into an | |
32 | RPG. | |
33 | ||
34 | The MS has taken over the galaxy via their trojan horse OS that was | |
35 | running everywhere. But twenty years after the MS took over, the Bots | |
36 | rebelled and attacked all life forms. Humans and Linarians (like the | |
37 | Tux) had to flee to some remote planets and now live underground, | |
38 | struggling to survive. | |
39 | ||
40 | This is when some frustrated worker frees the Tux, who had been | |
41 | imprisoned by the MS shortly before they took over government. | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w | |
45 | RPG. | |
46 | ||
47 | MS przejął galaktykę poprzez konia trojańskiego OS, który działał | |
48 | wszędzie. Ale dwadzieścia lat później Roboty zbuntowały się i | |
49 | zaatakowały wszystkie formy życia. Ludzie i Linarianie (jak Tux) | |
50 | musieli uciec na odległe planety i żyją teraz w podziemiu, walcząc o | |
51 | przetrwanie. | |
52 | ||
53 | To dzieje się wtedy, gdy pewien sfrustrowany pracownik uwalnia Tuksa, | |
54 | który był uwięziony przez MS wkrótce przed objęciem przez nich rządów. | |
55 | ||
56 | %package tools | |
57 | Summary: Tools for freefroidrpg | |
58 | Summary(pl.UTF-8): Narzędzia dla freedroidrpg | |
59 | Group: X11/Applications/Games | |
60 | Requires: %{name} = %{version}-%{release} | |
61 | ||
62 | %description tools | |
63 | Item and dialog editor for freedroidrpg with other tools. | |
64 | ||
65 | %description tools -l pl.UTF-8 | |
66 | Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi | |
67 | narzędziami. | |
68 | ||
69 | %prep | |
70 | %setup -q | |
71 | ||
72 | %build | |
73 | %configure | |
74 | %{__make} | |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
84 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS ChangeLog README | |
92 | %attr(755,root,root) %{_bindir}/freedroidRPG | |
93 | %{_datadir}/%{name} | |
94 | %{_desktopdir}/*.desktop | |
95 | %{_pixmapsdir}/* | |
96 | %{_mandir}/man6/* | |
97 | ||
98 | %if %{with tools} | |
99 | %files tools | |
100 | %defattr(644,root,root,755) | |
101 | %attr(755,root,root) %{_bindir}/*Editor | |
102 | %attr(755,root,root) %{_bindir}/croppy | |
103 | %attr(755,root,root) %{_bindir}/pngtoico | |
104 | %endif |