Commit 47b42b5c authored by Niklas Yann Wettengel's avatar Niklas Yann Wettengel

Generated RPM files for 23

parent f91a1463
Name: @(Package)
Version: @(Version)
Release: @(RPMInc)%{?dist}
Summary: ROS @(Name) package
Name: ros-kinetic-homer-ptu-msgs
Version: 0.1.5
Release: 1%{?dist}
Summary: ROS homer_ptu_msgs package
Group: Development/Libraries
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]
License: TODO
Source0: %{name}-%{version}.tar.gz
Requires: ros-kinetic-geometry-msgs
Requires: ros-kinetic-message-runtime
Requires: ros-kinetic-std-msgs
BuildRequires: ros-kinetic-catkin
BuildRequires: ros-kinetic-geometry-msgs
BuildRequires: ros-kinetic-message-generation
BuildRequires: ros-kinetic-std-msgs
%description
@(Description)
The ptu_msgs package
%prep
%setup -q
......@@ -18,7 +25,7 @@ License: @(License)
# 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 "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi
mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
%cmake .. \
-UINCLUDE_INSTALL_DIR \
......@@ -27,8 +34,8 @@ mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
-USHARE_INSTALL_PREFIX \
-ULIB_SUFFIX \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-DCMAKE_PREFIX_PATH="@(InstallationPrefix)" \
-DCMAKE_INSTALL_PREFIX="/opt/ros/kinetic" \
-DCMAKE_PREFIX_PATH="/opt/ros/kinetic" \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
-DCATKIN_BUILD_BINARY_PACKAGE="1" \
......@@ -38,11 +45,14 @@ 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 "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi
cd obj-%{_target_platform}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
%files
@(InstallationPrefix)
/opt/ros/kinetic
%changelog
* Thu Jan 26 2017 vseib <vseib@todo.todo> - 0.1.5-1
- Autogenerated by Bloom
%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]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment