1 Summary: Bruce's C compiler
2 Summary(pl): Kompiler C Bruce'a
7 Group: Development/Languages
8 Group(de): Entwicklung/Sprachen
9 Group(pl): Programowanie/Jêzyki
10 Source0: http://www.cix.co.uk/~mayday/Dev86src-%{version}.tar.gz
11 Patch0: Dev86src-noroot.patch
12 Patch1: Dev86src-nobcc.patch
13 Patch2: Dev86src-bccpaths.patch
14 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 ExclusiveArch: %{ix86}
19 Bcc is a simple C compiler that produces 8086 assembler, in addition
20 compiler compile time options allow 80386 or 6809 versions. The
21 compiler understands traditional K&R C with just the restriction that
22 bit fields are mapped to one of the other integer types.
25 Bcc jest prostym kompilatorem C produkuj±cym pliki asemblerowe 8086,
26 a dodatkowo pozwala na wybranie wersji 80386 lub 6809. Kompilator
27 rozumie tradycyjne K&R C z takim ograniczeniem, ¿e pola bitowe
28 s± odwzorowywane do jednego z innych typów ca³kowitych.
31 %setup -q -n dev86-%{version}
37 CC="%{__cc}" %{__make} <<!FooBar!
43 rm -rf $RPM_BUILD_ROOT
48 install $RPM_BUILD_ROOT/lib/elksemu $RPM_BUILD_ROOT%{_bindir}
49 #rm -rf $RPM_BUILD_ROOT/lib/
50 cp -R libc/kinclude $RPM_BUILD_ROOT%{_libdir}/bcc
52 ln -sf objdump86 $RPM_BUILD_ROOT%{_bindir}/nm86
53 ln -sf objdump86 $RPM_BUILD_ROOT%{_bindir}/size86
55 # move header files out of %{_includedir} and into %{_libdir}/bcc/include
56 mv $RPM_BUILD_ROOT%{_includedir} $RPM_BUILD_ROOT%{_libdir}/bcc
58 # move man pages where they belong
59 install -d $RPM_BUILD_ROOT%{_mandir}
60 mv $RPM_BUILD_ROOT/usr/man/* $RPM_BUILD_ROOT%{_mandir}
62 gzip -9nf README MAGIC Contributors bootblocks/README copt/README \
63 dis88/README elksemu/README unproto/README bin86/README-0.4 \
64 bin86/README bin86/ChangeLog
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
72 %doc elksemu/README unproto/README bin86/README-0.4 bin86/README bin86/ChangeLog
74 %dir %{_libdir}/bcc/i86
75 %dir %{_libdir}/bcc/i386
76 %dir %{_libdir}/bcc/include
77 %dir %{_libdir}/bcc/kinclude
78 %attr(755,root,root) %{_bindir}/bcc
79 #%attr(755,root,root) %{_bindir}/as86
80 %attr(755,root,root) %{_bindir}/as86_encap
81 #%attr(755,root,root) %{_bindir}/ld86
82 %attr(755,root,root) %{_bindir}/objdump86
83 %attr(755,root,root) %{_bindir}/nm86
84 %attr(755,root,root) %{_bindir}/size86
85 %attr(755,root,root) %{_libdir}/bcc/bcc-cc1
86 %attr(755,root,root) %{_libdir}/bcc/copt
87 %attr(755,root,root) %{_libdir}/bcc/unproto
90 %{_libdir}/liberror.txt
91 %{_libdir}/bcc/include/*
92 %{_libdir}/bcc/kinclude/*
93 %attr(755,root,root) %{_bindir}/elksemu