]> git.pld-linux.org Git - packages/Frodo.git/blob - Frodo.spec
- fix build on alpha-linux
[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:        2
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 %description
21 Frodo V4.1 is a free, portable C64 emulator for BeOS, Unix, MacOS,
22 AmigaOS, RiscOS and WinNT/95 systems.
23
24 This emulator focuses on the exact reproduction of special graphical
25 effects possible on the C64, and has therefore relatively high system
26 requirements. It should only be run on systems with at least a
27 PowerPC/Pentium/68060. Frodo is capable of running most games and
28 demos correctly, even those with FLI, FLD, DYCP, open borders,
29 multiplexed sprites, timing dependent decoders, fast loaders etc. 6510
30 emulation: All undocumented opcodes, 100 percent correct decimal mode,
31 instruction/cycle exact emulation. VIC emulation: Line-/cycle-based
32 emulation, all display modes, sprites with collisions/priorities, DMA
33 cycles, open borders, all $d011/$d016 effects. SID emulation:
34 Real-time digital emulation (16 bit, 44.1kHz), including filters (only
35 under BeOS, Linux, HP-UX, MacOS and AmigaOS). 1541 emulation: Drive
36 simulation in directories, .d64/x64 or .t64/LYNX files, or
37 processor-level 1541 emulation that works with about 95 percent of all
38 fast loaders and even some copy protection schemes. Other peripherals:
39 Keyboard and joystick (real joysticks (only under BeOS, Linux and
40 AmigaOS) or keyboard emulation). The full source code in C++ is
41 available. Frodo is freeware.
42
43 %description -l pl
44 Frodo jest darmowym, przeno¶nym emulatorem C64 dla BeOS, uniksów,
45 MacOS, AmigaOS, RiscOS i WinNT/Win9x.
46
47 Ten emulator skupia siê na dok³adnym odtworzeniu specjalnych efektów
48 graficznych osi±galnych na C64, wiêc ma dosyæ du¿e wymagania dotycz±ce
49 systemu. Powinien byæ uruchamiany tylko na systemach z co najmniej
50 PowerPC/Pentium/68060. Frodo jest w stanie uruchomiæ poprawnie
51 wiêkszo¶æ gier i dem, nawet te z FLI, FLD, DYCP, otwartymi ramkami,
52 zamienianymi duszkami, dekoderami zale¿nymi od czasu, szybkimi
53 loaderami itp. Emulacja 6510: wszystkie nieudokumentowane instrukcje,
54 w pe³ni poprawny tryb dziesiêtny, dok³adna emulacja liczby cykli dla
55 instrukcji. Emulacja VIC: bazuj±ca na liniach lub cyklach, wszystkie
56 tryby wy¶wietlania, duszki z kolizjami i priorytetami, cykle DMA,
57 otwarte ramki, wszystkie efekty $d011/$d016. Emulacja SID: emulacja
58 cyfrowa w czasie rzeczywistym (16 bitów. 44.1kHz), w³±cznie z filtrami
59 (tylko pod BeOS-em, Linuksem, HP-UX-em, MacOS-em i AmigaOS-em).
60 Emulacja 1541: symulacja dysków w katalogach, plikach .d64/x64 albo
61 .t64/LYNX, lub emulacja 1541 na poziomie procesora, obs³uguj±ca oko³o
62 95%% wszystkich szybkich loaderów i nawet niektóre rodzaje
63 zabezpieczeñ przed kopiowaniem. Inne peryferia: klawiatura i joystick
64 (prawdziwe joysticki (tylko pod BeOS-em, Linuksem i AmigaOS-em) lub
65 emulacja na klawiaturze). Dostêpne s± pe³ne ¼ród³a w C++. Frodo jest
66 freeware.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71 %patch1 -p1
72
73 %build
74 cd Src
75 cp -f /usr/share/automake/config.sub .
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.057924 seconds and 3 git commands to generate.