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 Source1: http://dl.sourceforge.net/crossfire/%{name}-sounds-%{sndver}.tar.gz
12 # Source1-md5: 1b33401d9d2af0d391fee7ad04282cfd
13 Source2: http://dl.sourceforge.net/crossfire/%{name}-images-%{imgver}.tar.gz
14 Patch0: %{name}-sdl.patch
15 Patch1: %{name}-dmalloc.patch
16 Patch2: %{name}-errno.patch
17 URL: http://crossfire.real-time.com/
18 BuildRequires: SDL-devel
19 BuildRequires: SDL_image-devel
20 BuildRequires: XFree86-devel
21 BuildRequires: autoconf
22 BuildRequires: gtk+-devel
24 Requires: %{name}-common = %{version}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 X11 client to crossfire.
30 Crossfire is a multiplayer graphical arcade and adventure game made
31 for the X-Window environment. There are also Windows and Java clients
34 It has certain flavours from other games, especially Gauntlet (TM) and
37 Any number of players can move around in their own window, finding and
38 sing items and battle monsters. They can choose to cooperate or
39 compete in the same "world".
42 Klient Crossfire pod X11.
44 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
45 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
46 gier, g³ównie Gauntleta i Nethacka/Morii.
48 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
49 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
50 przeciwko sobie w tym samym "¶wiecie".
53 Summary: Crossfire sounds
54 Summary(pl): D¼wiêki do Crossfire
55 Group: Applications/Games
56 Requires: %{name}-common = %{version}
59 Some sound files and the sound server for crossfire.
61 %description sounds -l pl
62 Pliki d¼wiêkowe i serwer d¼wiêku dla Crossfire.
65 Summary: GTK Crossfire client
66 Summary(pl): Klient Crossfire pod GTK
67 Group: Applications/Games
68 Requires: %{name}-common = %{version}
71 GTK client to crossfire.
73 Crossfire is a multiplayer graphical arcade and adventure game made
74 for the X-Window environment. There are also Windows and Java clients
77 It has certain flavours from other games, especially Gauntlet (TM) and
80 Any number of players can move around in their own window, finding and
81 sing items and battle monsters. They can choose to cooperate or
82 compete in the same "world".
84 %description gtk -l pl
85 Klient Crossfire pod GTK.
87 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
88 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
89 gier, g³ównie Gauntleta i Nethacka/Morii.
91 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
92 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
93 przeciwko sobie w tym samym "¶wiecie".
96 Summary: Crossfire images
97 Summary(pl): Obrazki do Crossfire
98 Group: Applications/Games
99 Requires: %{name}-common = %{version}
102 Some images extracted from server for Crossfire.
104 %description images -l pl
105 Trochê obrazków wyci±gniêtych z serwera do Crossfire.
108 Summary: Common Crossfire clients files
109 Summary(pl): Pliki wspólne wszystkich klientów Crossfire
110 Group: Applications/Games
113 This package includes files common to all Crossfire clients.
115 %description common -l pl
116 Ten pakiet zawiera pliki wspólne dla wszystkich klientów Crossfire.
123 mv -f sounds cfsounds
124 %if %{?_without_images:0}%{?!_without_images:1}
136 --with-sound-dir=%{_datadir}/%{name}/sounds
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/sounds}
143 install x11/cfclient gtk/gcfclient sound-src/cfsndserv $RPM_BUILD_ROOT%{_bindir}
144 install x11/cfclient.man $RPM_BUILD_ROOT%{_mandir}/man1/cfclient.1
145 install gtk/gcfclient.man $RPM_BUILD_ROOT%{_mandir}/man1/gcfclient.1
146 install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds/
147 %if %{?_without_images:0}%{?!_without_images:1}
148 install images/bmaps.client images/crossfire.base images/crossfire.clsc \
149 $RPM_BUILD_ROOT%{_datadir}/%{name}
153 rm -rf $RPM_BUILD_ROOT
156 %defattr(644,root,root,755)
157 %attr(755,root,root) %{_bindir}/cfclient
161 %defattr(644,root,root,755)
163 %dir %{_datadir}/%{name}
166 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_bindir}/cfsndserv
169 %{_datadir}/%{name}/sounds
171 %if %{?_without_images:0}%{?!_without_images:1}
173 %defattr(644,root,root,755)
174 %{_datadir}/%{name}/bmaps.client
175 %{_datadir}/%{name}/crossfire.base
176 %{_datadir}/%{name}/crossfire.clsc
180 %defattr(644,root,root,755)
181 %attr(755,root,root) %{_bindir}/g*