]> git.pld-linux.org Git - packages/freedroidrpg.git/blob - freedroidrpg.spec
- 0.10.1
[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.1
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:  9dca80c732df55ea28268f07f587fb63
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 %build
72 %configure
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
83 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog README
91 %attr(755,root,root) %{_bindir}/freedroidRPG
92 %{_datadir}/%{name}
93 %{_desktopdir}/*.desktop
94 %{_pixmapsdir}/*
95 %{_mandir}/man6/*
96
97 %if %{with tools}
98 %files tools
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/*Editor
101 %attr(755,root,root) %{_bindir}/croppy
102 %attr(755,root,root) %{_bindir}/pngtoico
103 %endif
This page took 0.087782 seconds and 4 git commands to generate.