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 |
|
18 |
%prep |
19 |
%setup -q |
20 |
|
21 |
%build |
22 |
cd Src |
23 |
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} |
24 |
make |
25 |
|
26 |
%install |
27 |
rm -rf ${RPM_BUILD_ROOT} |
28 |
cd Src |
29 |
make DESTDIR=${RPM_BUILD_ROOT} install |
30 |
|
31 |
%clean |
32 |
rm -rf ${RPM_BUILD_ROOT} |
33 |
|
34 |
%files |
35 |
%defattr(-,root,root) |
36 |
%doc COPYING CHANGES |
37 |
%doc Docs/*.html |
38 |
%{_bindir}/Frodo |
39 |
%{_bindir}/FrodoPC |
40 |
%{_bindir}/FrodoSC |
41 |
%{_bindir}/Frodo_GUI.tcl |
42 |
"%{_datadir}/Frodo/1541 ROM" |
43 |
"%{_datadir}/Frodo/Basic ROM" |
44 |
"%{_datadir}/Frodo/Char ROM" |
45 |
"%{_datadir}/Frodo/Kernal ROM" |