3 Summary: Crossfire client
4 Summary(pl): Klient Crossfire
9 Group: Applications/Games
10 Source0: http://dl.sourceforge.net/crossfire/%{name}-%{version}.tar.gz
11 # Source0-md5: ef405f78d54be0bf22feeef6b4fc0d73
12 Source1: http://dl.sourceforge.net/crossfire/%{name}-sounds-%{sndver}.tar.gz
13 # Source1-md5: 1b33401d9d2af0d391fee7ad04282cfd
14 Source2: http://dl.sourceforge.net/crossfire/%{name}-images-%{imgver}.tar.gz
15 # Source2-md5: cbf4b4480bd6fd28cf0e71a06b288127
16 Patch0: %{name}-big_endian.patch
17 Patch1: %{name}-memleak.patch
18 Patch2: %{name}-sdl_free.patch
19 Patch3: %{name}-sdl_darkness.patch
20 URL: http://crossfire.real-time.com/
21 BuildRequires: SDL-devel
22 BuildRequires: SDL_image-devel
23 BuildRequires: XFree86-devel
24 BuildRequires: autoconf
25 BuildRequires: gtk+-devel
27 Requires: %{name}-common = %{version}
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 X11 client to crossfire.
33 Crossfire is a multiplayer graphical arcade and adventure game made
34 for the X-Window environment. There are also Windows and Java clients
37 It has certain flavours from other games, especially Gauntlet (TM) and
40 Any number of players can move around in their own window, finding and
41 sing items and battle monsters. They can choose to cooperate or
42 compete in the same "world".
45 Klient Crossfire pod X11.
47 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
48 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
49 gier, g³ównie Gauntleta i Nethacka/Morii.
51 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
52 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
53 przeciwko sobie w tym samym "¶wiecie".
56 Summary: Crossfire sounds
57 Summary(pl): D¼wiêki do Crossfire
58 Group: Applications/Games
59 Requires: %{name}-common = %{version}
62 Some sound files and the sound server for crossfire.
64 %description sounds -l pl
65 Pliki d¼wiêkowe i serwer d¼wiêku dla Crossfire.
68 Summary: GTK Crossfire client
69 Summary(pl): Klient Crossfire pod GTK
70 Group: Applications/Games
71 Requires: %{name}-common = %{version}
74 GTK client to crossfire.
76 Crossfire is a multiplayer graphical arcade and adventure game made
77 for the X-Window environment. There are also Windows and Java clients
80 It has certain flavours from other games, especially Gauntlet (TM) and
83 Any number of players can move around in their own window, finding and
84 sing items and battle monsters. They can choose to cooperate or
85 compete in the same "world".
87 %description gtk -l pl
88 Klient Crossfire pod GTK.
90 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
91 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
92 gier, g³ównie Gauntleta i Nethacka/Morii.
94 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
95 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
96 przeciwko sobie w tym samym "¶wiecie".
99 Summary: Crossfire images
100 Summary(pl): Obrazki do Crossfire
101 Group: Applications/Games
102 Requires: %{name}-common = %{version}
105 Some images extracted from server for Crossfire.
107 %description images -l pl
108 Trochê obrazków wyci±gniêtych z serwera do Crossfire.
111 Summary: Common Crossfire clients files
112 Summary(pl): Pliki wspólne wszystkich klientów Crossfire
113 Group: Applications/Games
116 This package includes files common to all Crossfire clients.
118 %description common -l pl
119 Ten pakiet zawiera pliki wspólne dla wszystkich klientów Crossfire.
127 mv -f sounds cfsounds
128 %if %{?_without_images:0}%{?!_without_images:1}
137 %{?debug:--enable-debug} \
139 --with-sound-dir=%{_datadir}/%{name}/sounds
140 perl -i -p -e 's/\#define HAVE_DMALLOC_H 1/\/\* \#undef HAVE_DMALLOC_H \*\//' common/config.h
144 rm -rf $RPM_BUILD_ROOT
145 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/sounds}
147 install x11/cfclient gtk/gcfclient sound-src/cfsndserv $RPM_BUILD_ROOT%{_bindir}
148 install x11/cfclient.man $RPM_BUILD_ROOT%{_mandir}/man1/cfclient.1
149 install gtk/gcfclient.man $RPM_BUILD_ROOT%{_mandir}/man1/gcfclient.1
150 install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds/
151 %if %{?_without_images:0}%{?!_without_images:1}
152 install images/bmaps.client images/crossfire.base images/crossfire.clsc \
153 $RPM_BUILD_ROOT%{_datadir}/%{name}
157 rm -rf $RPM_BUILD_ROOT
160 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_bindir}/cfclient
165 %defattr(644,root,root,755)
167 %dir %{_datadir}/%{name}
170 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_bindir}/cfsndserv
173 %{_datadir}/%{name}/sounds
175 %if %{?_without_images:0}%{?!_without_images:1}
177 %defattr(644,root,root,755)
178 %{_datadir}/%{name}/bmaps.client
179 %{_datadir}/%{name}/crossfire.base
180 %{_datadir}/%{name}/crossfire.clsc
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_bindir}/g*