]> git.pld-linux.org Git - packages/freedroidrpg.git/blame - freedroidrpg.spec
- quote CC (-build.patch)
[packages/freedroidrpg.git] / freedroidrpg.spec
CommitLineData
f1b7a85c 1#
a729f8eb 2# TODO: - use our lua lib
3#
cd147f3a 4# Conditional build
5%bcond_without tools # without game tools
f1b7a85c
JK
6#
7Summary: Single player sci-fi RPG featuring Tux and evil MS bots
1de4e407 8Summary(pl.UTF-8): RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS
f1b7a85c 9Name: freedroidrpg
d5b70e5c 10Version: 0.15
964d36c0 11Release: 3
cd147f3a 12License: GPL v2+
f1b7a85c 13Group: X11/Applications/Games
41ac7a8d 14Source0: http://downloads.sourceforge.net/freedroid/%{name}-%{version}.tar.gz
d5b70e5c 15# Source0-md5: 003a3f34619cfaa87add2030fea5d120
f1b7a85c
JK
16Source1: %{name}.desktop
17Source2: %{name}.png
964d36c0 18Patch0: %{name}-build.patch
f1b7a85c 19URL: http://freedroid.sourceforge.net/
a729f8eb 20BuildRequires: OpenGL-GLU-devel
61aecaab 21BuildRequires: OpenGL-devel
f1b7a85c 22BuildRequires: SDL-devel >= 1.2.3
8fd7921d 23BuildRequires: SDL_gfx-devel
f1b7a85c
JK
24BuildRequires: SDL_image-devel
25BuildRequires: SDL_mixer-devel
73033b17 26BuildRequires: autoconf
27BuildRequires: automake
6faeaf4d 28BuildRequires: gettext-devel
f1b7a85c
JK
29BuildRequires: libjpeg-devel
30BuildRequires: libogg-devel
31BuildRequires: libpng-devel
32BuildRequires: libvorbis-devel
6faeaf4d 33BuildRequires: rpm-pythonprov
f1b7a85c
JK
34BuildRequires: zlib-devel
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
a65a3c0e
JB
38This game evolved as an extension of the arcade game Freedroid into an
39RPG.
f1b7a85c 40
a65a3c0e
JB
41The MS has taken over the galaxy via their trojan horse OS that was
42running everywhere. But twenty years after the MS took over, the Bots
43rebelled and attacked all life forms. Humans and Linarians (like the
44Tux) had to flee to some remote planets and now live underground,
45struggling to survive.
f1b7a85c 46
a65a3c0e 47This is when some frustrated worker frees the Tux, who had been
cd147f3a 48imprisoned by the MS shortly before they took over government.
a65a3c0e 49
9371fb76 50%description -l pl.UTF-8
953494fa 51Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w
52RPG.
a65a3c0e 53
953494fa 54MS przejął kontrolę nad galaktyką korzystając z konia trojańskiego OS,
55który rozpanoszył się po całym świecie. Ale dwadzieścia lat później
56Roboty MS zbuntowały się i zaatakowały wszystkie formy życia. Ludzie i
57Linarianie (jak Tux) musieli uciekać na odległe planety i żyją teraz w
58podziemiu, walcząc o przetrwanie.
a65a3c0e 59
953494fa 60Akcja rozgrywa się w czasie, gdy pewien sfrustrowany pracownik uwalnia
61Tuksa, który był uwięziony przez MS wkrótce przed objęciem przez nich
a729f8eb 62rządów.
f1b7a85c 63
cd147f3a 64%package tools
65Summary: Tools for freefroidrpg
1de4e407 66Summary(pl.UTF-8): Narzędzia dla freedroidrpg
cd147f3a 67Group: X11/Applications/Games
68Requires: %{name} = %{version}-%{release}
69
70%description tools
71Item and dialog editor for freedroidrpg with other tools.
72
9371fb76
JR
73%description tools -l pl.UTF-8
74Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi
75narzę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
90rm -rf $RPM_BUILD_ROOT
91install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
96install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
97install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
98
99%clean
100rm -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
This page took 0.08492 seconds and 4 git commands to generate.