]> git.pld-linux.org Git - packages/crossfire-client.git/blob - crossfire-client.spec
0df8e438251270c0692ef1336cd9f35157f971b9
[packages/crossfire-client.git] / crossfire-client.spec
1 Summary:        Crossfire client.
2 Name:           crossfire-client
3 Version:        0.95.8
4 Release:        1
5 License:        GPL
6 Group:          Applications/Games
7 Group(de):      Applikationen/Spiele
8 Group(pl):      Aplikacje/Gry
9 Source0:        ftp://ftp.scruz.net/users/mwedel/public/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-noalsa.patch
11 URL:            http://crossfire.real-time.com
12 BuildRequires:  XFree86-devel
13 BuildRequires:  gtk+-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix /usr/X11R6
17
18 %description 
19 X11 client to crossfire.
20
21 Crossfire is a multiplayer graphical arcade and adventure game made
22 for the X-Windows environment. There are also Windows and Java clients
23 available.
24
25 It has certain flavours from other games, especially Gauntlet (TM) and
26 Nethack/Moria.
27
28 Any number of players can move around in their own window, finding and
29 sing items and battle monsters. They can choose to cooperate or
30 compete in the same "world".
31
32 %package gtk
33 Summary:        GTK Crossfire client.
34 Group:          Applications/Games
35 Group(de):      Applikationen/Spiele
36 Group(pl):      Aplikacje/Gry
37 Requires:       %{name}
38
39 %description gtk
40 GTK client to crossfire.
41
42 Crossfire is a multiplayer graphical arcade and adventure game made
43 for the X-Windows environment. There are also Windows and Java clients
44 available.
45
46 It has certain flavours from other games, especially Gauntlet (TM) and
47 Nethack/Moria.
48
49 Any number of players can move around in their own window, finding and
50 sing items and battle monsters. They can choose to cooperate or
51 compete in the same "world".
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 %build
58 autoconf
59 %configure \
60         --with-sound-dir=%{_datadir}/crossfire-client/sounds
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
66 install cfclient gcfclient cfsndserv $RPM_BUILD_ROOT%{_bindir}
67 install client.man $RPM_BUILD_ROOT%{_mandir}/man1/cfclient.1
68 install client.man $RPM_BUILD_ROOT%{_mandir}/man1/gcfclient.1
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc CHANGES README README.old 
76 %attr(755,root,root) %{_bindir}/cf*
77 %{_mandir}/man?/cf*
78
79 %files gtk
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/g*
82 %{_mandir}/man?/g*
This page took 0.412617 seconds and 2 git commands to generate.