LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File catkin.spec of Package catkin (Project home:Karalabe)

# spec file for package catkin
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

# norootforbuild

Name:           catkin
Version:        0.5.63
Release:        0
Summary:        Low-level build system macros and infrastructure for ROS

License:        BSD
URL:            http://www.ros.org/wiki/catkin
Source0:        https://github.com/ros-gbp/catkin-release/archive/release/catkin/0.5.63.tar.gz
Source1:        catkin.rpmlintrc
Patch0:         catkin-0.5.63-remove-marker-check.patch
Group:          Libraries/Research

BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  libgtest-devel
BuildRequires:  python-argparse
BuildRequires:  python-catkin_pkg
BuildRequires:  python-empy
BuildRequires:  python-nose

Requires:       cmake
Requires:       gcc-c++
Requires:       libgtest-devel
Requires:       python-argparse
Requires:       python-catkin_pkg
Requires:       python-empy
Requires:       python-nose

BuildArch:      noarch

Low-level build system macros and infrastructure for ROS.

%package devel
Summary:        Development package for catkin
Group:          Development/Libraries/C and C++

%description devel
Development package for catkin.

%setup -q -n catkin-release-release-catkin-0.5.63
%patch0 -p1

mkdir ../catkin
mv * ../catkin

mkdir -p src/catkin
mv ../catkin src

./src/catkin/bin/catkin_make -DSETUPTOOLS_DEB_LAYOUT="OFF" \
                             -DCATKIN_PACKAGE_LIB_DESTINATION=%{_libdir} \

./src/catkin/bin/catkin_make install -DCMAKE_INSTALL_PREFIX=%{_prefix} DESTDIR=%{buildroot}

rm ${root}/.catkin
rm ${root}/.rosinstall
rm ${root}/env.sh
rm ${root}/_setup_util.py
rm ${root}/setup.*
mv ${root}/lib/pkgconfig ${root}/share/lib