1#
2# spec file for package openbios
3#
4
5Name:         openbios
6Version:      0.1
7Release:      0
8Summary:      OpenBIOS development utilities
9License:      GNU General Public License (GPL) - all versions, Other License(s), see package
10Group:        Development/Tools/Other
11Autoreqprov:  on
12# Scripts and programs
13Source0:      OpenBIOS.tar.bz2
14BuildRoot:    %{_tmppath}/%{name}-%{version}-build
15
16%description
17This package contains the OpenBIOS development utilities.
18
19There are
20* toke - an IEEE 1275-1994 compliant FCode tokenizer
21* detok - an IEEE 1275-1994 compliant FCode detokenizer
22* paflof - a forth kernel running in user space
23* an fcode bytecode evaluator running in paflof
24
25See /usr/share/doc/packages/openbios for details and examples.
26
27Authors:
28--------
29    Stefan Reinauer <stepan@openbios.net>
30    Segher Boessenkool <segher@openbios.net>
31
32%prep
33%setup -n openbios
34
35%build
36( cd toke; make; strip toke )
37( cd detok; make; strip detok )
38( cd paflof; make; strip paflof )
39( find toke/examples -name .cvsignore | xargs rm -f )
40
41%install
42rm -rf		 ${RPM_BUILD_ROOT}
43mkdir -p	 ${RPM_BUILD_ROOT}/usr/bin/
44mkdir -p	 ${RPM_BUILD_ROOT}/usr/share/openbios
45mkdir -p	 ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios
46cp toke/toke	 ${RPM_BUILD_ROOT}/usr/bin/
47cp detok/detok	 ${RPM_BUILD_ROOT}/usr/bin/
48cp paflof/paflof ${RPM_BUILD_ROOT}/usr/bin/
49cp -a toke/examples	${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios
50cp -a forth 		${RPM_BUILD_ROOT}/usr/share/openbios
51cp toke/README	 ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios/README.toke
52cp detok/README	 ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios/README.detok
53
54%files
55/usr/bin
56/usr/share/openbios
57%doc /usr/share/doc/packages/openbios
58
59%changelog -n openbios
60* Mon Jul 22 2002 - stepan@suse.de
61- initial version
62