Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37727908
en ru br
ALT Linux repos
S:1.1.3-alt1_6

Group :: Development/Other
RPM: z80dasm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: z80dasm
Version: 1.1.3
Release: alt1_6
Summary: Z80 Disassembler
Group: Development/Other
License: GPLv2+
URL: http://www.tablix.org/~avian/blog/articles/%{name}/
Source0: http://www.tablix.org/~avian/%{name}/%{name}-%{version}.tar.gz

# Target addresses are 16 bits, but relative address computations were not

# being masked to 16 bits, causing bad results on all systems and buffer
# overruns in sprintf on 64-bit systems.  Reported to upstream via email
# on 27-Feb-2012.
Patch0: z80dasm-1.1.3-16-bit-addr.patch

BuildRequires: z80asm
Source44: import.info

%description
z80dasm is a disassembler for the Zilog Z80 microprocessor and
compatibles. It can be used to reverse engineer programs and operating
systems for 1980's microcomputers using this processor architecture
(for example ZX81, Spectrum, Galaksija and many others).  Generated
assembly code can be assembled back with a number of Z80
assemblers. Compatibility with z80asm was thoroughly tested.

%prep
%setup -q
%patch -P 0 -p1 -b .16-bit-addr
%configure

%build
%make_build CFLAGS="%{optflags}"

%check
make test

%install
make install DESTDIR="%{buildroot}"

%files
%doc COPYING
%doc AUTHORS NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin