source: projects/specs/trunk/d/dev86/dev86-vl.spec @ 9256

Revision 9256, 5.0 KB checked in by Takemikaduchi, 9 years ago (diff)

cpufrequtils,dev86,hdf5,irqbalance,openslp,pcmciautils: new upstream release
others: rebuild

Line 
1Summary: A real mode 80x86 assembler and linker
2Summary(ja): リアルモード 80x86 アセンブラとリンカ
3Name: dev86
4Version: 0.16.21
5Release: 1%{?_dist_release}
6License: GPL
7Group: Development/Languages
8URL: https://github.com/lkundrak/dev86
9Source: %{name}-%{version}.tar.gz
10Patch0: dev86-noelks.patch
11Patch1: dev86-x86_64.patch
12Patch2: dev86-nostrip.patch
13Patch3: dev86-long.patch
14Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
15Obsoletes: bin86
16BuildRequires: 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
21The dev86 package provides an assembler and linker for real mode 80x86
22instructions. You'll need to have this package installed in order to
23build programs that run in real mode, including LILO and the kernel's
24bootstrapping code, from their sources.
25
26You should install dev86 if you intend to build programs that run in real
27mode from their source code.
28
29%description -l ja
30dev86 パッケージは リアルモード 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
48make <<EOF
495
50quit
51EOF
52
53%install
54rm -rf ${RPM_BUILD_ROOT}
55
56make    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
64for i in bootblocks copt dis88 unproto bin86 ; do cp $i/README README.$i ; done
65cp bin86/README-0.4 README-0.4.bin86
66cp bin86/ChangeLog ChangeLog.bin86
67
68pushd ${RPM_BUILD_ROOT}%{_bindir}
69rm -f nm86 size86
70ln -s objdump86 nm86
71ln -s objdump86 size86
72popd
73
74%clean
75rm -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
Note: See TracBrowser for help on using the repository browser.