3 %bcond_without images # don't build images package
7 Summary: Crossfire client
8 Summary(pl.UTF-8): Klient Crossfire
13 Group: Applications/Games
14 Source0: http://dl.sourceforge.net/crossfire/%{name}-%{version}.tar.gz
15 # Source0-md5: e7084c22c1f2074c95fe34331ac2ceae
16 Source1: http://dl.sourceforge.net/crossfire/%{name}-sounds-%{sndver}.tar.gz
17 # Source1-md5: f996c3220d505098a4a226f92902b002
18 Source2: http://dl.sourceforge.net/crossfire/%{name}-images-%{imgver}.tar.gz
19 # Source2-md5: b2766880d5dffbf24ae98b8ca07cb89f
20 URL: http://crossfire.real-time.com/
21 Patch0: %{name}-gl.patch
22 BuildRequires: SDL-devel
23 BuildRequires: SDL_image-devel
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: gtk+-devel
27 BuildRequires: gtk+2-devel
28 BuildRequires: libtool
29 BuildRequires: perl-base
30 BuildRequires: xorg-lib-libX11-devel
31 BuildRequires: xorg-lib-libXext-devel
32 # next 2 probably unneeded
33 BuildRequires: xorg-lib-libSM-devel
34 BuildRequires: xorg-lib-libICE-devel
35 Requires: %{name}-common = %{version}-%{release}
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 X11 client to crossfire.
41 Crossfire is a multiplayer graphical arcade and adventure game made
42 for the X-Window environment. There are also Windows and Java clients
45 It has certain flavours from other games, especially Gauntlet (TM) and
48 Any number of players can move around in their own window, finding and
49 sing items and battle monsters. They can choose to cooperate or
50 compete in the same "world".
52 %description -l pl.UTF-8
53 Klient Crossfire pod X11.
55 Crossfire to graficzna gra przygodowa dla środowiska X-Window. Są
56 także dostępni klienci pod Windows i w Javie. Łączy cechy z kilku
57 gier, głównie Gauntleta i Nethacka/Morii.
59 Dowolna liczba graczy może się poruszać w swoich oknach, szukając
60 przedmiotów i walcząc z potworami. Mogą grać w kooperacji lub
61 przeciwko sobie w tym samym "świecie".
64 Summary: Crossfire sounds
65 Summary(pl.UTF-8): Dźwięki do Crossfire
66 Group: Applications/Games
67 Requires: %{name}-common = %{version}-%{release}
70 Some sound files and the sound server for crossfire.
72 %description sounds -l pl.UTF-8
73 Pliki dźwiękowe i serwer dźwięku dla Crossfire.
76 Summary: GTK+ Crossfire client
77 Summary(pl.UTF-8): Klient Crossfire pod GTK+
78 Group: Applications/Games
79 Requires: %{name}-common = %{version}-%{release}
82 GTK+ client to crossfire.
84 Crossfire is a multiplayer graphical arcade and adventure game made
85 for the X-Window environment. There are also Windows and Java clients
88 It has certain flavours from other games, especially Gauntlet (TM) and
91 Any number of players can move around in their own window, finding and
92 sing items and battle monsters. They can choose to cooperate or
93 compete in the same "world".
95 %description gtk -l pl.UTF-8
96 Klient Crossfire pod GTK+.
98 Crossfire to graficzna gra przygodowa dla środowiska X-Window. Są
99 także dostępni klienci pod Windows i w Javie. Łączy cechy z kilku
100 gier, głównie Gauntleta i Nethacka/Morii.
102 Dowolna liczba graczy może się poruszać w swoich oknach, szukając
103 przedmiotów i walcząc z potworami. Mogą grać w kooperacji lub
104 przeciwko sobie w tym samym "świecie".
107 Summary: GTK+2 Crossfire client
108 Summary(pl.UTF-8): Klient Crossfire pod GTK+2
109 Group: Applications/Games
110 Requires: %{name}-common = %{version}-%{release}
113 GTK+2 client to crossfire.
115 Crossfire is a multiplayer graphical arcade and adventure game made
116 for the X-Window environment. There are also Windows and Java clients
119 It has certain flavours from other games, especially Gauntlet (TM) and
122 Any number of players can move around in their own window, finding and
123 sing items and battle monsters. They can choose to cooperate or
124 compete in the same "world".
126 %description gtk2 -l pl.UTF-8
127 Klient Crossfire pod GTK+2.
129 Crossfire to graficzna gra przygodowa dla środowiska X-Window. Są
130 także dostępni klienci pod Windows i w Javie. Łączy cechy z kilku
131 gier, głównie Gauntleta i Nethacka/Morii.
133 Dowolna liczba graczy może się poruszać w swoich oknach, szukając
134 przedmiotów i walcząc z potworami. Mogą grać w kooperacji lub
135 przeciwko sobie w tym samym "świecie".
138 Summary: Crossfire images
139 Summary(pl.UTF-8): Obrazki do Crossfire
140 Group: Applications/Games
141 Requires: %{name}-common = %{version}-%{release}
144 Some images extracted from server for Crossfire.
146 %description images -l pl.UTF-8
147 Trochę obrazków wyciągniętych z serwera do Crossfire.
150 Summary: Common Crossfire clients files
151 Summary(pl.UTF-8): Pliki wspólne wszystkich klientów Crossfire
152 Group: Applications/Games
155 This package includes files common to all Crossfire clients.
157 %description common -l pl.UTF-8
158 Ten pakiet zawiera pliki wspólne dla wszystkich klientów Crossfire.
162 mv -f sounds cfsounds
177 %{?debug:--enable-debug} \
179 --with-sound-dir=%{_datadir}/%{name}/sounds
180 %{__perl} -i -p -e 's/\#define HAVE_DMALLOC_H 1/\/\* \#undef HAVE_DMALLOC_H \*\//' common/config.h
184 rm -rf $RPM_BUILD_ROOT
185 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/sounds}
188 DESTDIR=$RPM_BUILD_ROOT
189 install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds/
191 install images/bmaps.client images/crossfire.base images/crossfire.clsc \
192 $RPM_BUILD_ROOT%{_datadir}/%{name}
196 rm -rf $RPM_BUILD_ROOT
199 %defattr(644,root,root,755)
200 %attr(755,root,root) %{_bindir}/cfclient
204 %defattr(644,root,root,755)
205 %doc ChangeLog README
206 %dir %{_datadir}/%{name}
209 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_bindir}/cfsndserv*
212 %{_datadir}/%{name}/sounds
216 %defattr(644,root,root,755)
217 %{_datadir}/%{name}/bmaps.client
218 %{_datadir}/%{name}/crossfire.base
219 %{_datadir}/%{name}/crossfire.clsc
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_bindir}/gcfclient
225 %{_mandir}/man?/gcfclient.*
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_bindir}/gcfclient2