]> git.pld-linux.org Git - packages/freedroidrpg.git/blame - freedroidrpg.spec
- unconditional noarch subpackages
[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
e701d7b5 6
f1b7a85c 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
9f0ac9ca 11Release: 6
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
7c15acfa 28BuildRequires: gettext-tools
f1b7a85c
JK
29BuildRequires: libjpeg-devel
30BuildRequires: libogg-devel
31BuildRequires: libpng-devel
32BuildRequires: libvorbis-devel
6faeaf4d 33BuildRequires: rpm-pythonprov
f1b7a85c 34BuildRequires: zlib-devel
e701d7b5 35Requires: %{name}-data = %{version}-%{release}
f1b7a85c
JK
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
a65a3c0e
JB
39This game evolved as an extension of the arcade game Freedroid into an
40RPG.
f1b7a85c 41
a65a3c0e
JB
42The MS has taken over the galaxy via their trojan horse OS that was
43running everywhere. But twenty years after the MS took over, the Bots
44rebelled and attacked all life forms. Humans and Linarians (like the
45Tux) had to flee to some remote planets and now live underground,
46struggling to survive.
f1b7a85c 47
a65a3c0e 48This is when some frustrated worker frees the Tux, who had been
cd147f3a 49imprisoned by the MS shortly before they took over government.
a65a3c0e 50
9371fb76 51%description -l pl.UTF-8
953494fa 52Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w
53RPG.
a65a3c0e 54
953494fa 55MS przejął kontrolę nad galaktyką korzystając z konia trojańskiego OS,
56który rozpanoszył się po całym świecie. Ale dwadzieścia lat później
57Roboty MS zbuntowały się i zaatakowały wszystkie formy życia. Ludzie i
58Linarianie (jak Tux) musieli uciekać na odległe planety i żyją teraz w
59podziemiu, walcząc o przetrwanie.
a65a3c0e 60
953494fa 61Akcja rozgrywa się w czasie, gdy pewien sfrustrowany pracownik uwalnia
62Tuksa, który był uwięziony przez MS wkrótce przed objęciem przez nich
a729f8eb 63rządów.
f1b7a85c 64
e701d7b5
ER
65%package data
66Summary: Data files for the freedroidrpg game
67Group: Applications/Games
68# noarch subpackages only when building with rpm5
e701d7b5 69BuildArch: noarch
e701d7b5
ER
70
71%description data
72Data files for the freedroidrpg game.
73
cd147f3a 74%package tools
75Summary: Tools for freefroidrpg
1de4e407 76Summary(pl.UTF-8): Narzędzia dla freedroidrpg
cd147f3a 77Group: X11/Applications/Games
78Requires: %{name} = %{version}-%{release}
79
80%description tools
81Item and dialog editor for freedroidrpg with other tools.
82
9371fb76
JR
83%description tools -l pl.UTF-8
84Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi
85narzę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
100rm -rf $RPM_BUILD_ROOT
101install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
f1b7a85c
JK
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT
104
e701d7b5
ER
105cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
106cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
f1b7a85c
JK
107
108%clean
109rm -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
This page took 0.085304 seconds and 4 git commands to generate.