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