3 %bcond_without images # don't build images package
7 Summary: Crossfire client
8 Summary(pl): 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: xorg-lib-libX11-devel
25 BuildRequires: xorg-lib-libXext-devel
26 # next 2 probably unneeded
27 BuildRequires: xorg-lib-libSM-devel
28 BuildRequires: xorg-lib-libICE-devel
29 BuildRequires: autoconf
30 BuildRequires: gtk+-devel
31 BuildRequires: gtk+2-devel
32 BuildRequires: perl-base
33 Requires: %{name}-common = %{version}-%{release}
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 X11 client to crossfire.
39 Crossfire is a multiplayer graphical arcade and adventure game made
40 for the X-Window environment. There are also Windows and Java clients
43 It has certain flavours from other games, especially Gauntlet (TM) and
46 Any number of players can move around in their own window, finding and
47 sing items and battle monsters. They can choose to cooperate or
48 compete in the same "world".
51 Klient Crossfire pod X11.
53 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
54 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
55 gier, g³ównie Gauntleta i Nethacka/Morii.
57 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
58 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
59 przeciwko sobie w tym samym "¶wiecie".
62 Summary: Crossfire sounds
63 Summary(pl): D¼wiêki do Crossfire
64 Group: Applications/Games
65 Requires: %{name}-common = %{version}-%{release}
68 Some sound files and the sound server for crossfire.
70 %description sounds -l pl
71 Pliki d¼wiêkowe i serwer d¼wiêku dla Crossfire.
74 Summary: GTK+ Crossfire client
75 Summary(pl): Klient Crossfire pod GTK+
76 Group: Applications/Games
77 Requires: %{name}-common = %{version}-%{release}
80 GTK+ client to crossfire.
82 Crossfire is a multiplayer graphical arcade and adventure game made
83 for the X-Window environment. There are also Windows and Java clients
86 It has certain flavours from other games, especially Gauntlet (TM) and
89 Any number of players can move around in their own window, finding and
90 sing items and battle monsters. They can choose to cooperate or
91 compete in the same "world".
93 %description gtk -l pl
94 Klient Crossfire pod GTK+.
96 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
97 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
98 gier, g³ównie Gauntleta i Nethacka/Morii.
100 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
101 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
102 przeciwko sobie w tym samym "¶wiecie".
105 Summary: GTK+2 Crossfire client
106 Summary(pl): Klient Crossfire pod GTK+2
107 Group: Applications/Games
108 Requires: %{name}-common = %{version}-%{release}
111 GTK+2 client to crossfire.
113 Crossfire is a multiplayer graphical arcade and adventure game made
114 for the X-Window environment. There are also Windows and Java clients
117 It has certain flavours from other games, especially Gauntlet (TM) and
120 Any number of players can move around in their own window, finding and
121 sing items and battle monsters. They can choose to cooperate or
122 compete in the same "world".
124 %description gtk2 -l pl
125 Klient Crossfire pod GTK+2.
127 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
128 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
129 gier, g³ównie Gauntleta i Nethacka/Morii.
131 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
132 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
133 przeciwko sobie w tym samym "¶wiecie".
136 Summary: Crossfire images
137 Summary(pl): Obrazki do Crossfire
138 Group: Applications/Games
139 Requires: %{name}-common = %{version}-%{release}
142 Some images extracted from server for Crossfire.
144 %description images -l pl
145 Trochê obrazków wyci±gniêtych z serwera do Crossfire.
148 Summary: Common Crossfire clients files
149 Summary(pl): Pliki wspólne wszystkich klientów Crossfire
150 Group: Applications/Games
153 This package includes files common to all Crossfire clients.
155 %description common -l pl
156 Ten pakiet zawiera pliki wspólne dla wszystkich klientów Crossfire.
160 mv -f sounds cfsounds
175 %{?debug:--enable-debug} \
177 --with-sound-dir=%{_datadir}/%{name}/sounds
178 %{__perl} -i -p -e 's/\#define HAVE_DMALLOC_H 1/\/\* \#undef HAVE_DMALLOC_H \*\//' common/config.h
182 rm -rf $RPM_BUILD_ROOT
183 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/sounds}
186 DESTDIR=$RPM_BUILD_ROOT
187 install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds/
189 install images/bmaps.client images/crossfire.base images/crossfire.clsc \
190 $RPM_BUILD_ROOT%{_datadir}/%{name}
194 rm -rf $RPM_BUILD_ROOT
197 %defattr(644,root,root,755)
198 %attr(755,root,root) %{_bindir}/cfclient
202 %defattr(644,root,root,755)
203 %doc ChangeLog README
204 %dir %{_datadir}/%{name}
207 %defattr(644,root,root,755)
209 %attr(755,root,root) %{_bindir}/cfsndserv*
210 %{_datadir}/%{name}/sounds
214 %defattr(644,root,root,755)
215 %{_datadir}/%{name}/bmaps.client
216 %{_datadir}/%{name}/crossfire.base
217 %{_datadir}/%{name}/crossfire.clsc
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_bindir}/gcfclient
223 %{_mandir}/man?/gcfclient.*
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_bindir}/gcfclient2