4eb89d3
Summary: A real mode 80x86 assembler and linker
cvsdist 1c91193
Name: dev86
dd3bc8c
Version: 0.16.21
5347143
Release: 16%{?dist}
4366459
License: GPL+ and GPLv2+ and LGPLv2+
62c6d27
URL: http://v3.sk/~lkundrak/dev86/
62c6d27
Source: http://v3.sk/~lkundrak/dev86/archive/Dev86src-%{version}.tar.gz
64ea283
Patch0: dev86-noelks.patch
af530c7
Patch1: dev86-64bit.patch
ae5e256
Patch2: dev86-nostrip.patch
4c3137d
Patch4: dev86-long.patch
cvsdist 1c91193
Obsoletes: bin86
cvsdist 1c91193
4c3137d
# don't try to strip binaries generated by dev86 unknown to /usr/bin/strip
Yaakov Selkowitz 8346c48
%define __os_install_post    /usr/lib/rpm/brp-compress /usr/lib/rpm/brp-strip %{__strip} /usr/lib/rpm/brp-strip-comment-note %{__strip} %{__objdump} %{nil}
cvsdist e60d9ff
e98a020
BuildRequires:  gcc
58f3050
BuildRequires: make
cvsdist 1c91193
%description
cvsdist 1c91193
The dev86 package provides an assembler and linker for real mode 80x86
cvsdist 1c91193
instructions. You'll need to have this package installed in order to
cvsdist 1c91193
build programs that run in real mode, including LILO and the kernel's
cvsdist 1c91193
bootstrapping code, from their sources.
cvsdist 1c91193
cvsdist 1c91193
You should install dev86 if you intend to build programs that run in real
cvsdist 1c91193
mode from their source code.
cvsdist 1c91193
cvsdist 1c91193
%prep
cvsdist a4117f0
%setup -q
64ea283
%patch0 -p1 -b .noelks
3070313
%if 0%{?__isa_bits} == 64
af530c7
%patch1 -p1 -b .64bit
602a30d
%endif
ae5e256
%patch2 -p1 -b .nostrip
4c3137d
%patch4 -p1 -b .long
602a30d
cvsdist 1c91193
%build
4c3137d
# the main makefile doesn't allow parallel build
4241573
make bcc86 unproto copt as86 ld86 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
4c3137d
make -C cpp CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
4c3137d
make -C ar CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
4c3137d
make -C ld CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
4c3137d
# ncc doesn't support gcc optflags
4c3137d
make
cvsdist 1c91193
cvsdist 1c91193
%install
cvsdist 1c91193
rm -rf ${RPM_BUILD_ROOT}
cvsdist 1c91193
dbd6d54
make	DIST=${RPM_BUILD_ROOT} \
dbd6d54
	MANDIR=%{_mandir} \
dbd6d54
	LIBDIR=%{_libdir}/bcc \
dbd6d54
	INCLDIR=%{_libdir}/bcc \
dbd6d54
	LOCALPREFIX=%{_prefix} \
dbd6d54
	install install-man
