Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:awissu:gazebo
sdformat4
sdformat5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sdformat5.spec of Package sdformat4
# # spec file for package sdformat # # Copyright (c) 2017 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/ # %bcond_with urdf %define hash e59451e09b30 %define src_name osrf-sdformat %define sover 5 Name: sdformat5 Version: 5.2.0 Release: 0 Summary: Simulation Description Format (SDF) parser License: Apache-2.0 Group: Productivity/Scientific/Other Url: http://sdformat.org/ Source0: https://bitbucket.org/osrf/sdformat/get/%{name}%{sover}_%{version}.tar.bz2#/%{src_name}-%{hash}.tar.bz2 BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: python-psutil BuildRequires: tinyxml-devel BuildRequires: pkgconfig(ignition-math3) BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn) %{!?with_urdf:BuildRequires: pkgconfig(urdfdom)} %if 0%{?suse_version} < 1320 BuildRequires: boost-devel %else BuildRequires: libboost_system-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_program_options-devel BuildRequires: libboost_regex-devel BuildRequires: libboost_iostreams-devel %endif %description SDF is an XML format that describes objects and environments for robot simulators, visualization, and control. %package -n libsdformat%{sover} Summary: C++ library for %{name} Group: System/Libraries %description -n libsdformat%{sover} SDF is an XML format that describes objects and environments for robot simulators, visualization, and control. This package contains the shared library. %package sdf Summary: SDF files Group: System/Libraries Requires: libsdformat%{sover} Provides: sdformat-sdf = %{version} Obsoletes: sdformat-sdf > %{version} Obsoletes: sdformat-sdf < %{version} %description sdf Simulation Description Format (SDF) parser. This package contains SDF (Simulation Description Format) XML files needed by the libsdformat. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libsdformat%{sover} = %{version} %description devel Simulation Description Format (SDF) parser. This package contains the header files and libraries needed to develop application that use %{name}. %prep %setup -q -n %{src_name}-%{hash} # Disable quiet mode sed -e '/[.0-9]\+/s/\ QUIET//' cmake/SearchForStuff.cmake # Fix: SDFormat is not installed properly sed -e '/LIB_INSTALL_DIR/s/@CMAKE_INSTALL_PREFIX@//' \ -i cmake/sdf_config.cmake.in %build export CFLAGS="%{optflags} -pthread" %ifarch %ix86 export CFLAGS="${CFLAGS} -msse2 -mfpmath=sse" %endif export CXXFLAGS="${CFLAGS}" %cmake \ -DUSE_HOST_CFLAGS=OFF \ -DUSE_UPSTREAM_CFLAGS=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$CXXFLAGS" \ -DUSE_EXTERNAL_URDF=OFF %make_jobs %install %cmake_install %fdupes -s %{buildroot}%{_datadir}/%{name} %post -n libsdformat%{sover} -p /sbin/ldconfig %postun -n libsdformat%{sover} -p /sbin/ldconfig %files -n libsdformat%{sover} %defattr(-,root,root) %doc AUTHORS Changelog.md COPYING LICENSE %{_libdir}/libsdformat.so.* %files sdf %defattr(-,root,root) %{_datadir}/sdformat/ %files devel %defattr(-,root,root) %{_includedir}/sdformat*/ %{_libdir}/cmake/sdformat/ %{_libdir}/libsdformat.so %{_libdir}/pkgconfig/sdformat.pc %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