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