]> git.pld-linux.org Git - packages/freedroidrpg.git/blob - freedroidrpg.spec
011e7bc67c0977545c8dd40bfde137f3a8eb1c85
[packages/freedroidrpg.git] / freedroidrpg.spec
1 #
2 # TODO: - use our lua lib
3 #
4 # Conditional build
5 %bcond_without  tools   # without game tools
6 #
7 Summary:        Single player sci-fi RPG featuring Tux and evil MS bots
8 Summary(pl.UTF-8):      RPG z gatunku s-f dla jednego gracza z Tuksem i złymi robotami MS
9 Name:           freedroidrpg
10 Version:        0.15
11 Release:        2
12 License:        GPL v2+
13 Group:          X11/Applications/Games
14 Source0:        http://downloads.sourceforge.net/freedroid/%{name}-%{version}.tar.gz
15 # Source0-md5:  003a3f34619cfaa87add2030fea5d120
16 Source1:        %{name}.desktop
17 Source2:        %{name}.png
18 URL:            http://freedroid.sourceforge.net/
19 BuildRequires:  OpenGL-GLU-devel
20 BuildRequires:  OpenGL-devel
21 BuildRequires:  SDL-devel >= 1.2.3
22 BuildRequires:  SDL_gfx-devel
23 BuildRequires:  SDL_image-devel
24 BuildRequires:  SDL_mixer-devel
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRequires:  gettext-devel
28 BuildRequires:  libjpeg-devel
29 BuildRequires:  libogg-devel
30 BuildRequires:  libpng-devel
31 BuildRequires:  libvorbis-devel
32 BuildRequires:  rpm-pythonprov
33 BuildRequires:  zlib-devel
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This game evolved as an extension of the arcade game Freedroid into an
38 RPG.
39
40 The MS has taken over the galaxy via their trojan horse OS that was
41 running everywhere. But twenty years after the MS took over, the Bots
42 rebelled and attacked all life forms. Humans and Linarians (like the
43 Tux) had to flee to some remote planets and now live underground,
44 struggling to survive.
45
46 This is when some frustrated worker frees the Tux, who had been
47 imprisoned by the MS shortly before they took over government.
48
49 %description -l pl.UTF-8
50 Ta gra wyewoluowała jako rozszerzenie gry zręcznościowej Freedroid w
51 RPG.
52
53 MS przejął kontrolę nad galaktyką korzystając z konia trojańskiego OS,
54 który rozpanoszył się po całym świecie. Ale dwadzieścia lat później
55 Roboty MS zbuntowały się i zaatakowały wszystkie formy życia. Ludzie i
56 Linarianie (jak Tux) musieli uciekać na odległe planety i żyją teraz w
57 podziemiu, walcząc o przetrwanie.
58
59 Akcja rozgrywa się w czasie, gdy pewien sfrustrowany pracownik uwalnia
60 Tuksa, który był uwięziony przez MS wkrótce przed objęciem przez nich
61 rządów.
62
63 %package tools
64 Summary:        Tools for freefroidrpg
65 Summary(pl.UTF-8):      Narzędzia dla freedroidrpg
66 Group:          X11/Applications/Games
67 Requires:       %{name} = %{version}-%{release}
68
69 %description tools
70 Item and dialog editor for freedroidrpg with other tools.
71
72 %description tools -l pl.UTF-8
73 Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi
74 narzędziami.
75
76 %prep
77 %setup -q
78
79 %build
80 %{__aclocal} -I m4
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
95 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog HELP_WANTED README
103 %attr(755,root,root) %{_bindir}/freedroidRPG
104 %{_datadir}/%{name}
105 %{_desktopdir}/%{name}.desktop
106 %{_pixmapsdir}/%{name}.png
107 %{_mandir}/man6/freedroidRPG.6*
108
109 %if %{with tools}
110 %files tools
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/croppy
113 %attr(755,root,root) %{_bindir}/explode_atlas
114 %attr(755,root,root) %{_bindir}/explodefont
115 %attr(755,root,root) %{_bindir}/gluefont
116 %attr(755,root,root) %{_bindir}/make_atlas
117 %attr(755,root,root) %{_bindir}/pngtoico
118 %endif
This page took 0.204083 seconds and 2 git commands to generate.