]> git.pld-linux.org Git - packages/crossfire-client.git/blob - crossfire-client.spec
- Version: 1.3.0
[packages/crossfire-client.git] / crossfire-client.spec
1 Summary:        Crossfire client
2 Summary(pl):    Klient Crossfire
3 Name:           crossfire-client
4 Version:        1.3.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/Games
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/crossfire/%{name}-%{version}.tar.gz
9 Source1:        client-0.95.2-raw-sounds.tgz
10 URL:            http://crossfire.real-time.com/
11 BuildRequires:  SDL-devel
12 BuildRequires:  SDL_image-devel
13 BuildRequires:  XFree86-devel
14 BuildRequires:  gtk+-devel
15 BuildRequires:  perl
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19
20 %description
21 X11 client to crossfire.
22
23 Crossfire is a multiplayer graphical arcade and adventure game made
24 for the X-Window environment. There are also Windows and Java clients
25 available.
26
27 It has certain flavours from other games, especially Gauntlet (TM) and
28 Nethack/Moria.
29
30 Any number of players can move around in their own window, finding and
31 sing items and battle monsters. They can choose to cooperate or
32 compete in the same "world".
33
34 %description -l pl
35 Klient Crossfire pod X11.
36
37 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
38 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
39 gier, g³ównie Gauntleta i Nethacka/Morii.
40
41 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
42 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
43 przeciwko sobie w tym samym "¶wiecie".
44
45 %package sounds
46 Summary:        Crossfire sounds
47 Summary(pl):    D¼wiêki do Crossfire
48 Group:          Applications/Games
49
50 %description sounds
51 Some sound files and the sound server for crossfire.
52
53 %description sounds -l pl
54 Pliki d¼wiêkowe i serwer d¼wiêku dla Crossfire.
55
56 %package gtk
57 Summary:        GTK Crossfire client
58 Summary(pl):    Klient Crossfire pod GTK
59 Group:          Applications/Games
60
61 %description gtk
62 GTK client to crossfire.
63
64 Crossfire is a multiplayer graphical arcade and adventure game made
65 for the X-Window environment. There are also Windows and Java clients
66 available.
67
68 It has certain flavours from other games, especially Gauntlet (TM) and
69 Nethack/Moria.
70
71 Any number of players can move around in their own window, finding and
72 sing items and battle monsters. They can choose to cooperate or
73 compete in the same "world".
74
75 %description gtk -l pl
76 Klient Crossfire pod GTK.
77
78 Crossfire to graficzna gra przygodowa dla ¶rodowiska X-Window. S±
79 tak¿e dostêpni klienci pod Windows i w Javie. £±czy cechy z kilku
80 gier, g³ównie Gauntleta i Nethacka/Morii.
81
82 Dowolna liczba graczy mo¿e siê poruszaæ w swoich oknach, szukaj±c
83 przedmiotów i walcz±c z potworami. Mog± graæ w kooperacji lub
84 przeciwko sobie w tym samym "¶wiecie".
85
86 %prep
87 %setup -q -a1
88 mv -f sounds cfsounds
89
90 %build
91 %configure \
92         --disable-alsa \
93         --enable-sdl \
94         --with-sound-dir=%{_datadir}/cfclient/sounds
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/cfclient/sounds}
100 install x11/cfclient gtk/gcfclient sound-src/cfsndserv $RPM_BUILD_ROOT%{_bindir}
101 install x11/cfclient.man $RPM_BUILD_ROOT%{_mandir}/man1/cfclient.1
102 install gtk/gcfclient.man $RPM_BUILD_ROOT%{_mandir}/man1/gcfclient.1
103 install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/cfclient/sounds/
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files
109 %defattr(644,root,root,755)
110 %doc CHANGES README
111 %attr(755,root,root) %{_bindir}/cfclient
112 %{_mandir}/man?/cf*
113
114 %files sounds
115 %defattr(644,root,root,755)
116 %doc sounds/README* sounds.dist
117 %attr(755,root,root) %{_bindir}/cfsndserv
118 %{_datadir}/cfclient
119
120 %files gtk
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/g*
123 %{_mandir}/man?/g*
This page took 0.073871 seconds and 4 git commands to generate.