File crack-attack-sounds.spec of Package crack-attack-sounds
#
# spec file for package crack-attack-sounds (Version 1.1.14)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: crack-attack-sounds
License: GPL
Group: Amusements/Games/Action/Other
Requires: crack-attack >= 1.1.14
Autoreqprov: on
Version: 1.1.14
Release: 1
Summary: Sounds and music for crack-attack.
URL: http://www.miguev.net/misc/
Source0: crack-attack-miguev-sounds.tar.bz2
Source1: crack-attack-miguev-music.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
%description
Sounds and music for crack-attack Tetris clone.
Authors:
--------
Miguel Angel Vilela <miguev@gmail.com>
%prep
%setup -q -b 1 -n data
%build
%install
mkdir -p $RPM_BUILD_ROOT/%_datadir/games/crack-attack/music
mkdir -p $RPM_BUILD_ROOT/%_datadir/games/crack-attack/sounds
install -m 644 music/* $RPM_BUILD_ROOT/%_datadir/games/crack-attack/music
install -m 644 sounds/* $RPM_BUILD_ROOT/%_datadir/games/crack-attack/sounds
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir %_datadir/games/crack-attack/
%_datadir/games/crack-attack/music
%_datadir/games/crack-attack/sounds
%changelog -n crack-attack-sounds
* Tue Sep 12 2006 - anicka@suse.cz
- package created