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

Rebase from 'rpm/indigo/homer_navigation'

parent d805d42e
No related branches found
No related tags found
No related merge requests found
Name: ros-indigo-homer-navigation
Version: 1.0.1
Release: 4%{?dist}
Summary: ROS homer_navigation package
Name: @(Package)
Version: @(Version)
Release: @(RPMInc)%{?dist}
Summary: ROS @(Name) package
Group: Development/Libraries
License: GPLv3
Source0: %{name}-%{version}.tar.gz
Requires: ros-indigo-homer-mapnav-msgs
Requires: ros-indigo-homer-nav-libs
Requires: ros-indigo-nav-msgs
Requires: ros-indigo-roscpp
Requires: ros-indigo-roslib
Requires: ros-indigo-sensor-msgs
Requires: ros-indigo-tf
BuildRequires: ros-indigo-catkin
BuildRequires: ros-indigo-homer-mapnav-msgs
BuildRequires: ros-indigo-homer-nav-libs
BuildRequires: ros-indigo-nav-msgs
BuildRequires: ros-indigo-roscpp
BuildRequires: ros-indigo-roslib
BuildRequires: ros-indigo-sensor-msgs
BuildRequires: ros-indigo-tf
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_navigation package
@(Description)
%prep
%setup -q
......@@ -33,7 +18,7 @@ The homer_navigation package
# 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 \
......@@ -41,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" \
......@@ -52,26 +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
* Tue Nov 17 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-4
- Autogenerated by Bloom
* Tue Nov 17 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-3
- Autogenerated by Bloom
* Fri Oct 09 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-2
- Autogenerated by Bloom
* Fri Sep 25 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-1
- Autogenerated by Bloom
* Tue Sep 15 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-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