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