Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:xtzh:ros:kinetic
urdfdom
urdfdom.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File urdfdom.spec of Package urdfdom
# # # spec file for package urdfdom # # Copyright (c) 2016 SUSE LINUX 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/ # %define soname urdfdom_model %define sover 0 Name: urdfdom Version: 1.0.0 Release: 0 Summary: The URDF (U-Robot Description Format) parser License: BSD-3-Clause Group: System/Libraries Url: http://wiki.ros.org/urdf Source0: https://github.com/ros/urdfdom/archive/%{version}.tar.gz #Source0: https://github.com/ros/urdfdom/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM build.patch avvissu@yandex.ru -- Unset libdir and use sover Patch0: urdfdom-0.4.1_build.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: boost-devel BuildRequires: tinyxml-devel BuildRequires: pkg-config BuildRequires: pkgconfig(urdfdom_headers) BuildRequires: pkgconfig(console_bridge) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The URDF (U-Robot Description Format) library provides core data structures and a simple XML parsers for populating the class data structures from an URDF file. %package -n lib%{soname}%{sover} Summary: C++ library for %{name} Group: System/Libraries Provides: lib%{name}%{sover} = %{version} Provides: liburdfdom_sensor%{sover} = %{version} Provides: liburdfdom_world%{sover} = %{version} %description -n lib%{soname}%{sover} The URDF (U-Robot Description Format) library provides core data structures and a simple XML parsers for populating the class data structures from an URDF file. This package contains the shared library. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: lib%{name}%{sover} = %{version} %description devel Ignition Robotics Math Library. This package contains the header files and libraries needed to develop application that use %{name}. %prep %setup -q #%patch0 -p1 # Fix: urdfdom_sensor is not installed properly sed -e '/CMAKE_INSTALL_LIBDIR/s/@CMAKE_INSTALL_PREFIX@//' \ -i cmake/urdfdom-config.cmake.in %build %cmake %make_jobs %install %cmake_install %post -n lib%{soname}%{sover} -p /sbin/ldconfig %postun -n lib%{soname}%{sover} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/check_urdf %{_bindir}/urdf_to_graphiz %files -n lib%{soname}%{sover} %defattr(-,root,root) %{_libdir}/lib%{name}*.so.* %files devel %defattr(-,root,root) %{_bindir}/urdf_mem_test %{_includedir}/urdf_parser/ %{_libdir}/lib%{name}*.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/%{name}/ %changelog
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