Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:xtzh:ros:kinetic
ros-kinetic-cmake-modules
ros-kinetic-cmake-modules.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ros-kinetic-cmake-modules.spec of Package ros-kinetic-cmake-modules
%define ros_distro kinetic %define ros_root /opt/ros %define install_path %{ros_root}/%{ros_distro} %define src_name cmake_modules Name: ros-kinetic-cmake-modules Version: 0.4.1 Release: 0%{?dist} Summary: ROS cmake_modules package Group: Development/Libraries License: BSD Source0: https://github.com/ros/cmake_modules/archive/%{version}.tar.gz Source1: cmake_manifest_parser BuildRequires: ros-kinetic-catkin BuildRequires: gcc-c++ %description A common repository for CMake Modules which are not distributed with CMake but are commonly used by ROS packages. %prep %setup -q -n %{src_name}-%{version} %build # 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 "/usr/setup.sh" ]; then . "/usr/setup.sh"; fi mkdir build && cd build cmake .. \ -DCMAKE_INSTALL_PREFIX="%{install_path}" \ -DCMAKE_PREFIX_PATH="%{install_path}" \ -DSETUPTOOLS_DEB_LAYOUT=OFF \ -DCATKIN_BUILD_BINARY_PACKAGE="1" \ make %{?_smp_mflags} %install # 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 "/usr/setup.sh" ]; then . "/usr/setup.sh"; fi pushd build make install DESTDIR=%{buildroot} popd python %{SOURCE1} %{buildroot} %files -f ros_install_manifest %changelog * Thu Mar 30 2017 Zhang Xingtao <xingtao.zhang@yahoo.com> - 0.4.1 * Fri May 09 2014 William Woodall <william@osrfoundation.org> - 0.2.1-0 - Autogenerated by Bloom
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor