]>
Commit | Line | Data |
---|---|---|
604cd980 | 1 | Summary: Amstrad CPC Emulator |
2 | Summary(pl): Emulator Amstrada CPC | |
3 | Name: arnold | |
4 | Version: 0.20020127 | |
5 | Release: 0.9 | |
6 | License: GPL | |
7 | Group: Applications | |
8 | Source0: http://arnold.emuunlim.com/download/arnsrc27012002.zip | |
9 | #Source0-md5: a8ae9ce1aeeae6ba9a19083731811150 | |
10 | Patch0: %{name}-romsdir.patch | |
11 | BuildRequires: SDL-devel | |
12 | BuildRequires: gtk+-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Empty | |
17 | ||
18 | %description -l pl | |
19 | Empty | |
20 | ||
21 | %prep | |
22 | %setup -q -n arnold | |
23 | %patch0 -p1 | |
24 | ||
25 | %build | |
26 | cd src | |
27 | chmod a+x configure | |
28 | %configure2_13 | |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_datadir}/arnold | |
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
36 | cp -Rf roms $RPM_BUILD_ROOT%{_datadir}/arnold | |
37 | install arnold $RPM_BUILD_ROOT%{_bindir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc readme.txt | |
45 | %doc readme.linux | |
46 | %attr(755,root,root) %{_bindir}/* | |
47 | %dir %{_datadir}/arnold | |
48 | %dir %{_datadir}/arnold/roms | |
49 | %dir %{_datadir}/arnold/roms/* | |
50 | %attr(644,root,root) %{_datadir}/arnold/roms/*/* |