]> git.pld-linux.org Git - packages/Frodo.git/blob - Frodo.spec
- release 3 - license fix
[packages/Frodo.git] / Frodo.spec
1 Summary:        Commodore 64 emulator
2 Summary(pl):    Emulator Commodore 64
3 Name:           Frodo
4 Version:        4.1a
5 Release:        3
6 License:        non-commercial
7 Group:          Applications/Emulators
8 Source0:        http://iphcip1.physik.uni-mainz.de/~cbauer/%{name}V4_1a.Src.tar.gz
9 Patch0:         %{name}-16+bpp.patch
10 Patch1:         %{name}-TkGui.patch
11 Patch2:         %{name}-paths.patch
12 Patch3:         %{name}-opt.patch
13 Patch4:         %{name}-joy.patch
14 URL:            http://www.uni-mainz.de/~bauec002/FRMain.html
15 BuildRequires:  XFree86-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  autoconf
18 Requires:       tk
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _mandir         %{_prefix}/man
23
24 %description
25 Frodo V4.1 is a free, portable C64 emulator for BeOS, Unix, MacOS,
26 AmigaOS, RiscOS and WinNT/95 systems.
27
28 Some of the emulation's features:
29
30 This emulator focuses on the exact reproduction of special graphical
31 effects possible on the C64, and has therefore relatively high system
32 requirements. It should only be run on systems with at least a
33 PowerPC/Pentium/68060. Frodo is capable of running most games and
34 demos correctly, even those with FLI, FLD, DYCP, open borders,
35 multiplexed sprites, timing dependent decoders, fast loaders etc. 6510
36 emulation: All undocumented opcodes, 100 percent correct decimal mode,
37 instruction/cycle exact emulation. VIC emulation: Line-/cycle-based
38 emulation, all display modes, sprites with collisions/priorities, DMA
39 cycles, open borders, all $d011/$d016 effects. SID emulation:
40 Real-time digital emulation (16 bit, 44.1kHz), including filters (only
41 under BeOS, Linux, HP-UX, MacOS and AmigaOS). 1541 emulation: Drive
42 simulation in directories, .d64/x64 or .t64/LYNX files, or
43 processor-level 1541 emulation that works with about 95 percent of all
44 fast loaders and even some copy protection schemes. Other peripherals:
45 Keyboard and joystick (real joysticks (only under BeOS, Linux and
46 AmigaOS) or keyboard emulation). The full source code in C++ is
47 available. Frodo is freeware. Why pay >$40 for a C64 emulator?
48
49 %description -l pl
50 Frodo jest darmowym, przeno¶nym emulatorem C64 dla BeOS, uniksów,
51 MacOS, AmigaOS, RiscOS i WinNT/Win9x.
52
53 %prep
54 %setup -q -n Frodo
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59 %patch4 -p1
60
61 %build
62 cd Src
63 %{__autoconf}
64 CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
65 CFLAGS="$CFLAGS -DX_USE_SHM -fno-exceptions -fno-rtti -fno-implicit-templates"
66 %configure
67 %{__make} all FRODOHOME="\\\"%{_libdir}/Frodo/\\\""
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_libdir}/Frodo/{64prgs,64imgs},%{_bindir}}
72
73 install Src/Frodo Src/FrodoPC Src/FrodoSC $RPM_BUILD_ROOT%{_bindir}
74 install TkGui.tcl "Frodo Logo" $RPM_BUILD_ROOT%{_libdir}/Frodo
75 install "1541 ROM" "Basic ROM" "Char ROM" "Kernal ROM" $RPM_BUILD_ROOT%{_libdir}/Frodo
76 install 64prgs/* $RPM_BUILD_ROOT%{_libdir}/Frodo/64prgs
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc CHANGES Docs/*
84 %attr(755,root,root) %{_bindir}/*
85 %{_libdir}/Frodo
This page took 0.107585 seconds and 4 git commands to generate.