%define name heroes-sound-effects %define version 1.0 %define release 1 %define prefix /usr %define datadir /usr/share/games %define source %{name}-%{version} Summary: Heroes sound effects. Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: Amusements/Games Url: http://heroes.sourceforge.net/ Source: http://download.sourceforge.net/heroes/%{source}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Packager: Jean Delvare %description Heroes is similar to the "Tron" and "Nibbles" games of yore, but includes many graphical improvements and new game features. In it, you must maneuver a small vehicle around a world and collect powerups while avoiding obstacles, your opponents' trails, and even your own trail. Several modes of play are available, including "get-all-the-bonuses", deathmatch, and "squish-the-pedestrians". %prep %setup -n %{source} %build ./configure --prefix=%{prefix} --datadir=%{datadir} %install [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT ; mkdir $RPM_BUILD_ROOT ; make DESTDIR=$RPM_BUILD_ROOT install %clean [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %{datadir}/heroes/sfx/sfx.conf %{datadir}/heroes/sfx/*.wav %changelog * Sun Sep 17 2000 Jean Delvare 1.0-1 - Data, sound effects and sound tracks are now in separate .noarch files.