Summary: Crossfire client.
Name: crossfire-client
-Version: 0.98.0
+Version: 1.0.0
Release: 1
License: GPL
Group: Applications/Games
URL: http://crossfire.real-time.com
BuildRequires: XFree86-devel
BuildRequires: gtk+-devel
+BuildRequires: perl
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%prep
%setup -q -a1
+mv sounds cfsounds
%build
-for l in sounds.dist soundsdef.h ; do
- mv $l $l.bak
- sed -e"s@/usr/local/lib/@%{_datadir}/cfclient/@" -e's@\.au@.raw@' < $l.bak > $l
-done
%configure \
--disable-alsa \
--with-sound-dir=%{_datadir}/cfclient/sounds
install cfclient gcfclient cfsndserv $RPM_BUILD_ROOT%{_bindir}
install client.man $RPM_BUILD_ROOT%{_mandir}/man1/cfclient.1
install client.man $RPM_BUILD_ROOT%{_mandir}/man1/gcfclient.1
-install sounds/*.raw $RPM_BUILD_ROOT%{_datadir}/cfclient/sounds/
+install cfsounds/*.raw $RPM_BUILD_ROOT%{_datadir}/cfclient/sounds/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGES README README.old def_keys
+%doc CHANGES README def_keys
%attr(755,root,root) %{_bindir}/cfclient
%{_mandir}/man?/cf*