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