2007-01-15 22:52:16 +00:00
|
|
|
#
|
2011-02-03 00:33:17 +00:00
|
|
|
# spec file for package bin86
|
2007-01-15 22:52:16 +00:00
|
|
|
#
|
2019-10-17 14:37:31 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 22:52:16 +00:00
|
|
|
#
|
2009-06-18 15:01:14 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-17 14:37:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 22:52:16 +00:00
|
|
|
#
|
|
|
|
|
2008-02-25 16:00:30 +00:00
|
|
|
|
2007-01-21 22:45:49 +00:00
|
|
|
Name: bin86
|
2015-11-01 14:33:47 +00:00
|
|
|
Version: 0.16.21
|
2014-08-01 08:25:36 +00:00
|
|
|
Release: 0
|
2007-01-21 22:45:49 +00:00
|
|
|
Summary: An 8086 Assembler and Linker
|
2019-10-17 14:37:31 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-03-28 09:07:40 +00:00
|
|
|
Url: http://v3.sk/~lkundrak/dev86/
|
2015-11-01 14:33:47 +00:00
|
|
|
Source0: http://v3.sk/~lkundrak/dev86/Dev86src-%{version}.tar.gz
|
2014-08-01 08:25:36 +00:00
|
|
|
Source1: bin86-rpmlintrc
|
2015-11-01 14:33:47 +00:00
|
|
|
Patch0: dev86-0.16.20.dif
|
2008-02-25 16:00:30 +00:00
|
|
|
Patch2: dev86-noelks.patch
|
|
|
|
Patch3: dev86-x86_64.patch
|
2015-03-28 09:07:40 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExclusiveArch: %ix86 x86_64
|
|
|
|
%if 0%{?suse_version} > 1020
|
2008-02-25 16:00:30 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2007-01-15 22:52:16 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
An 8086 assembler and linker.
|
|
|
|
|
|
|
|
%package -n dev86
|
2007-01-21 22:45:49 +00:00
|
|
|
Summary: 8086 Development Suite
|
2014-08-01 08:25:36 +00:00
|
|
|
Requires: bin86
|
2007-01-15 22:52:16 +00:00
|
|
|
|
|
|
|
%description -n dev86
|
|
|
|
This package contains tools for generating Elks/8086 programs and the
|
|
|
|
Elksemu for execution of these programs in Linux.
|
|
|
|
|
|
|
|
%prep
|
2015-03-28 09:07:40 +00:00
|
|
|
%setup -q -n dev86-%{version}
|
|
|
|
%patch0
|
2008-02-25 16:00:30 +00:00
|
|
|
%patch2 -p1 -b .noelks
|
|
|
|
%ifarch x86_64
|
|
|
|
%patch3 -p1 -b .x86_64
|
|
|
|
%endif
|
2007-01-15 22:52:16 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-28 09:07:40 +00:00
|
|
|
make GCCFLAG="%{optflags} -fno-strict-aliasing"
|
2007-01-15 22:52:16 +00:00
|
|
|
|
|
|
|
%install
|
2015-03-28 09:07:40 +00:00
|
|
|
make install DIST=%{buildroot} PREFIX=/usr MANDIR=%{_mandir} \
|
|
|
|
LIBDIR=%{_libdir}/bcc \
|
|
|
|
INCLDIR=%{_libdir}/bcc
|
2007-01-15 22:52:16 +00:00
|
|
|
make other
|
2015-03-28 09:07:40 +00:00
|
|
|
make install-other DIST=%{buildroot} MANDIR=%{_datadir}/man
|
2007-01-15 22:52:16 +00:00
|
|
|
mv bootblocks/README bootblocks/README.bootblocks
|
|
|
|
mv copt/README copt/README.copt
|
|
|
|
mv dis88/README dis88/README.dis88
|
2015-03-28 09:07:40 +00:00
|
|
|
mv unproto/README unproto/README.unproto
|
2007-01-15 22:52:16 +00:00
|
|
|
mv bin86/README bin86/README.bin86
|
2015-03-28 09:07:40 +00:00
|
|
|
mkdir %{buildroot}/%{_libdir}/bcc/kinclude
|
|
|
|
cp -a libc/kinclude/arch %{buildroot}/%{_libdir}/bcc/kinclude
|
|
|
|
cp -a libc/kinclude/linuxmt %{buildroot}/%{_libdir}/bcc/kinclude
|
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
%fdupes %{buildroot}
|
2008-02-25 16:00:30 +00:00
|
|
|
%endif
|
2007-01-15 22:52:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README
|
2015-03-28 09:07:40 +00:00
|
|
|
%{_bindir}/as86
|
|
|
|
%{_bindir}/ld86
|
|
|
|
%{_bindir}/nm86
|
|
|
|
%{_bindir}/objdump86
|
|
|
|
%{_bindir}/size86
|
|
|
|
%doc %{_mandir}/man1/as86.1.gz
|
|
|
|
%doc %{_mandir}/man1/ld86.1.gz
|
2007-01-15 22:52:16 +00:00
|
|
|
|
|
|
|
%files -n dev86
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc MAGIC Contributors bootblocks/README.bootblocks copt/README.copt
|
|
|
|
%doc dis88/README.dis88
|
2008-02-25 16:00:30 +00:00
|
|
|
%doc unproto/README.unproto bin86/README-0.4
|
2007-01-15 22:52:16 +00:00
|
|
|
%doc bin86/README.bin86 bin86/ChangeLog
|
2015-03-28 09:07:40 +00:00
|
|
|
%{_bindir}/ar86
|
|
|
|
%{_bindir}/bcc
|
|
|
|
%{_bindir}/dis86
|
|
|
|
%{_bindir}/makeboot
|
|
|
|
%{_libdir}/bcc
|
|
|
|
%doc %{_mandir}/man1/bcc.1.gz
|
|
|
|
%doc %{_mandir}/man1/dis86.1.gz
|
|
|
|
%exclude %{_mandir}/man1/elks.1.gz
|
|
|
|
%exclude %{_mandir}/man1/elksemu.1.gz
|
2007-11-22 17:10:02 +00:00
|
|
|
|
2007-05-26 21:42:31 +00:00
|
|
|
%changelog
|