]>
Commit | Line | Data |
---|---|---|
f1b7a85c | 1 | # |
cd147f3a | 2 | # Conditional build |
3 | %bcond_without tools # without game tools | |
f1b7a85c JK |
4 | # |
5 | Summary: Single player sci-fi RPG featuring Tux and evil MS bots | |
1de4e407 | 6 | Summary(pl.UTF-8): RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS |
f1b7a85c | 7 | Name: freedroidrpg |
efa48991 | 8 | Version: 0.10.2 |
e7b7d39e | 9 | Release: 1 |
cd147f3a | 10 | License: GPL v2+ |
f1b7a85c | 11 | Group: X11/Applications/Games |
e7b7d39e | 12 | Source0: http://dl.sourceforge.net/freedroid/%{name}-%{version}.tar.bz2 |
efa48991 | 13 | # Source0-md5: 553a6dfe947895f75cdf43ffed1c1872 |
f1b7a85c JK |
14 | Source1: %{name}.desktop |
15 | Source2: %{name}.png | |
16 | URL: http://freedroid.sourceforge.net/ | |
61aecaab | 17 | BuildRequires: OpenGL-devel |
f1b7a85c JK |
18 | BuildRequires: SDL-devel >= 1.2.3 |
19 | BuildRequires: SDL_image-devel | |
20 | BuildRequires: SDL_mixer-devel | |
b1cd5c73 | 21 | BuildRequires: SDL_net-devel |
f1b7a85c JK |
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 | |
a65a3c0e JB |
31 | This game evolved as an extension of the arcade game Freedroid into an |
32 | RPG. | |
f1b7a85c | 33 | |
a65a3c0e JB |
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. | |
f1b7a85c | 39 | |
a65a3c0e | 40 | This is when some frustrated worker frees the Tux, who had been |
cd147f3a | 41 | imprisoned by the MS shortly before they took over government. |
a65a3c0e | 42 | |
9371fb76 JR |
43 | %description -l pl.UTF-8 |
44 | Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w | |
a65a3c0e JB |
45 | RPG. |
46 | ||
9371fb76 JR |
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 | |
a65a3c0e JB |
51 | przetrwanie. |
52 | ||
9371fb76 JR |
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. | |
f1b7a85c | 55 | |
cd147f3a | 56 | %package tools |
57 | Summary: Tools for freefroidrpg | |
1de4e407 | 58 | Summary(pl.UTF-8): Narzędzia dla freedroidrpg |
cd147f3a | 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 | ||
9371fb76 JR |
65 | %description tools -l pl.UTF-8 |
66 | Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi | |
67 | narzędziami. | |
cd147f3a | 68 | |
f1b7a85c | 69 | %prep |
e7b7d39e | 70 | %setup -q |
f1b7a85c JK |
71 | |
72 | %build | |
f1b7a85c JK |
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) | |
364afdcf | 91 | %doc AUTHORS ChangeLog README |
cd147f3a | 92 | %attr(755,root,root) %{_bindir}/freedroidRPG |
f1b7a85c | 93 | %{_datadir}/%{name} |
d6aeadbf | 94 | %{_desktopdir}/*.desktop |
f1b7a85c JK |
95 | %{_pixmapsdir}/* |
96 | %{_mandir}/man6/* | |
cd147f3a | 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 |