Name: arnold
Version: 0.20020127
Release: 0.9
-License: GPL
+License: GPL (except ROMs)
Group: Applications
Source0: http://arnold.emuunlim.com/download/arnsrc27012002.zip
#Source0-md5: a8ae9ce1aeeae6ba9a19083731811150
Patch0: %{name}-romsdir.patch
-BuildRequires: SDL-devel
-BuildRequires: gtk+-devel
+BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: gtk+-devel >= 1.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Empty
+A Amstrad/Schneider CPC, Plus/CPC+ and VEB Mikroelektronik KC Compact
+emulator.
+
+The ROMs are (c) Copyright Amstrad plc and Locomotive Software Ltd,
+distributed with this program with permission of Amstrad plc.
%description -l pl
-Empty
+Emulator Amstrada/Schneidera CPC, Plus/CPC+ oraz VEB Mikroelektronik
+KC Compact.
+
+Do³±czone obrazy ROMów s± objête przez copyright Amstrad plc i
+Locomotive Software Ltd, z tym programem s± rozprowadzane za zgod±
+Amstrad plc.
%prep
-%setup -q -n arnold
+%setup -q -n %{name}
%patch0 -p1
%build
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/arnold
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_datadir}/arnold,%{_bindir}}
+
cp -Rf roms $RPM_BUILD_ROOT%{_datadir}/arnold
install arnold $RPM_BUILD_ROOT%{_bindir}
%files
%defattr(644,root,root,755)
-%doc readme.txt
-%doc readme.linux
+%doc bugsetc.txt file_id.diz readme.* whatsnew.*
%attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/arnold
-%dir %{_datadir}/arnold/roms
-%dir %{_datadir}/arnold/roms/*
-%attr(644,root,root) %{_datadir}/arnold/roms/*/*
+%{_datadir}/arnold