File atariageroms.spec of Package atari2600roms
%define name atariage_roms
%define version AtariAge.com
%define release 2600.2.2
%define source_file atariage_roms.tgz
#norootforbuild
Name: %name
Summary: Atari 2600 ROM images
License: unknown
Group: Games
URL: http://www.atariage.com/system_items.html?SystemID=2600&ItemTypeID=ROM
Version: %{version}
Release: %{release}
Source0: %{source_file}
Packager: Gus Bode <Gus.Bode@gmail.com>
Vendor: Atari Age
Distribution: SUSE LINUX
BuildRoot: /var/tmp/%{name}-%{version}
Prefix: %{_prefix}
Requires: stella >= 2.3.5
%description
The Atari 2600 is the system most people collect games for. This is likely due to more people owning a 2600 than any other classic gaming system. Back in its heyday, who didn't have an Atari? This has two effects. First many people have a nostalgia for the 2600 and pick one up to play all the games they remember from their past. And second, because so many people had one, it's one of the easiest systems to collect for as there are so many games floating around.
%prep
%setup -c ${source_file}
#%build
#norootforbuild
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p -m 755 ${RPM_BUILD_ROOT}/usr/share/games/stella/atari_roms
ls
cp -av %{name}/*.* ${RPM_BUILD_ROOT}/usr/share/games/stella/atari_roms/
%clean
[ "${RPM_BUILD_ROOT}" != "/" ] && %{__rm} -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%attr(0664,root,root) /usr/share/games/stella/atari_roms/*
#%attr(0755, root, root) /usr/share/games/stella/atari_roms/
%changelog
* Thu Jul 12 2007 Agustus Bode <gus.bode@gmail.com>
- change location to be /usr/share/games/stella/atariage_roms
* Fri Jun 29 2007 Agustus Bode <gus.bode@gmail.com>
- first release