From 604cd980f8caad10066545545c09a6d11dbc4ced Mon Sep 17 00:00:00 2001 From: adasi Date: Sun, 15 Jun 2003 18:19:06 +0000 Subject: [PATCH] - Amstrad CPC emulator - TODO: descriptions - ROM's licenses are GPL? Changed files: arnold.spec -> 1.1 --- arnold.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 arnold.spec diff --git a/arnold.spec b/arnold.spec new file mode 100644 index 0000000..efbc365 --- /dev/null +++ b/arnold.spec @@ -0,0 +1,50 @@ +Summary: Amstrad CPC Emulator +Summary(pl): Emulator Amstrada CPC +Name: arnold +Version: 0.20020127 +Release: 0.9 +License: GPL +Group: Applications +Source0: http://arnold.emuunlim.com/download/arnsrc27012002.zip +#Source0-md5: a8ae9ce1aeeae6ba9a19083731811150 +Patch0: %{name}-romsdir.patch +BuildRequires: SDL-devel +BuildRequires: gtk+-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Empty + +%description -l pl +Empty + +%prep +%setup -q -n arnold +%patch0 -p1 + +%build +cd src +chmod a+x configure +%configure2_13 +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/arnold +install -d $RPM_BUILD_ROOT%{_bindir} +cp -Rf roms $RPM_BUILD_ROOT%{_datadir}/arnold +install arnold $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc readme.txt +%doc readme.linux +%attr(755,root,root) %{_bindir}/* +%dir %{_datadir}/arnold +%dir %{_datadir}/arnold/roms +%dir %{_datadir}/arnold/roms/* +%attr(644,root,root) %{_datadir}/arnold/roms/*/* -- 2.44.0