[openrtm-commit:00835] r2364 - tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 6月 3日 (日) 23:04:30 JST


Author: n-ando
Date: 2012-06-03 23:04:30 +0900 (Sun, 03 Jun 2012)
New Revision: 2364

Added:
   tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/control.1
Modified:
   tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/dpkg_build.sh
Log:
Build script and control file have been modofied for ubuntu11.04 or later.

Added: tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/control.1
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/control.1	                        (rev 0)
+++ tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/control.1	2012-06-03 14:04:30 UTC (rev 2364)
@@ -0,0 +1,39 @@
+Source: openrtm-aist
+Section: main
+Priority: extra
+Maintainer: Noriaki Ando <n-ando at aist.go.jp>
+Build-Depends: debhelper, libomniorb4-dev, omniidl, omniorb-nameserver, python, uuid-dev
+Standards-Version: 3.8.4
+Homepage: http://www.openrtm.org
+
+Package: openrtm-aist
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: OpenRTM-aist, RT-Middleware distributed by AIST
+ OpenRTM-aist is a reference implementation of RTC (Robotic Technology
+ Component) specification which is OMG standard. OpenRTM-aist includes
+ RT-Middleware runtime environment and RTC framework. The OMG standard
+ defines a component model and certain important infrastructure
+ services applicable to the domain of robotics software development.
+ OpenRTM-aist is being developed and distributed by Intelligent
+ Systems Research Institute, National Institute of Advanced Industrial
+ Science and Technology (AIST), Japan.
+ Please see http://www.openrtm.org/ for more detail.
+
+Package: openrtm-aist-dev
+Architecture: any
+Depends: openrtm-aist
+Description: OpenRTM-aist headers for development
+ The header files and libraries needed for developing programs using
+ OpenRTM-aist.
+
+Package: openrtm-aist-example
+Architecture: any
+Depends: openrtm-aist
+Description: OpenRTM-aist examples
+ Example components and sources
+
+Package: openrtm-aist-doc
+Architecture: all
+Description: Documentation for openrtm-aist
+ Developer documentation.


Property changes on: tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/control.1
___________________________________________________________________
Added: svn:executable
   + *

Modified: tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/dpkg_build.sh
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/dpkg_build.sh	2012-06-03 06:30:32 UTC (rev 2363)
+++ tags/RELEASE_1_1_0/OpenRTM-aist/packages/deb/dpkg_build.sh	2012-06-03 14:04:30 UTC (rev 2364)
@@ -45,6 +45,7 @@
     if test "x$DISTRIB_DESCRIPTION" != "x" ; then
 	dist_name=$DISTRIB_DESCRIPTION-`uname -m`
 	dist_key=$DISTRIB_ID
+    dist_release=$DISTRIB_RELEASE
     fi
 fi
 # Check the Fedora version
@@ -83,6 +84,16 @@
     exit 0
 fi
 
+
+file_list = "README.Debian changelog compat control copyright dirs docs files rules"
+if test "x$dist_release" = "x11.04" || \
+   test "x$dist_release" = "x11.10" || \
+   test "x$dist_release" = "x12.04" || \
+   test "x$dist_release" = "x12.11" ; then
+   file_list = "README.Debian changelog compat control.1 copyright dirs docs files rules"
+fi
+
+
 #------------------------------------------------------------
 # create "files" file
 #------------------------------------------------------------
@@ -102,16 +113,11 @@
 
 rm -f $packagedir/packages/openrtm-aist*
 
-cp README.Debian $packagedir/debian/
-cp changelog $packagedir/debian/
-cp compat $packagedir/debian/
-cp control $packagedir/debian/
-cp copyright $packagedir/debian/
-cp dirs $packagedir/debian/
-cp docs $packagedir/debian/
-cp files $packagedir/debian/
+for f in $file_list; do
+    f_real=`echo $f | sed -e 's/\(.*\)\.[0-9]+/\1/'`
+    cp $f $packagedir/debian/$f_real
+done
 chmod 444 $packagedir/debian/files
-cp rules $packagedir/debian/
 chmod 755 $packagedir/debian/rules
 
 cd $packagedir



More information about the openrtm-commit mailing list