From b41a0d197c2035e415306715bdcafd4cb67f106a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Nov 1999 14:30:41 +0000 Subject: RTEMS RPM basically working. --- scripts/rtems/rtems.spec.in | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'scripts/rtems') diff --git a/scripts/rtems/rtems.spec.in b/scripts/rtems/rtems.spec.in index f0aab6e919..f2ba46395b 100644 --- a/scripts/rtems/rtems.spec.in +++ b/scripts/rtems/rtems.spec.in @@ -15,11 +15,13 @@ Group: unsorted Provides: rtems-@target_alias@-@bsp@ Autoreqprov: on -Packager: corsepiu@faw.uni-ulm.de +Packager: corsepiu@faw.uni-ulm.de and joel@OARcorp.com +Requires: @target_alias@-binutils +Requires: @target_alias@-gcc -Version: @Version@ +Version: @rtems_version@ Summary: A free operating system for embedded systems -Source: rtems-@Version@.tar.gz +Source: rtems-@rtems_version@.tar.gz # # The original sources are not included in the source RPM. # If we included them, then the source RPMs for each target @@ -45,17 +47,17 @@ Authors: ... %prep -# untar the sources inside rtems-@target_alias@-@bsp@-@Version@ -%setup -c -n rtems-@target_alias@-@bsp@-@Version@ +# untar the sources inside rtems-@target_alias@-@bsp@-@rtems_version@ +%setup -c -n rtems-@target_alias@-@bsp@-@rtems_version@ # no patch needed # %patch %build # rtems does not support building inside the source tree - if test ! -f rtems-@Version@/configure; + if test ! -f rtems-@rtems_version@/configure; then - ( cd rtems-@Version@; ./autogen ) + ( cd rtems-@rtems_version@; ./bootstrap ) fi - ./rtems-@Version@/configure \ + ./rtems-@rtems_version@/configure \ --target=@target_alias@ \ --prefix=/opt/rtems/@target_alias@ \ --enable-networking \ @@ -63,7 +65,8 @@ Authors: --enable-cxx \ --disable-tests \ --enable-rdbg \ - --disable-multiprocessing + --disable-multiprocessing \ + --disable-itron make RTEMS_BSP=@bsp@ %install make RTEMS_BSP=@bsp@ prefix=$RPM_BUILD_ROOT/opt/rtems/@target_alias@ install -- cgit v1.2.3