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