]> git.pld-linux.org Git - packages/freedroidrpg.git/blame - freedroidrpg.spec
- rebuild with SDL_gfx 2.0.26
[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
69%if "%{_rpmversion}" >= "5"
70BuildArch: noarch
71%endif
72
73%description data
74Data files for the freedroidrpg game.
75
cd147f3a 76%package tools
77Summary: Tools for freefroidrpg
1de4e407 78Summary(pl.UTF-8): Narzędzia dla freedroidrpg
cd147f3a 79Group: X11/Applications/Games
80Requires: %{name} = %{version}-%{release}
81
82%description tools
83Item and dialog editor for freedroidrpg with other tools.
84
9371fb76
JR
85%description tools -l pl.UTF-8
86Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi
87narzędziami.
cd147f3a 88
f1b7a85c 89%prep
e7b7d39e 90%setup -q
964d36c0 91%patch0 -p1
f1b7a85c
JK
92
93%build
09297dc5 94%{__aclocal} -I m4
73033b17 95%{__autoconf}
96%{__autoheader}
97%{__automake}
09297dc5 98%configure
f1b7a85c
JK
99%{__make}
100
101%install
102rm -rf $RPM_BUILD_ROOT
103install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
f1b7a85c
JK
104%{__make} install \
105 DESTDIR=$RPM_BUILD_ROOT
106
e701d7b5
ER
107cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
108cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
f1b7a85c
JK
109
110%clean
111rm -rf $RPM_BUILD_ROOT
112
113%files
114%defattr(644,root,root,755)
a729f8eb 115%doc AUTHORS ChangeLog HELP_WANTED README
cd147f3a 116%attr(755,root,root) %{_bindir}/freedroidRPG
6f3cbbc2 117%{_desktopdir}/%{name}.desktop
118%{_pixmapsdir}/%{name}.png
88d41ea5 119%{_mandir}/man6/freedroidRPG.6*
cd147f3a 120
e701d7b5
ER
121%files data
122%defattr(644,root,root,755)
123%{_datadir}/%{name}
124
cd147f3a 125%if %{with tools}
126%files tools
127%defattr(644,root,root,755)
cd147f3a 128%attr(755,root,root) %{_bindir}/croppy
88d41ea5 129%attr(755,root,root) %{_bindir}/explode_atlas
130%attr(755,root,root) %{_bindir}/explodefont
131%attr(755,root,root) %{_bindir}/gluefont
132%attr(755,root,root) %{_bindir}/make_atlas
cd147f3a 133%attr(755,root,root) %{_bindir}/pngtoico
134%endif
This page took 0.106268 seconds and 4 git commands to generate.