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