[ompl: 1/2] Update to release 0.11.1

rmattes rmattes at fedoraproject.org
Thu Aug 9 16:52:31 UTC 2012


commit 99d40502e073b197e45f343f9366adf664a7a6f8
Author: Rich Mattes <richmattes at gmail.com>
Date:   Thu Aug 9 12:50:36 2012 -0400

    Update to release 0.11.1

 .gitignore |    1 +
 ompl.spec  |   25 +++++++++++++++++++------
 sources    |    2 +-
 3 files changed, 21 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3d7f9e3..2495ee2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /ompl-0.9.3-Source.tar.gz
 /ompl-0.9.5-Source.tar.gz
 /ompl-0.10.2-Source.tar.gz
+/ompl-0.11.1-Source.tar.gz
diff --git a/ompl.spec b/ompl.spec
index 244ed04..e8bcc33 100644
--- a/ompl.spec
+++ b/ompl.spec
@@ -1,17 +1,17 @@
 Name:           ompl
-Version:        0.10.2
+Version:        0.11.1
 Release:        1%{?dist}
 Summary:        The Open Motion Planning Library
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://ompl.kavrakilab.org/
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.gz
+Source0:        https://bitbucket.org/%{name}/%{name}/downloads/%{name}-%{version}-Source.tar.gz
 # This patch adds LIB_SUFFIX to the library installation directory, so that
 # libraries get installed to /usr/lib64 on 64 bit systems.  It also
 # moves the installation directory of the odeint library
 # Not yet submitted upstream
-Patch0:         ompl-0.10.2-fedora.patch
+Patch0:         ompl-0.11.1-fedora.patch
 BuildRequires:  boost-devel >= 1.42.0
 BuildRequires:  cmake >= 2.8.2
 BuildRequires:  doxygen
@@ -39,22 +39,32 @@ developing applications that use %{name}.
 
 %prep
 %setup -q -n %{name}-%{version}-Source
-%patch0 -p0 -b .fedora
+%patch0 -p2 -b .fedora
 
 %build
 # Python bindings are disabled because dependencies pygccxml and pyplusplus are not packaged for Fedora
 mkdir build
 cd build
-%cmake -DCMAKE_SKIP_RPATH=ON -DOMPL_BUILD_PYBINDINGS=OFF -DBOOST_LIBRARYDIR=%{_libdir} -DODE_LIB_PATH=%{_libdir} -DBUILD_OMPL_TESTS=ON  -DOMPL_ODESOLVER=ON ..
+%cmake -DCMAKE_SKIP_RPATH=ON \
+  -DOMPL_BUILD_PYBINDINGS=OFF \
+  -DOMPL_LIB_INSTALL_DIR=%{_lib} \
+  -DBOOST_LIBRARYDIR=%{_libdir} \
+  -DODE_LIB_PATH=%{_libdir} \
+  -DBUILD_OMPL_TESTS=ON  \
+  -DOMPL_ODESOLVER=ON ..
+
 make %{?_smp_mflags}
 make doc
 rm -f doc/html/installdox
 
 %install
 make -C build install DESTDIR=%{buildroot}
+mkdir -p %{buildroot}%{_datadir}/cmake/Modules
+cp %{buildroot}%{_datadir}/ompl/ompl-config.cmake %{buildroot}%{_datadir}/cmake/Modules/FindOMPL.cmake
 
 rm -f %{buildroot}%{_datadir}/%{name}/demos/*.py
 rm -rf %{buildroot}%{_includedir}/%{name}/CMakeFiles
+rm -rf %{buildroot}%{_bindir}
 
 %check
 export LD_LIBRARY_PATH=$(pwd)/build/lib
@@ -67,7 +77,7 @@ make -C build test
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE README.txt
+%doc LICENSE README.md
 %{_libdir}/libompl.so.*
 
 %files devel
@@ -80,6 +90,9 @@ make -C build test
 %{_datadir}/cmake/Modules/FindOMPL.cmake
 
 %changelog
+* Thu Aug 09 2012 Rich Mattes <richmattes at gmail.com> - 0.11.1-1
+- Update to release 0.11.1
+
 * Tue May 15 2012 Rich Mattes <richmattes at gmail.com> - 0.10.2-1
 - Update to release 0.10.2
 
diff --git a/sources b/sources
index 6b922af..92cd5bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e7ad9780070b93916f1e695696fd185  ompl-0.10.2-Source.tar.gz
+235ca56932ff20da0c01f8201657740a  ompl-0.11.1-Source.tar.gz


More information about the scm-commits mailing list