From: Gui Chen Date: Fri, 1 Aug 2014 06:35:18 +0000 (-0400) Subject: rename openbios.spec X-Git-Tag: submit/trunk/20190927.012842~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecfe0bfd755bf9b18db9320ef98e4fc29877377c;p=tools%2Fqemu-arm-static.git rename openbios.spec Signed-off-by: Gui Chen --- diff --git a/roms/openbios/utils/dist/openbios.spec b/roms/openbios/utils/dist/openbios.spec deleted file mode 100644 index fcce7ab46..000000000 --- a/roms/openbios/utils/dist/openbios.spec +++ /dev/null @@ -1,61 +0,0 @@ -# -# spec file for package openbios -# - -Name: openbios -Version: 0.1 -Release: 0 -Summary: OpenBIOS development utilities -License: GNU General Public License (GPL) - all versions, Other License(s), see package -Group: Development/Tools/Other -Autoreqprov: on -# Scripts and programs -Source0: OpenBIOS.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%description -This package contains the OpenBIOS development utilities. - -There are -* toke - an IEEE 1275-1994 compliant FCode tokenizer -* detok - an IEEE 1275-1994 compliant FCode detokenizer -* paflof - a forth kernel running in user space -* an fcode bytecode evaluator running in paflof - -See /usr/share/doc/packages/openbios for details and examples. - -Authors: --------- - Stefan Reinauer - Segher Boessenkool - -%prep -%setup -n openbios - -%build -( cd toke; make; strip toke ) -( cd detok; make; strip detok ) -( cd paflof; make; strip paflof ) -( find toke/examples -name .cvsignore | xargs rm -f ) - -%install -rm -rf ${RPM_BUILD_ROOT} -mkdir -p ${RPM_BUILD_ROOT}/usr/bin/ -mkdir -p ${RPM_BUILD_ROOT}/usr/share/openbios -mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios -cp toke/toke ${RPM_BUILD_ROOT}/usr/bin/ -cp detok/detok ${RPM_BUILD_ROOT}/usr/bin/ -cp paflof/paflof ${RPM_BUILD_ROOT}/usr/bin/ -cp -a toke/examples ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios -cp -a forth ${RPM_BUILD_ROOT}/usr/share/openbios -cp toke/README ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios/README.toke -cp detok/README ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios/README.detok - -%files -/usr/bin -/usr/share/openbios -%doc /usr/share/doc/packages/openbios - -%changelog -n openbios -* Mon Jul 22 2002 - stepan@suse.de -- initial version diff --git a/roms/openbios/utils/dist/openbios.spec.in b/roms/openbios/utils/dist/openbios.spec.in new file mode 100644 index 000000000..fcce7ab46 --- /dev/null +++ b/roms/openbios/utils/dist/openbios.spec.in @@ -0,0 +1,61 @@ +# +# spec file for package openbios +# + +Name: openbios +Version: 0.1 +Release: 0 +Summary: OpenBIOS development utilities +License: GNU General Public License (GPL) - all versions, Other License(s), see package +Group: Development/Tools/Other +Autoreqprov: on +# Scripts and programs +Source0: OpenBIOS.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package contains the OpenBIOS development utilities. + +There are +* toke - an IEEE 1275-1994 compliant FCode tokenizer +* detok - an IEEE 1275-1994 compliant FCode detokenizer +* paflof - a forth kernel running in user space +* an fcode bytecode evaluator running in paflof + +See /usr/share/doc/packages/openbios for details and examples. + +Authors: +-------- + Stefan Reinauer + Segher Boessenkool + +%prep +%setup -n openbios + +%build +( cd toke; make; strip toke ) +( cd detok; make; strip detok ) +( cd paflof; make; strip paflof ) +( find toke/examples -name .cvsignore | xargs rm -f ) + +%install +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}/usr/bin/ +mkdir -p ${RPM_BUILD_ROOT}/usr/share/openbios +mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios +cp toke/toke ${RPM_BUILD_ROOT}/usr/bin/ +cp detok/detok ${RPM_BUILD_ROOT}/usr/bin/ +cp paflof/paflof ${RPM_BUILD_ROOT}/usr/bin/ +cp -a toke/examples ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios +cp -a forth ${RPM_BUILD_ROOT}/usr/share/openbios +cp toke/README ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios/README.toke +cp detok/README ${RPM_BUILD_ROOT}/usr/share/doc/packages/openbios/README.detok + +%files +/usr/bin +/usr/share/openbios +%doc /usr/share/doc/packages/openbios + +%changelog -n openbios +* Mon Jul 22 2002 - stepan@suse.de +- initial version