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