]> git.pld-linux.org Git - packages/Frodo.git/blob - Frodo.spec
23c7bc09a2782316a1c0b5eb2845451b707c0be3
[packages/Frodo.git] / Frodo.spec
1 Summary:        Commodore 64 emulator
2 Summary(pl):    Emulator Commodore 64
3 Name:           Frodo
4 Version:        4.1b
5 Release:        1
6 License:        non-commercial
7 Group:          Applications/Emulators
8 Source0:        http://iphcip1.physik.uni-mainz.de/~cbauer/%{name}V4_1b.Src.tar.gz
9 # Source0-md5:  095b9f21c03204cc13f7f249e8866cd9
10 Patch0:         %{name}-paths.patch
11 Patch1:         %{name}-opt.patch
12 URL:            http://www.uni-mainz.de/~bauec002/FRMain.html
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  SDL-devel >= 1.2.0
17 Requires:       tk
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20
21 %description
22 Frodo V4.1 is a free, portable C64 emulator for BeOS, Unix, MacOS,
23 AmigaOS, RiscOS and WinNT/95 systems.
24
25 This emulator focuses on the exact reproduction of special graphical
26 effects possible on the C64, and has therefore relatively high system
27 requirements. It should only be run on systems with at least a
28 PowerPC/Pentium/68060. Frodo is capable of running most games and
29 demos correctly, even those with FLI, FLD, DYCP, open borders,
30 multiplexed sprites, timing dependent decoders, fast loaders etc. 6510
31 emulation: All undocumented opcodes, 100 percent correct decimal mode,
32 instruction/cycle exact emulation. VIC emulation: Line-/cycle-based
33 emulation, all display modes, sprites with collisions/priorities, DMA
34 cycles, open borders, all $d011/$d016 effects. SID emulation:
35 Real-time digital emulation (16 bit, 44.1kHz), including filters (only
36 under BeOS, Linux, HP-UX, MacOS and AmigaOS). 1541 emulation: Drive
37 simulation in directories, .d64/x64 or .t64/LYNX files, or
38 processor-level 1541 emulation that works with about 95 percent of all
39 fast loaders and even some copy protection schemes. Other peripherals:
40 Keyboard and joystick (real joysticks (only under BeOS, Linux and
41 AmigaOS) or keyboard emulation). The full source code in C++ is
42 available. Frodo is freeware.
43
44 %description -l pl
45 Frodo jest darmowym, przeno¶nym emulatorem C64 dla BeOS, uniksów,
46 MacOS, AmigaOS, RiscOS i WinNT/Win9x.
47
48 Ten emulator skupia siê na dok³adnym odtworzeniu specjalnych efektów
49 graficznych osi±galnych na C64, wiêc ma dosyæ du¿e wymagania dotycz±ce
50 systemu. Powinien byæ uruchamiany tylko na systemach z co najmniej
51 PowerPC/Pentium/68060. Frodo jest w stanie uruchomiæ poprawnie
52 wiêkszo¶æ gier i dem, nawet te z FLI, FLD, DYCP, otwartymi ramkami,
53 zamienianymi duszkami, dekoderami zale¿nymi od czasu, szybkimi
54 loaderami itp. Emulacja 6510: wszystkie nieudokumentowane instrukcje,
55 w pe³ni poprawny tryb dziesiêtny, dok³adna emulacja liczby cykli dla
56 instrukcji. Emulacja VIC: bazuj±ca na liniach lub cyklach, wszystkie
57 tryby wy¶wietlania, duszki z kolizjami i priorytetami, cykle DMA,
58 otwarte ramki, wszystkie efekty $d011/$d016. Emulacja SID: emulacja
59 cyfrowa w czasie rzeczywistym (16 bitów. 44.1kHz), w³±cznie z filtrami
60 (tylko pod BeOS-em, Linuksem, HP-UX-em, MacOS-em i AmigaOS-em).
61 Emulacja 1541: symulacja dysków w katalogach, plikach .d64/x64 albo
62 .t64/LYNX, lub emulacja 1541 na poziomie procesora, obs³uguj±ca oko³o
63 95%% wszystkich szybkich loaderów i nawet niektóre rodzaje
64 zabezpieczeñ przed kopiowaniem. Inne peryferia: klawiatura i joystick
65 (prawdziwe joysticki (tylko pod BeOS-em, Linuksem i AmigaOS-em) lub
66 emulacja na klawiaturze). Dostêpne s± pe³ne ¼ród³a w C++. Frodo jest
67 freeware.
68
69 %prep
70 %setup -q -n %{name}-%{version}
71 %patch0 -p1
72 %patch1 -p1
73
74 %build
75 cd Src
76 %{__autoconf}
77 CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
78 CFLAGS="$CFLAGS -DX_USE_SHM -fno-exceptions -fno-rtti -fno-implicit-templates"
79 %configure
80 %{__make} all \
81         FRODOHOME="\\\"%{_libdir}/Frodo/\\\"" \
82         CC=%{__cc} \
83         CXX=%{__cxx}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT{%{_libdir}/Frodo/{64prgs,64imgs},%{_bindir}}
88
89 install Src/Frodo Src/FrodoPC Src/FrodoSC $RPM_BUILD_ROOT%{_bindir}
90 install TkGui.tcl "Frodo Logo" $RPM_BUILD_ROOT%{_libdir}/Frodo
91 install "1541 ROM" "Basic ROM" "Char ROM" "Kernal ROM" $RPM_BUILD_ROOT%{_libdir}/Frodo
92 install 64prgs/* $RPM_BUILD_ROOT%{_libdir}/Frodo/64prgs
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc CHANGES Docs/*
100 %attr(755,root,root) %{_bindir}/*
101 %{_libdir}/Frodo
This page took 0.119198 seconds and 2 git commands to generate.