Skip to content
Snippets Groups Projects
Commit 63ea12ef authored by Niklas Yann Wettengel's avatar Niklas Yann Wettengel
Browse files

Rebase from 'rpm/indigo/homer_mapnav'

parent 70494d02
No related branches found
No related tags found
No related merge requests found
Name: ros-indigo-homer-mapnav
Version: 0.0.2
Release: 0%{?dist}
Summary: ROS homer_mapnav package
Name: @(Package)
Version: @(Version)
Release: @(RPMInc)%{?dist}
Summary: ROS @(Name) package
Group: Development/Libraries
License: BSD
URL: http://ros.org/wiki/hector_map_nav
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: ros-indigo-homer-map-manager
Requires: ros-indigo-homer-mapnav-msgs
Requires: ros-indigo-homer-mapping
Requires: ros-indigo-homer-nav-libs
Requires: ros-indigo-homer-navigation
BuildRequires: ros-indigo-catkin
License: @(License)
@[if Homepage and Homepage != '']URL: @(Homepage)@\n@[end if]Source0: %{name}-%{version}.tar.gz
@[if NoArch]@\nBuildArch: noarch@\n@[end if]
@[for p in Depends]Requires: @p@\n@[end for]@[for p in BuildDepends]BuildRequires: @p@\n@[end for]@[for p in Conflicts]Conflicts: @p@\n@[end for]@[for p in Replaces]Obsoletes: @p@\n@[end for]
%description
The homer_map_nav pkg installs the homer mapping and navigation component
@(Description)
%prep
%setup -q
......@@ -27,7 +18,7 @@ The homer_map_nav pkg installs the homer mapping and navigation component
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/indigo/setup.sh" ]; then . "/opt/ros/indigo/setup.sh"; fi
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi
mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
%cmake .. \
-UINCLUDE_INSTALL_DIR \
......@@ -35,8 +26,8 @@ mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
-USYSCONF_INSTALL_DIR \
-USHARE_INSTALL_PREFIX \
-ULIB_SUFFIX \
-DCMAKE_INSTALL_PREFIX="/opt/ros/indigo" \
-DCMAKE_PREFIX_PATH="/opt/ros/indigo" \
-DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-DCMAKE_PREFIX_PATH="@(InstallationPrefix)" \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
-DCATKIN_BUILD_BINARY_PACKAGE="1" \
......@@ -46,14 +37,11 @@ make %{?_smp_mflags}
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/indigo/setup.sh" ]; then . "/opt/ros/indigo/setup.sh"; fi
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi
cd obj-%{_target_platform}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
%files
/opt/ros/indigo
%changelog
* Thu Feb 18 2016 Raphael Memmesheimer <raphael@uni-koblenz.de> - 0.0.2-0
- Autogenerated by Bloom
@(InstallationPrefix)
%changelog@[for change_version, (change_date, main_name, main_email) in changelogs]@\n* @(change_date) @(main_name) <@(main_email)> - @(change_version)@\n- Autogenerated by Bloom@\n@[end for]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment