]> git.pld-linux.org Git - packages/freedroidrpg.git/blob - freedroidrpg.spec
- tabs in preamble
[packages/freedroidrpg.git] / freedroidrpg.spec
1 #
2 # Conditional build
3 %bcond_without  tools   # without game tools
4 #
5 Summary:        Single player sci-fi RPG featuring Tux and evil MS bots
6 Summary(pl.UTF-8):      RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS
7 Name:           freedroidrpg
8 Version:        0.10.0
9 Release:        1
10 License:        GPL v2+
11 Group:          X11/Applications/Games
12 Source0:        http://dl.sourceforge.net/freedroid/%{name}-%{version}.tar.bz2
13 # Source0-md5:  4e4186829f69f91d3cea9acb023568b9
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
30 This game evolved as an extension of the arcade game Freedroid into an
31 RPG.
32
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.
38
39 This is when some frustrated worker frees the Tux, who had been
40 imprisoned by the MS shortly before they took over government.
41
42 %description -l pl.UTF-8
43 Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w
44 RPG.
45
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
50 przetrwanie.
51
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.
54
55 %package tools
56 Summary:        Tools for freefroidrpg
57 Summary(pl.UTF-8):      Narzędzia dla freedroidrpg
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
64 %description tools -l pl.UTF-8
65 Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi
66 narzędziami.
67
68 %prep
69 %setup -q
70
71 #Does anybody has better idea?
72 %build
73 rm -f {config.sub,depcomp,install-sh}
74 cp -f /usr/share/automake/{config.sub,install-sh,depcomp} .
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)
93 %doc AUTHORS 
94 %attr(755,root,root) %{_bindir}/freedroidRPG
95 %{_datadir}/%{name}
96 %{_desktopdir}/*.desktop
97 %{_pixmapsdir}/*
98 %{_mandir}/man6/*
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.073726 seconds and 4 git commands to generate.