Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 0f599e3af8384e3f219835b8db372866 > files > 3

crossfire-maps-1.5.0-1mdk.src.rpm

%define version 1.5.0
%define release 1mdk

Name: crossfire-maps
Version: %{version}
Release: %{release}
Summary: Map files for Crossfire, a graphical adventure game.
Group: Games/Adventure
License: GPL
URL: http://crossfire.real-time.com
# tar.gz from ftp://ftp.sourceforge.net/pub/sourceforge/crossfire/
Source0: crossfire-%{version}.maps-big.tar.bz2
Source1: crossfire-maps.README.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Buildarch: noarch

%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 map files necessary for crossfire server to
run. If you just want to play crossfire only, you don't need this package.

%prep
# since the archive is quite large and takes long time to decompress, so
# unpack it during %%install to save some time
%setup -q -T -c
bzip2 -dc %SOURCE1 > README

%build

%install
[ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] || rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/crossfire
tar --bzip2 -xf %SOURCE0 -C $RPM_BUILD_ROOT%{_datadir}/crossfire/

# cleanup
find $RPM_BUILD_ROOT%{_datadir}/crossfire -name '.#*' -type f -print0 | xargs -r -0 rm -f

%clean
[ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] || rm -rf $RPM_BUILD_ROOT

%files
%defattr(0644,root,root,0755)
%doc README
%dir %{_datadir}/crossfire
%{_datadir}/crossfire/maps


%changelog
* Thu Jul 3 2003 Austin Acton <aacton@yokru.ca> 1.5.0-1mdk
- from Abel Cheung <maddog@linux.org.hk>:
  - 1.5.0
  - Source1: Add doc, taken from release notes
  - Update spec to current convention

* Thu Sep 26 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4.0-2mdk
- fix requires

* Thu Sep 26 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4.0-1mdk
- 1.4.0