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