Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:awissu:gazebo
ignition-msgs0
ignition-msgs0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ignition-msgs0.spec of Package ignition-msgs0
# # spec file for package ignition-msgs0 # # 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 hash b5ed20ac644a %define major 0 %define sover 0-0 Name: ignition-msgs%{major} Version: 0.7.0 Release: 0 Summary: Igntioin Message protobuf messages License: Apache-2.0 Group: Productivity/Scientific/Other Url: http://ignitionrobotics.org Source0: https://bitbucket.org/ignitionrobotics/ign-msgs/get/%{name}_%{version}.tar.bz2#/ignitionrobotics-ign-msgs-%{hash}.tar.bz2 BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: googletest-devel BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(ignition-math3) BuildRequires: rubygem(%rb_default_ruby_abi:ronn) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Ignition Messages is a component in the ignition framework, a set of libraries designed to rapidly develop robot applications. %package -n libignition-msgs%{sover} Summary: C++ library for %{name} Group: System/Libraries %description -n libignition-msgs%{sover} Ignition Messages is a component in the ignition framework, a set of libraries designed to rapidly develop robot applications. This package contains the shared library. %package ruby Summary: The ruby command line library Group: System/Libraries Requires: libignition-msgs%{sover} %description ruby Igntioin Message protobuf messages and functions for robot applications. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libignition-msgs%{sover} = %{version} %description devel Igntioin Message protobuf messages and functions for robot applications. This package contains the header files and libraries needed to develop application that use %{name}. %prep %setup -q -n ignitionrobotics-ign-msgs-%{hash} # Fix: is not installed properly sed -e '/CMAKE_INSTALL_LIBDIR/s/@CMAKE_INSTALL_PREFIX@//' \ -i cmake/ignition-config.cmake.in %build export CFLAGS="%{optflags}" %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 \ -DEXTRA_CMAKE_CXX_FLAGS="${CXXFLAGS}" %make_jobs %install %cmake_install # Install the ruby command line library in ruby-stdlib mkdir -p %{buildroot}%{rb_libdir}/ignition mv %{buildroot}{%{_libexecdir}/ruby/ignition,%{rb_libdir}/ignition}/cmdmsgs%{major}.rb sed -e '/library_path/s|[^: ]*$|%{rb_libdir}/ignition/cmdmsgs%{major}|' \ -i $(grep -rl 'library_path' %{buildroot}%{_datadir}/ignition/msgs%{major}.yaml) %post -n libignition-msgs%{sover} -p /sbin/ldconfig %postun -n libignition-msgs%{sover} -p /sbin/ldconfig %files -n libignition-msgs%{sover} %defattr(-,root,root) %doc AUTHORS Changelog.md COPYING LICENSE NEWS %{_libdir}/libignition-msgs*.so.* %files ruby %defattr(-,root,root) %dir %{_datadir}/ignition %dir %{rb_libdir}/ignition %{_datadir}/ignition/msgs%{major}.yaml %attr(0755,root,root) %{rb_libdir}/ignition/cmdmsgs%{major}.rb %files devel %defattr(-,root,root) %dir %{_includedir}/ignition %{_includedir}/ignition/msgs%{major}/ %{_libdir}/cmake/ignition-msgs%{major}/ %{_libdir}/libignition-msgs%{major}.so %{_libdir}/pkgconfig/ignition-msgs%{major}.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