1 Summary: ZiLOG Z80 CPU emulator
2 Summary(pl.UTF-8): Emulator procesora ZiLOG Z80
8 Source0: http://downloads.sourceforge.net/z80ex/%{name}-%{version}.tar.gz
9 # Source0-md5: 92ab8d8f45fd7b448075b820013a5f97
10 URL: http://z80ex.sourceforge.net/
11 BuildRequires: cmake >= 2.8
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Z80Ex is a ZiLOG Z80 CPU emulator.
18 - precise opcode emulation (documented & undocumented)
19 - exact timings for each opcode (including I/O operations)
20 - full support for all interrupt modes
21 - any number of virtual CPUs may be created
22 - portable: written in pure ANSI C
23 - builds as a library with simple callback-based API
24 - disassembler included
26 %description -l pl.UTF-8
27 Z80Ex to emulator procesora ZiLOG Z80.
30 - precyzyjna emulacja instrukcji (udokumentowanych i nie)
31 - dokładne czasy dla wszystkich instrukcji (wraz z operacjami we/wy)
32 - pełna obsługa wszystkich trybów przerwań
33 - możliwość utworzenia dowolnej liczby wirtualnych procesorów
34 - przenośność - napisany w czystym ANSI C
35 - budowanie jako biblioteka z prostym API opartym na wywołaniach
37 - dołączony disasembler
40 Summary: Z80Ex header files
41 Summary(pl.UTF-8): Pliki nagłówkowe Z80Ex
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
46 Header files for Z80Ex libraries.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe bibliotek Z80Ex.
52 Summary: Static Z80Ex libraries
53 Summary(pl.UTF-8): Biblioteki statyczne Z80Ex
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static Z80Ex libraries.
60 %description static -l pl.UTF-8
61 Biblioteki statyczne Z80Ex.
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77 %{__make} -C build install \
78 DESTDIR=$RPM_BUILD_ROOT
80 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
90 %doc Changelog README TODO
91 %attr(755,root,root) %{_libdir}/libz80ex.so.1.1.21
92 %attr(755,root,root) %ghost %{_libdir}/libz80ex.so.1
93 %attr(755,root,root) %{_libdir}/libz80ex_dasm.so.1.1.21
94 %attr(755,root,root) %ghost %{_libdir}/libz80ex_dasm.so.1
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libz80ex.so
99 %attr(755,root,root) %{_libdir}/libz80ex_dasm.so
101 %{_examplesdir}/%{name}-%{version}
104 %defattr(644,root,root,755)
105 %{_libdir}/libz80ex.a
106 %{_libdir}/libz80ex_dasm.a