Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > eb05161a4184fc57617b035a5ac5d3f3 > files > 1

crossfire-client-data-1.7.0-1mdk.src.rpm

%define	version	1.7.0
%define	release 1mdk

Name:		crossfire-client-data
Version:	%{version}
Release:	%{release}
Summary:	Data files for Crossfire game clients
Group:		Games/Adventure
License:	GPL
URL:		http://crossfire.real-time.com/
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
BuildArch:	noarch

Source0:	ftp://osdn.dl.sourceforge.net/pub/sourceforge/c/cr/crossfire/crossfire-client-sounds-1.4.0.tar.bz2
Source1:	ftp://osdn.dl.sourceforge.net/pub/sourceforge/c/cr/crossfire/crossfire-client-images-%{version}.tar.bz2

%description
Crossfire is a highly graphical role-playing adventure game with
characteristics reminiscent of rogue, nethack, omega, and gauntlet. 
It has multiplayer capability and presently runs under X11.

This package contains data files for Crossfire game clients.
It includes sound files and image cache.

%prep
%setup -q -c -T

%build

%install
rm -rf %{buildroot}

# extract cache images to buildroot
mkdir -p %{buildroot}%{_gamesdatadir}/crossfire-client/
bzip2 -dc %{SOURCE0} | tar -x -C %{buildroot}%{_gamesdatadir}/crossfire-client/
bzip2 -dc %{SOURCE1} | tar -x -C %{buildroot}%{_gamesdatadir}/crossfire-client/
find %{buildroot}%{_gamesdatadir}/crossfire-client -type f -print0 | xargs -r -0 chmod 0644

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_gamesdatadir}/crossfire-client

%changelog
* Sat Jun 05 2004 Abel Cheung <deaddog@deaddog.org> 1.7.0-1mdk
- First package, split from crossfire-client