cvsdist 1c91193
cvsdist 6bfd651
# preserve READMEs
64ea283
for i in bootblocks copt dis88 unproto bin86 ; do cp $i/README README.$i ; done
cvsdist 6bfd651
cp bin86/README-0.4 README-0.4.bin86
cvsdist 6bfd651
cp bin86/ChangeLog ChangeLog.bin86
4c3137d
mv libc/COPYING COPYING.LGPL
cvsdist 6bfd651
dbd6d54
pushd ${RPM_BUILD_ROOT}%{_bindir}
cvsdist 1c91193
rm -f nm86 size86
cvsdist 1c91193
ln -s objdump86 nm86
cvsdist 1c91193
ln -s objdump86 size86
dbd6d54
popd
cvsdist 1c91193
cvsdist 1c91193
%files
cvsdist 6bfd651
%doc README MAGIC Contributors README.bootblocks README.copt README.dis88
4c3137d
%doc README.unproto README-0.4.bin86 README.bin86 ChangeLog.bin86 COPYING
4c3137d
%doc COPYING.LGPL
4eb89d3
%dir %{_libdir}/bcc
4eb89d3
%{_bindir}/bcc
4eb89d3
%{_bindir}/ar86
4eb89d3
%{_bindir}/as86
4eb89d3
%{_bindir}/ld86
4eb89d3
%{_bindir}/objdump86
4eb89d3
%{_bindir}/nm86
4eb89d3
%{_bindir}/size86
4eb89d3
%{_libdir}/bcc/*
4eb89d3
%{_mandir}/man1/*
cvsdist 1c91193
cvsdist 1c91193
%changelog
5347143
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-16
5347143
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5347143
ca0d77c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-15
ca0d77c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ca0d77c
ef86b42
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-14
ef86b42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ef86b42
a294de5
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-13
a294de5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a294de5
5c53020
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-12
5c53020
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5c53020
abdbd75
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-11
abdbd75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
abdbd75
6962a56
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-10
6962a56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6962a56
48be1c6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-9
48be1c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
48be1c6
7fb9805
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-8
7fb9805
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7fb9805
00c971a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.21-7
00c971a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
00c971a
7b264ad
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.21-6
7b264ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7b264ad
f76771e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.21-5
f76771e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f76771e
Yaakov Selkowitz 8346c48
* Thu Jun 12 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.16.21-4
Yaakov Selkowitz 8346c48
- Fix for redhat-rpm-macros changes (#1106136)
Yaakov Selkowitz 8346c48
aa1653b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.21-3
aa1653b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aa1653b
3070313
* Wed Mar 19 2014 Lubomir Rintel <lkundrak@v3.sk> 0.16.21-2
3070313
- Fix source rpm build on arm
3070313
dd3bc8c
* Fri Mar 14 2014 Lubomir Rintel <lkundrak@v3.sk> 0.16.21-1
dd3bc8c
- update to 0.16.21
dd3bc8c
82897d2
* Tue Oct 29 2013 Lubomir Rintel <lkundrak@v3.sk> 0.16.20-2
82897d2
- Add -Werror=format-security build fix
82897d2
62c6d27
* Tue Oct 29 2013 Lubomir Rintel <lkundrak@v3.sk> 0.16.20-1
62c6d27
- update to 0.16.20
62c6d27
a9c18b3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.19-4
a9c18b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a9c18b3
c25b0eb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.19-3
c25b0eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c25b0eb
4241573
* Wed Nov 28 2012 Jindrich Novy <jnovy@redhat.com> 0.16.19-2
4241573
- compile with -fno-strict-aliasing
4241573
f58595c
* Thu Nov 15 2012 Jindrich Novy <jnovy@redhat.com> 0.16.19-1
f58595c
- update to 0.16.19
f58595c
- fix URLs
f58595c
- update .long patch
f58595c
- drop owerflow patch, applied upstream
f58595c
7b2f550
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.18-3
7b2f550
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7b2f550
d53f95f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.18-2
d53f95f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d53f95f
34e7ed1
* Tue Feb  8 2011 Jindrich Novy <jnovy@redhat.com> 0.16.18-1
34e7ed1
- update to 0.16.18
34e7ed1
8c45f9d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.17-17
8c45f9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8c45f9d
f7c32cb
* Tue Mar 30 2010 Jindrich Novy <jnovy@redhat.com> 0.16.17-16
f7c32cb
- fix sprintf overflows (#577982), patch from Lubomir Rintel
f7c32cb
6ae50d2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.17-15
6ae50d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6ae50d2
e0292d1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.17-14
e0292d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e0292d1
4c3137d
* Thu Feb 19 2009 Jindrich Novy <jnovy@redhat.com> 0.16.17-13
4c3137d
- fix buffer overflow caused by realpath() call
4c3137d
- attempt to fix type width size for 64bit arches
4c3137d
- merge review fixes (#225683):
4c3137d
  - remove BR: gawk
4c3137d
  - add licenses to documentation
4c3137d
  - use RPM_OPT_FLAGS to compile arch dependent binaries
4c3137d
af530c7
* Tue Feb 17 2009 Jindrich Novy <jnovy@redhat.com> 0.16.17-12
af530c7
- apply 64bit fix to all platforms, not only on x86_64,
af530c7
  thanks to Glauber Costa
af530c7
3e34a0b
* Mon Feb 16 2009 Jindrich Novy <jnovy@redhat.com> 0.16.17-11
af530c7
- remove ExclusiveArch to allow to run dev86 on different arches
3e34a0b
4366459
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.16.17-10
4366459
- fix license tag
4366459
6b80b92
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> 0.16.17-9
6b80b92
- manual rebuild because of gcc-4.3 (#434186)
6b80b92
d0faaca
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.16.17-8
d0faaca
- Autorebuild for GCC 4.3
d0faaca
2db804e
* Mon Sep 17 2007 Jindrich Novy <jnovy@redhat.com> - 0.16.17-7
2db804e
- don't ifarch patch definition
2db804e
62c6d27
* Mon Aug 27 2007 Jindrich Novy <jnovy@redhat.com> - 0.16.17-6
69690af
- add missing BR on gawk
ae492c3
- rebuild (#249952)
ae492c3
ae5e256
* Tue Jan 30 2007 Jindrich Novy <jnovy@redhat.com> - 0.16.17-5
ae5e256
- don't strip debuginfo
ae5e256
dbd6d54
* Wed Dec 27 2006 Jindrich Novy <jnovy@redhat.com> - 0.16.17-4
dbd6d54
- bcc now searches in correct path for bcc-cpp on x86_64 (#219697)
dbd6d54
4eb89d3
* Tue Dec  5 2006 Jindrich Novy <jnovy@redhat.com> - 0.16.17-3
4eb89d3
- make the dev86 spec less tragic -> use macros, don't conflict
4eb89d3
  on multiarches, add URL, fix BuildRoot, fix rpmlint warnings
4eb89d3
c683266
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.16.17-2.2
c683266
- rebuild
c683266
4dd4b93
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.16.17-2.1
4dd4b93
- rebuilt for new gcc4.1 snapshot and glibc changes
4dd4b93
64ea283
* Wed Jan 25 2006 Jeremy Katz <katzj@redhat.com> - 0.16.17-2
64ea283
- build on x86_64
64ea283
- don't build elks (it's not happy on x86_64)
64ea283
3872a4f
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 0.16.17-1 
3872a4f
- update and rebuild with gcc-4
3872a4f
- drop obsolete overflow patch
13a7273
Florian La Roche 309f104
* Mon Feb 14 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche 309f104
- Copyright: -> License:
Florian La Roche 309f104
5997661
* Sun Dec 19 2004 Miloslav Trmac <mitr@redhat.com> - 0.16.16-2
5997661
- Fix invalid memory allocation in bcc.c:build_prefix () (#143325)
5997661
cvsdist 4812dfe
* Fri Jul 02 2004 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 4812dfe
- 0.16.16
cvsdist 4812dfe
cvsdist dda7605
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist dda7605
- rebuilt
cvsdist dda7605
cvsdist 63bc325
* Fri Feb 20 2004 Thomas Woerner <twoerner@redhat.com> 0.16.15-1
cvsdist 63bc325
- new version 0.16.15
cvsdist 63bc325
cvsdist b057c49
* Wed Feb 18 2004 Jeremy Katz <katzj@redhat.com> - 0.16.3-10
cvsdist b057c49
- rebuild
cvsdist b057c49
cvsdist 6bfd651
* Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 0.16.3-9
cvsdist 6bfd651
- preserve README files with separate names
cvsdist 6bfd651
cvsdist e60d9ff
* Fri Jan 31 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist e60d9ff
- do not strip static archive to get rebuild working again
cvsdist e60d9ff
cvsdist e60d9ff
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist e60d9ff
- rebuilt
cvsdist e60d9ff
cvsdist e60d9ff
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.16.3-6
cvsdist e60d9ff
- rebuild
cvsdist e60d9ff
cvsdist e60d9ff
* Thu Nov 14 2002 Jakub Jelinek <jakub@redhat.com>
cvsdist e60d9ff
- fix ar86 to include errno.h before using errno.
cvsdist e60d9ff
cvsdist 014212b
* Sat Aug 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 014212b
- add ar86 to filelist
cvsdist 014212b
cvsdist a4117f0
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist a4117f0
- automated rebuild
cvsdist a4117f0
cvsdist a4117f0
* Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist a4117f0
- do not strip apps
cvsdist a4117f0
cvsdist a4117f0
* Mon May 27 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist a4117f0
- update to 0.16.3
cvsdist a4117f0
- fix include paths
cvsdist a4117f0
- clean up spec file
cvsdist a4117f0
cvsdist a4117f0
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist a4117f0
- automated rebuild
cvsdist a4117f0
cvsdist a4117f0
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist a4117f0
- automated rebuild
cvsdist a4117f0
cvsdist f2bbd6f
* Mon May  7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.15.5-1
cvsdist f2bbd6f
- Update to 0.15.5, lots of fixes
cvsdist f2bbd6f
cvsdist 1c91193
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 1c91193
- automatic rebuild
cvsdist 1c91193
cvsdist 1c91193
* Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 1c91193
- add defattr
cvsdist 1c91193
cvsdist 1c91193
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
cvsdist 1c91193
- use %%{_mandir}
cvsdist 1c91193
cvsdist 1c91193
* Fri Feb 04 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 1c91193
- change default header directory to match libs and fix bug #9121
cvsdist 1c91193
cvsdist 1c91193
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 1c91193
- version 0.15.0
cvsdist 1c91193
- man pages are compressed
cvsdist 1c91193
cvsdist 1c91193
* Mon Sep 20 1999 Donnie Barnes <djb@redhat.com>
cvsdist 1c91193
- removed "Distribution:" line (was RHCN)
cvsdist 1c91193
- changed description and summary to the ones from bin86 with s/bin/dev/
cvsdist 1c91193
  done throughout
cvsdist 1c91193
- added patch to keep from installing in /usr/bcc and simply in /usr
cvsdist 1c91193
- moved include files to /usr/lib/bcc/include
cvsdist 1c91193
cvsdist 1c91193
* Tue Sep 07 1999 Erik Troan <ewt@redhat.com>
cvsdist 1c91193
- updated to Dev86src
cvsdist 1c91193
- included in Red Hat 6.1
cvsdist 1c91193
cvsdist 1c91193
* Sat Nov 14 1998 Simon Weijgers <simon@mbit.doa.org>
cvsdist 1c91193
cvsdist 1c91193
- First release of this package to be shipped to rhcn.
cvsdist 1c91193
cvsdist 1c91193
- To be fixed: Bug in Makefile which installs headerfiles
cvsdist 1c91193
  double. E.g. /usr/bcc/include/arch is also installed under
cvsdist 1c91193
  /usr/bcc/include/arch/arch. This doesn't hinder operation,
cvsdist 1c91193
  just eats a tiny bit of diskspace.
cvsdist 1c91193