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