2007-01-15 23:52:16 +01:00
|
|
|
#
|
2011-02-03 01:33:17 +01:00
|
|
|
# spec file for package bin86
|
2007-01-15 23:52:16 +01:00
|
|
|
#
|
2011-02-03 01:33:17 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:52:16 +01:00
|
|
|
#
|
2009-06-18 17:01:14 +02: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.
|
|
|
|
|
2007-01-21 23:45:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:52:16 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-25 17:00:30 +01:00
|
|
|
|
2007-01-21 23:45:49 +01:00
|
|
|
Name: bin86
|
2008-02-25 17:00:30 +01:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2011-12-06 18:00:47 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-21 23:45:49 +01:00
|
|
|
Group: Development/Languages/Other
|
2007-10-03 00:44:07 +02:00
|
|
|
AutoReqProv: on
|
2007-01-21 23:45:49 +01:00
|
|
|
Version: 0.16.17
|
2011-02-03 01:33:17 +01:00
|
|
|
Release: 103
|
2007-01-21 23:45:49 +01:00
|
|
|
Summary: An 8086 Assembler and Linker
|
2007-10-03 00:44:07 +02:00
|
|
|
Url: http://www.cix.co.uk/~mayday/
|
2007-01-21 23:45:49 +01:00
|
|
|
Source: Dev86src-%{version}.tar.bz2
|
2007-05-26 23:42:31 +02:00
|
|
|
Source1: rpmlintrc
|
2007-01-21 23:45:49 +01:00
|
|
|
Patch: dev86-%{version}.dif
|
2008-02-25 17:00:30 +01:00
|
|
|
Patch2: dev86-noelks.patch
|
|
|
|
Patch3: dev86-x86_64.patch
|
|
|
|
%if 0%suse_version > 1020
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2007-01-21 23:45:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:52:16 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
An 8086 assembler and linker.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Robert de Bath <rdebath@poboxes.com>
|
|
|
|
Bruce Evans <bde@runx.oz.au>
|
|
|
|
Linus Torvalds <torvalds@transmeta.com>
|
|
|
|
H.J. Lu <hjl@nynexst.com>
|
|
|
|
|
|
|
|
%package -n dev86
|
2011-12-06 18:00:47 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-21 23:45:49 +01:00
|
|
|
Summary: 8086 Development Suite
|
|
|
|
Requires: bin86
|
|
|
|
Group: Development/Languages/Other
|
2007-01-15 23:52:16 +01:00
|
|
|
|
|
|
|
%description -n dev86
|
|
|
|
This package contains tools for generating Elks/8086 programs and the
|
|
|
|
Elksemu for execution of these programs in Linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Robert de Bath <rdebath@poboxes.com>
|
|
|
|
Bruce Evans <bde@runx.oz.au>
|
|
|
|
Linus Torvalds <torvalds@transmeta.com>
|
|
|
|
H.J. Lu <hjl@nynexst.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n dev86-%{version}
|
|
|
|
%patch
|
2008-02-25 17:00:30 +01:00
|
|
|
%patch2 -p1 -b .noelks
|
|
|
|
%ifarch x86_64
|
|
|
|
%patch3 -p1 -b .x86_64
|
|
|
|
%endif
|
2007-01-15 23:52:16 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
make GCCFLAG="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2008-02-25 17:00:30 +01:00
|
|
|
make install DIST=$RPM_BUILD_ROOT PREFIX=/usr MANDIR=/usr/share/man \
|
|
|
|
LIBDIR=%_libdir/bcc \
|
|
|
|
INCLDIR=%_libdir/bcc
|
2007-01-15 23:52:16 +01:00
|
|
|
make other
|
|
|
|
make install-other DIST=$RPM_BUILD_ROOT MANDIR=/usr/share/man
|
|
|
|
mv bootblocks/README bootblocks/README.bootblocks
|
|
|
|
mv copt/README copt/README.copt
|
|
|
|
mv dis88/README dis88/README.dis88
|
|
|
|
mv unproto/README unproto/README.unproto
|
|
|
|
mv bin86/README bin86/README.bin86
|
2008-02-25 17:00:30 +01:00
|
|
|
mkdir $RPM_BUILD_ROOT/%_libdir/bcc/kinclude
|
|
|
|
cp -a libc/kinclude/arch $RPM_BUILD_ROOT/%_libdir/bcc/kinclude
|
|
|
|
cp -a libc/kinclude/linuxmt $RPM_BUILD_ROOT/%_libdir/bcc/kinclude
|
|
|
|
%if 0%suse_version > 1020
|
|
|
|
%fdupes %buildroot
|
|
|
|
%endif
|
2007-01-15 23:52:16 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README
|
|
|
|
/usr/bin/as86
|
|
|
|
/usr/bin/ld86
|
|
|
|
/usr/bin/nm86
|
|
|
|
/usr/bin/objdump86
|
|
|
|
/usr/bin/size86
|
|
|
|
%doc /usr/share/man/man1/as86.1.gz
|
|
|
|
%doc /usr/share/man/man1/ld86.1.gz
|
|
|
|
|
|
|
|
%files -n dev86
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc MAGIC Contributors bootblocks/README.bootblocks copt/README.copt
|
|
|
|
%doc dis88/README.dis88
|
2008-02-25 17:00:30 +01:00
|
|
|
%doc unproto/README.unproto bin86/README-0.4
|
2007-01-15 23:52:16 +01:00
|
|
|
%doc bin86/README.bin86 bin86/ChangeLog
|
|
|
|
/usr/bin/ar86
|
|
|
|
/usr/bin/bcc
|
|
|
|
/usr/bin/dis86
|
2007-01-21 23:45:49 +01:00
|
|
|
/usr/bin/makeboot
|
2008-02-25 17:00:30 +01:00
|
|
|
%_libdir/bcc
|
2007-01-15 23:52:16 +01:00
|
|
|
%doc /usr/share/man/man1/bcc.1.gz
|
|
|
|
%doc /usr/share/man/man1/dis86.1.gz
|
2008-02-25 17:00:30 +01:00
|
|
|
%exclude /usr/share/man/man1/elks.1.gz
|
|
|
|
%exclude /usr/share/man/man1/elksemu.1.gz
|
2007-11-22 18:10:02 +01:00
|
|
|
|
2007-05-26 23:42:31 +02:00
|
|
|
%changelog
|