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

Generated RPM files for 24

parent 0defb9a4
No related branches found
No related tags found
No related merge requests found
Name: @(Package)
Version: @(Version)
Release: @(RPMInc)%{?dist}
Summary: ROS @(Name) package
Name: ros-kinetic-homer-msgs
Version: 0.1.5
Release: 1%{?dist}
Summary: ROS homer_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-sensor-msgs
Requires: ros-kinetic-std-msgs
BuildRequires: ros-kinetic-catkin
BuildRequires: ros-kinetic-geometry-msgs
BuildRequires: ros-kinetic-message-generation
BuildRequires: ros-kinetic-sensor-msgs
BuildRequires: ros-kinetic-std-msgs
%description
@(Description)
The homer_msgs package
%prep
%setup -q
......@@ -18,7 +27,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 +36,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 +47,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 mknauf <mknauf@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]
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