[openrtm-commit:01535] r609 - in tags/RELEASE_1_1_0/OpenRTM-aist-Python: . installer/install_scripts packages/rpm

openrtm @ openrtm.org openrtm @ openrtm.org
2015年 5月 29日 (金) 14:45:37 JST


Author: kawauchi
Date: 2015-05-29 14:45:37 +0900 (Fri, 29 May 2015)
New Revision: 609

Added:
   tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist_fc19.spec.in
Modified:
   tags/RELEASE_1_1_0/OpenRTM-aist-Python/
   tags/RELEASE_1_1_0/OpenRTM-aist-Python/MANIFEST.in
   tags/RELEASE_1_1_0/OpenRTM-aist-Python/installer/install_scripts/pkg_install_python_fedora.sh
   tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist.spec.in
   tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/rpm_build.sh
Log:
[merge] r607-608 has been merged from trunk.


Property changes on: tags/RELEASE_1_1_0/OpenRTM-aist-Python
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/RELENG_1_0/OpenRTM-aist-Python:345-404
/branches/RELENG_1_1/OpenRTM-aist-Python:396-478,488-497
/branches/work/OpenRTM-aist-Python:504-542
   + /branches/RELENG_1_0/OpenRTM-aist-Python:345-404
/branches/RELENG_1_1/OpenRTM-aist-Python:396-478,488-497
/branches/work/OpenRTM-aist-Python:504-542
/trunk/OpenRTM-aist-Python:607-608

Modified: tags/RELEASE_1_1_0/OpenRTM-aist-Python/MANIFEST.in
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist-Python/MANIFEST.in	2015-05-28 07:40:48 UTC (rev 608)
+++ tags/RELEASE_1_1_0/OpenRTM-aist-Python/MANIFEST.in	2015-05-29 05:45:37 UTC (rev 609)
@@ -5,7 +5,7 @@
 include installer *
 recursive-include packages Makefile
 recursive-include packages/deb *.sh copyright changelog rules README* compat control control.* files
-recursive-include packages/rpm *.sh openrtm-aist.spec.in
+recursive-include packages/rpm *.sh openrtm-aist.spec.in openrtm-aist_fc19.spec.in
 recursive-include installer *.rtf *.in *.wxs *.vbs *.bmp *.txt *.sh *.wxl *.cmd *.py *.bat
 recursive-include OpenRTM_aist *.conf *.exe *.idl *.py *.pth *.sh
 recursive-include OpenRTM_aist *.bat *.exe *.sample README

Modified: tags/RELEASE_1_1_0/OpenRTM-aist-Python/installer/install_scripts/pkg_install_python_fedora.sh
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist-Python/installer/install_scripts/pkg_install_python_fedora.sh	2015-05-28 07:40:48 UTC (rev 608)
+++ tags/RELEASE_1_1_0/OpenRTM-aist-Python/installer/install_scripts/pkg_install_python_fedora.sh	2015-05-29 05:45:37 UTC (rev 609)
@@ -17,7 +17,11 @@
 # パッケージリスト
 #---------------------------------------
 version_num=`cat /etc/fedora-release | awk '/Fedora/{print $3}' -`
-omnipy="omniORB-servers omniORBpy omniORBpy-devel omniORBpy-standard"
+if [ $version_num -le 19 ]; then
+    omnipy="omniORB-servers omniORBpy omniORBpy-devel omniORBpy-standard"
+else
+    omnipy="omniORB-servers python-omniORB omniORBpy-devel"
+fi
 devel="python"
 openrtm="OpenRTM-aist-Python OpenRTM-aist-Python-example"
 packages="$devel $omnipy $openrtm"

Modified: tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist.spec.in
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist.spec.in	2015-05-28 07:40:48 UTC (rev 608)
+++ tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist.spec.in	2015-05-29 05:45:37 UTC (rev 609)
@@ -30,9 +30,7 @@
 Buildroot: %{_tmppath}/%{pkgname}-%{version}-%{release}-root
 
 Requires: python >= 2.5
-Requires: omniORBpy
 Requires: omniORBpy-devel
-Requires: omniORBpy-standard
 
 %description
 OpenRTM-aist is a reference implementation of RTC (Robotic Technology

Copied: tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist_fc19.spec.in (from rev 608, trunk/OpenRTM-aist-Python/packages/rpm/openrtm-aist_fc19.spec.in)
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist_fc19.spec.in	                        (rev 0)
+++ tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/openrtm-aist_fc19.spec.in	2015-05-29 05:45:37 UTC (rev 609)
@@ -0,0 +1,118 @@
+#------------------------------------------------------------
+#
+# @file RPM spec file for OpenRTM-aist-Python
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# $Id$
+#
+
+%define pkgname OpenRTM-aist-Python
+%define version __VERSION__
+%define short_version __SHORT_VERSION__
+%define distname       __DISTNAME__
+%define builddir       %{_topdir}/BUILD/%{distname}
+%define pkgver         RELEASE0
+%define _unpackaged_files_terminate_build   0
+
+#------------------------------------------------------------
+# Package information
+Name: OpenRTM-aist-Python
+Version: %{version}
+Release: %{pkgver}.%{distname}
+Summary: Python modules for OpenRTM-aist-1.1.0
+Group: Applications/System
+License: LGPL
+URL: http://openrtm.org
+Source0: %{pkgname}-%{version}.tar.gz
+Vendor: AIST <n-ando at aist.go.jp>
+
+Prefix: %{_prefix}
+Buildroot: %{_tmppath}/%{pkgname}-%{version}-%{release}-root
+
+Requires: python >= 2.5
+Requires: omniORBpy
+Requires: omniORBpy-devel
+Requires: omniORBpy-standard
+
+%description
+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 Task Intelligence
+Research Group, Intelligent Systems Research Institute, National
+Institute of Advanced Industrial Science and Technology (AIST), Japan.
+Please see http://www.is.aist.go.jp/rt/OpenRTM-aist/html/ for more
+detail.
+
+#------------------------------------------------------------
+# doc package
+%package doc
+Summary: Documentation
+Group: Development/Libraries
+%description doc
+Developer documentation.
+
+#------------------------------------------------------------
+# example package
+%package example
+Summary: Example
+Group: Development/Libraries
+Requires: OpenRTM-aist-Python
+%description example
+Example components and sources
+
+#------------------------------------------------------------
+# prep section
+%prep
+%{__rm} -rf %{buildroot}
+%setup
+
+#------------------------------------------------------------
+# build section
+%build
+%{__python} setup.py build_core
+%{__python} setup.py build_example
+
+#------------------------------------------------------------
+# install section
+%install
+%{__python} setup.py install --root=%{buildroot} --record=INSTALLED_FILES
+
+#------------------------------------------------------------
+# clean section
+%clean
+rm -rf %{buildroot}
+
+#------------------------------------------------------------
+# core files section
+%files
+%defattr(-,root,root)
+%{python_sitelib}/OpenRTM-aist.pth
+%{python_sitelib}/OpenRTM_aist_Python-1.1.0-py%{python_version}.egg-info
+%{python_sitelib}/OpenRTM_aist
+%attr(755,root,root) %{_bindir}/*
+
+#------------------------------------------------------------
+# doc package file list
+%files doc
+%defattr(-,root,root,-)
+%{_datadir}/openrtm-%{short_version}/doc/python/
+
+
+#------------------------------------------------------------
+# example package file list
+%files example
+%defattr(755,root,root,-)
+%{_datadir}/openrtm-%{short_version}/example/python/
+
+
+#------------------------------------------------------------
+# changelog section
+%changelog
+* Wed May 01 2013  <n-ando at aist.go.jp> 1.1.0
+- 1.1.0-RELEASE
+
+* Thu Sep 27 2007 Noriaki Ando <n-ando at aist.go.jp> - 0.4.1-1._distname
+- The second public release version of OpenRTM-aist-0.4.1.

Modified: tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/rpm_build.sh
===================================================================
--- tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/rpm_build.sh	2015-05-28 07:40:48 UTC (rev 608)
+++ tags/RELEASE_1_1_0/OpenRTM-aist-Python/packages/rpm/rpm_build.sh	2015-05-29 05:45:37 UTC (rev 609)
@@ -29,6 +29,7 @@
 {
     dist_name=""
     dist_key=""
+    FEDORA_VER=""
     # Check the lsb distribution name
     if test -f /etc/lsb-release ; then
 	. /etc/lsb-release
@@ -38,8 +39,9 @@
     fi
     # Check the Fedora version
     if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
-	dist_name=`cat /etc/fedora-release`-`uname -m`
-	dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+        dist_name=`cat /etc/fedora-release`-`uname -m`
+        dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+        FEDORA_VER=$dist_key
     fi
     #Check the Debian version
     if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
@@ -103,7 +105,11 @@
 
 create_spec_file()
 {
-    sed "s/__DISTNAME__/$DIST_KEY/g" openrtm-aist.spec.in > openrtm-aist.spec.1
+    if test "x$FEDORA_VER" = "xfc19" ; then
+        sed "s/__DISTNAME__/$DIST_KEY/g" openrtm-aist_fc19.spec.in > openrtm-aist.spec.1
+    else
+        sed "s/__DISTNAME__/$DIST_KEY/g" openrtm-aist.spec.in > openrtm-aist.spec.1
+    fi
     sed "s/__VERSION__/$VERSION/g" openrtm-aist.spec.1 > openrtm-aist.spec.2
     sed "s/__SHORT_VERSION__/$SHORT_VERSION/g" openrtm-aist.spec.2 > openrtm-aist.spec.3
     cp openrtm-aist.spec.3 SPECS/openrtm-aist.spec



More information about the openrtm-commit mailing list