1 | Summary: A real mode 80x86 assembler and linker |
---|
2 | Summary(ja): リアルモード 80x86 アセンブラとリンカ |
---|
3 | Name: dev86 |
---|
4 | Version: 0.16.21 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPL |
---|
7 | Group: Development/Languages |
---|
8 | URL: https://github.com/lkundrak/dev86 |
---|
9 | Source: %{name}-%{version}.tar.gz |
---|
10 | Patch0: dev86-noelks.patch |
---|
11 | Patch1: dev86-x86_64.patch |
---|
12 | Patch2: dev86-nostrip.patch |
---|
13 | Patch3: dev86-long.patch |
---|
14 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | Obsoletes: bin86 |
---|
16 | BuildRequires: gawk |
---|
17 | |
---|
18 | %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} |
---|
19 | |
---|
20 | %description |
---|
21 | The dev86 package provides an assembler and linker for real mode 80x86 |
---|
22 | instructions. You'll need to have this package installed in order to |
---|
23 | build programs that run in real mode, including LILO and the kernel's |
---|
24 | bootstrapping code, from their sources. |
---|
25 | |
---|
26 | You should install dev86 if you intend to build programs that run in real |
---|
27 | mode from their source code. |
---|
28 | |
---|
29 | %description -l ja |
---|
30 | dev86 パッケージは リアルモード 80x86 命令のアセンブラとリンカを提供 |
---|
31 | します。LILO や kernel のブートストラップコードを含むリアルモードで |
---|
32 | 走るプログラムをソースから作成するときにはこのパッケージがインストー |
---|
33 | ルされている必要があります。 |
---|
34 | |
---|
35 | リアルモードで走るプログラムをソースから作成するつもりなら dev86 を |
---|
36 | インストールしてください。 |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | %patch0 -p1 -b .noelks |
---|
41 | %ifarch x86_64 |
---|
42 | %patch1 -p1 -b .x86_64 |
---|
43 | %endif |
---|
44 | %patch2 -p1 -b .nostrip |
---|
45 | %patch3 -p1 -b .long |
---|
46 | |
---|
47 | %build |
---|
48 | make <<EOF |
---|
49 | 5 |
---|
50 | quit |
---|
51 | EOF |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf ${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | make DIST=${RPM_BUILD_ROOT} \ |
---|
57 | MANDIR=%{_mandir} \ |
---|
58 | LIBDIR=%{_libdir}/bcc \ |
---|
59 | INCLDIR=%{_libdir}/bcc \ |
---|
60 | LOCALPREFIX=%{_prefix} \ |
---|
61 | install install-man |
---|
62 | |
---|
63 | # preserve READMEs |
---|
64 | for i in bootblocks copt dis88 unproto bin86 ; do cp $i/README README.$i ; done |
---|
65 | cp bin86/README-0.4 README-0.4.bin86 |
---|
66 | cp bin86/ChangeLog ChangeLog.bin86 |
---|
67 | |
---|
68 | pushd ${RPM_BUILD_ROOT}%{_bindir} |
---|
69 | rm -f nm86 size86 |
---|
70 | ln -s objdump86 nm86 |
---|
71 | ln -s objdump86 size86 |
---|
72 | popd |
---|
73 | |
---|
74 | %clean |
---|
75 | rm -rf ${RPM_BUILD_ROOT} |
---|
76 | |
---|
77 | %files |
---|
78 | %defattr(-,root,root,-) |
---|
79 | %doc README MAGIC Contributors README.bootblocks README.copt README.dis88 |
---|
80 | %doc README.unproto README-0.4.bin86 README.bin86 ChangeLog.bin86 |
---|
81 | %dir %{_libdir}/bcc |
---|
82 | %{_bindir}/bcc |
---|
83 | %{_bindir}/ar86 |
---|
84 | %{_bindir}/as86 |
---|
85 | %{_bindir}/ld86 |
---|
86 | %{_bindir}/objdump86 |
---|
87 | %{_bindir}/nm86 |
---|
88 | %{_bindir}/size86 |
---|
89 | %{_libdir}/bcc/* |
---|
90 | %{_mandir}/man1/* |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.21-1 |
---|
94 | - update to 0.16.21 |
---|
95 | - add Patch3 (dev86-long.patch) from fedora |
---|
96 | |
---|
97 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> - 0.16.17-3 |
---|
98 | - rebuilt with rpm-4.8.1-3 |
---|
99 | |
---|
100 | * Tue Jan 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.16.17-2 |
---|
101 | - remove ExclusiveArch to allow to run dev86 on different arches |
---|
102 | |
---|
103 | * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.16.17-1vl5 |
---|
104 | - applied new versioning policy, spec in utf-8 |
---|
105 | |
---|
106 | * Tue Nov 06 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16.17-0vl1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Sat Sep 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16.3-9vl1 |
---|
110 | - based on Rawhide 0.16.3-9 |
---|
111 | * Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 0.16.3-9 |
---|
112 | - preserve README files with separate names |
---|
113 | * Fri Jan 31 2003 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
114 | - do not strip static archive to get rebuild working again |
---|
115 | * Sat Aug 10 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
116 | - add ar86 to filelist |
---|
117 | * Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
118 | - do not strip apps |
---|
119 | |
---|
120 | - rebuild with new toolchains |
---|
121 | - s/Copyright/License/ |
---|
122 | |
---|
123 | * Sat Jul 14 2001 <sagami@vinelinux.org> |
---|
124 | - 0.15.5-1vl2: use %%{ix86} for ExclusiveArch instead of i386 |
---|
125 | - enabled %%clean (why was it disabled?) |
---|
126 | |
---|
127 | * Sun May 27 2001 <sagami@vinelinux.org> |
---|
128 | - 0.15.5-1vl1: added Japanese summary and description |
---|
129 | |
---|
130 | * Mon May 7 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.15.5-1 |
---|
131 | - Update to 0.15.5, lots of fixes |
---|
132 | |
---|
133 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
134 | - automatic rebuild |
---|
135 | |
---|
136 | * Mon Jun 19 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
137 | - add defattr |
---|
138 | |
---|
139 | * Sun Jun 18 2000 Matt Wilson <msw@redhat.com> |
---|
140 | - use %%{_mandir} |
---|
141 | |
---|
142 | * Fri Feb 04 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
143 | - change default header directory to match libs and fix bug #9121 |
---|
144 | |
---|
145 | * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com> |
---|
146 | - version 0.15.0 |
---|
147 | - man pages are compressed |
---|
148 | |
---|
149 | * Mon Sep 20 1999 Donnie Barnes <djb@redhat.com> |
---|
150 | - removed "Distribution:" line (was RHCN) |
---|
151 | - changed description and summary to the ones from bin86 with s/bin/dev/ |
---|
152 | done throughout |
---|
153 | - added patch to keep from installing in /usr/bcc and simply in /usr |
---|
154 | - moved include files to /usr/lib/bcc/include |
---|
155 | |
---|
156 | * Tue Sep 07 1999 Erik Troan <ewt@redhat.com> |
---|
157 | - updated to Dev86src |
---|
158 | - included in Red Hat 6.1 |
---|
159 | |
---|
160 | * Sat Nov 14 1998 Simon Weijgers <simon@mbit.doa.org> |
---|
161 | |
---|
162 | - First release of this package to be shipped to rhcn. |
---|
163 | |
---|
164 | - To be fixed: Bug in Makefile which installs headerfiles |
---|
165 | double. E.g. /usr/bcc/include/arch is also installed under |
---|
166 | /usr/bcc/include/arch/arch. This doesn't hinder operation, |
---|
167 | just eats a tiny bit of diskspace. |
---|
168 | |
---|