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: 883296ef199cbf47334d52d8b5d61886
16 Source1: http://dl.sourceforge.net/crossfire/%{name}-sounds-%{sndver}.tar.gz
17 # Source1-md5: b990e5e3bf321211312cba48fb885142
18 Source2: http://dl.sourceforge.net/crossfire/%{name}-images-%{imgver}.tar.gz
19 # Source2-md5: 496ccabc31e773349ccc679812f66f7b
20 URL: http://crossfire.real-time.com/
21 BuildRequires: OpenGL-glut-devel
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: pkgconfig
31 BuildRequires: xorg-lib-libICE-devel
32 BuildRequires: xorg-lib-libX11-devel
33 BuildRequires: xorg-lib-libXext-devel
34 Requires: %{name}-common = %{version}-%{release}
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 X11 client to crossfire.
40 Crossfire is a multiplayer graphical arcade and adventure game made
41 for the X-Window environment. There are also Windows and Java clients
44 It has certain flavours from other games, especially Gauntlet (TM) and
47 Any number of players can move around in their own window, finding and
48 sing items and battle monsters. They can choose to cooperate or
49 compete in the same "world".
51 %description -l pl.UTF-8
52 Klient Crossfire pod X11.
54 Crossfire to graficzna gra przygodowa dla środowiska X-Window. Są
55 także dostępni klienci pod Windows i w Javie. Łączy cechy z kilku
56 gier, głównie Gauntleta i Nethacka/Morii.
58 Dowolna liczba graczy może się poruszać w swoich oknach, szukając
59 przedmiotów i walcząc z potworami. Mogą grać w kooperacji lub
60 przeciwko sobie w tym samym "świecie".
63 Summary: Crossfire sounds
64 Summary(pl.UTF-8): Dźwięki do Crossfire
65 Group: Applications/Games
66 Requires: %{name}-common = %{version}-%{release}
69 Some sound files and the sound server for crossfire.
71 %description sounds -l pl.UTF-8
72 Pliki dźwiękowe i serwer dźwięku dla Crossfire.
75 Summary: GTK+ Crossfire client
76 Summary(pl.UTF-8): Klient Crossfire pod GTK+
77 Group: Applications/Games
78 Requires: %{name}-common = %{version}-%{release}
81 GTK+ client to crossfire.
83 Crossfire is a multiplayer graphical arcade and adventure game made
84 for the X-Window environment. There are also Windows and Java clients
87 It has certain flavours from other games, especially Gauntlet (TM) and
90 Any number of players can move around in their own window, finding and
91 sing items and battle monsters. They can choose to cooperate or
92 compete in the same "world".
94 %description gtk -l pl.UTF-8
95 Klient Crossfire pod GTK+.
97 Crossfire to graficzna gra przygodowa dla środowiska X-Window. Są
98 także dostępni klienci pod Windows i w Javie. Łączy cechy z kilku
99 gier, głównie Gauntleta i Nethacka/Morii.
101 Dowolna liczba graczy może się poruszać w swoich oknach, szukając
102 przedmiotów i walcząc z potworami. Mogą grać w kooperacji lub
103 przeciwko sobie w tym samym "świecie".
106 Summary: GTK+2 Crossfire client
107 Summary(pl.UTF-8): Klient Crossfire pod GTK+2
108 Group: Applications/Games
109 Requires: %{name}-common = %{version}-%{release}
112 GTK+2 client to crossfire.
114 Crossfire is a multiplayer graphical arcade and adventure game made
115 for the X-Window environment. There are also Windows and Java clients
118 It has certain flavours from other games, especially Gauntlet (TM) and
121 Any number of players can move around in their own window, finding and
122 sing items and battle monsters. They can choose to cooperate or
123 compete in the same "world".
125 %description gtk2 -l pl.UTF-8
126 Klient Crossfire pod GTK+2.
128 Crossfire to graficzna gra przygodowa dla środowiska X-Window. Są
129 także dostępni klienci pod Windows i w Javie. Łączy cechy z kilku
130 gier, głównie Gauntleta i Nethacka/Morii.
132 Dowolna liczba graczy może się poruszać w swoich oknach, szukając
133 przedmiotów i walcząc z potworami. Mogą grać w kooperacji lub
134 przeciwko sobie w tym samym "świecie".
137 Summary: Crossfire images
138 Summary(pl.UTF-8): Obrazki do Crossfire
139 Group: Applications/Games
140 Requires: %{name}-common = %{version}-%{release}
143 Some images extracted from server for Crossfire.
145 %description images -l pl.UTF-8
146 Trochę obrazków wyciągniętych z serwera do Crossfire.
149 Summary: Common Crossfire clients files
150 Summary(pl.UTF-8): Pliki wspólne wszystkich klientów Crossfire
151 Group: Applications/Games
154 This package includes files common to all Crossfire clients.
156 %description common -l pl.UTF-8
157 Ten pakiet zawiera pliki wspólne dla wszystkich klientów Crossfire.
161 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