]>
Commit | Line | Data |
---|---|---|
f1b7a85c | 1 | # |
a729f8eb | 2 | # TODO: - use our lua lib |
3 | # | |
cd147f3a | 4 | # Conditional build |
5 | %bcond_without tools # without game tools | |
f1b7a85c JK |
6 | # |
7 | Summary: Single player sci-fi RPG featuring Tux and evil MS bots | |
1de4e407 | 8 | Summary(pl.UTF-8): RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS |
f1b7a85c | 9 | Name: freedroidrpg |
d5b70e5c | 10 | Version: 0.15 |
964d36c0 | 11 | Release: 3 |
cd147f3a | 12 | License: GPL v2+ |
f1b7a85c | 13 | Group: X11/Applications/Games |
41ac7a8d | 14 | Source0: http://downloads.sourceforge.net/freedroid/%{name}-%{version}.tar.gz |
d5b70e5c | 15 | # Source0-md5: 003a3f34619cfaa87add2030fea5d120 |
f1b7a85c JK |
16 | Source1: %{name}.desktop |
17 | Source2: %{name}.png | |
964d36c0 | 18 | Patch0: %{name}-build.patch |
f1b7a85c | 19 | URL: http://freedroid.sourceforge.net/ |
a729f8eb | 20 | BuildRequires: OpenGL-GLU-devel |
61aecaab | 21 | BuildRequires: OpenGL-devel |
f1b7a85c | 22 | BuildRequires: SDL-devel >= 1.2.3 |
8fd7921d | 23 | BuildRequires: SDL_gfx-devel |
f1b7a85c JK |
24 | BuildRequires: SDL_image-devel |
25 | BuildRequires: SDL_mixer-devel | |
73033b17 | 26 | BuildRequires: autoconf |
27 | BuildRequires: automake | |
6faeaf4d | 28 | BuildRequires: gettext-devel |
f1b7a85c JK |
29 | BuildRequires: libjpeg-devel |
30 | BuildRequires: libogg-devel | |
31 | BuildRequires: libpng-devel | |
32 | BuildRequires: libvorbis-devel | |
6faeaf4d | 33 | BuildRequires: rpm-pythonprov |
f1b7a85c JK |
34 | BuildRequires: zlib-devel |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
a65a3c0e JB |
38 | This game evolved as an extension of the arcade game Freedroid into an |
39 | RPG. | |
f1b7a85c | 40 | |
a65a3c0e JB |
41 | The MS has taken over the galaxy via their trojan horse OS that was |
42 | running everywhere. But twenty years after the MS took over, the Bots | |
43 | rebelled and attacked all life forms. Humans and Linarians (like the | |
44 | Tux) had to flee to some remote planets and now live underground, | |
45 | struggling to survive. | |
f1b7a85c | 46 | |
a65a3c0e | 47 | This is when some frustrated worker frees the Tux, who had been |
cd147f3a | 48 | imprisoned by the MS shortly before they took over government. |
a65a3c0e | 49 | |
9371fb76 | 50 | %description -l pl.UTF-8 |
953494fa | 51 | Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w |
52 | RPG. | |
a65a3c0e | 53 | |
953494fa | 54 | MS przejął kontrolę nad galaktyką korzystając z konia trojańskiego OS, |
55 | który rozpanoszył się po całym świecie. Ale dwadzieścia lat później | |
56 | Roboty MS zbuntowały się i zaatakowały wszystkie formy życia. Ludzie i | |
57 | Linarianie (jak Tux) musieli uciekać na odległe planety i żyją teraz w | |
58 | podziemiu, walcząc o przetrwanie. | |
a65a3c0e | 59 | |
953494fa | 60 | Akcja rozgrywa się w czasie, gdy pewien sfrustrowany pracownik uwalnia |
61 | Tuksa, który był uwięziony przez MS wkrótce przed objęciem przez nich | |
a729f8eb | 62 | rządów. |
f1b7a85c | 63 | |
cd147f3a | 64 | %package tools |
65 | Summary: Tools for freefroidrpg | |
1de4e407 | 66 | Summary(pl.UTF-8): Narzędzia dla freedroidrpg |
cd147f3a | 67 | Group: X11/Applications/Games |
68 | Requires: %{name} = %{version}-%{release} | |
69 | ||
70 | %description tools | |
71 | Item and dialog editor for freedroidrpg with other tools. | |
72 | ||
9371fb76 JR |
73 | %description tools -l pl.UTF-8 |
74 | Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi | |
75 | narzędziami. | |
cd147f3a | 76 | |
f1b7a85c | 77 | %prep |
e7b7d39e | 78 | %setup -q |
964d36c0 | 79 | %patch0 -p1 |
f1b7a85c JK |
80 | |
81 | %build | |
09297dc5 | 82 | %{__aclocal} -I m4 |
73033b17 | 83 | %{__autoconf} |
84 | %{__autoheader} | |
85 | %{__automake} | |
09297dc5 | 86 | %configure |
f1b7a85c JK |
87 | %{__make} |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
92 | ||
93 | %{__make} install \ | |
94 | DESTDIR=$RPM_BUILD_ROOT | |
95 | ||
96 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
97 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %files | |
103 | %defattr(644,root,root,755) | |
a729f8eb | 104 | %doc AUTHORS ChangeLog HELP_WANTED README |
cd147f3a | 105 | %attr(755,root,root) %{_bindir}/freedroidRPG |
f1b7a85c | 106 | %{_datadir}/%{name} |
6f3cbbc2 | 107 | %{_desktopdir}/%{name}.desktop |
108 | %{_pixmapsdir}/%{name}.png | |
88d41ea5 | 109 | %{_mandir}/man6/freedroidRPG.6* |
cd147f3a | 110 | |
111 | %if %{with tools} | |
112 | %files tools | |
113 | %defattr(644,root,root,755) | |
cd147f3a | 114 | %attr(755,root,root) %{_bindir}/croppy |
88d41ea5 | 115 | %attr(755,root,root) %{_bindir}/explode_atlas |
116 | %attr(755,root,root) %{_bindir}/explodefont | |
117 | %attr(755,root,root) %{_bindir}/gluefont | |
118 | %attr(755,root,root) %{_bindir}/make_atlas | |
cd147f3a | 119 | %attr(755,root,root) %{_bindir}/pngtoico |
120 | %endif |