1 |
%define name Frodo |
2 |
%define version 4.2 |
3 |
%define release 1 |
4 |
|
5 |
Summary: Commodore 64 emulator |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Copyright: GPL |
10 |
Group: Applications/Emulators |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
URL: http://www.uni-mainz.de/~bauec002/FRMain.html |
13 |
BuildRoot: %{_tmppath}/%{name}-root |
14 |
Prefix: %{_prefix} |
15 |
|
16 |
%description |
17 |
Frodo is a free, portable Commodore 64 emulator that runs on a variety |
18 |
of platforms, with a focus on the exact reproduction of special graphical |
19 |
effects possible on the C64. |
20 |
|
21 |
Frodo comes in two flavours: The "normal" Frodo with a line-based |
22 |
emulation, and the single-cycle emulation "Frodo SC" that is slower |
23 |
but far more compatible. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
|
28 |
%build |
29 |
cd Src |
30 |
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} |
31 |
make |
32 |
|
33 |
%install |
34 |
rm -rf ${RPM_BUILD_ROOT} |
35 |
cd Src |
36 |
make DESTDIR=${RPM_BUILD_ROOT} install |
37 |
|
38 |
%clean |
39 |
rm -rf ${RPM_BUILD_ROOT} |
40 |
|
41 |
%files |
42 |
%defattr(-,root,root) |
43 |
%doc COPYING CHANGES |
44 |
%doc Docs/*.html |
45 |
%{_bindir}/Frodo |
46 |
%{_bindir}/FrodoSC |
47 |
%{_bindir}/Frodo_GUI.tcl |
48 |
"%{_datadir}/frodo/Kernal ROM" |
49 |
%{_datadir}/frodo/Frodo.glade |