|
|
c7a0f2c |
%undefine __cmake_in_source_build
|
|
|
e213428 |
%global apiver_major 6
|
|
|
e213428 |
%global apiver %{apiver_major}.0
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
Name: sdformat
|
|
|
e213428 |
Version: 6.0.0
|
|
|
3f846f7 |
Release: 8%{?dist}
|
|
|
f8f79f5 |
Summary: The Simulation Description Format
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
License: ASL 2.0
|
|
|
b2c9fa4 |
URL: http://sdformat.org/
|
|
|
b2c9fa4 |
Source0: http://gazebosim.org/distributions/%{name}/releases/%{name}-%{version}.tar.bz2
|
|
|
e18105f |
# Disable doxygen latex documentation
|
|
|
b2c9fa4 |
Patch0: %{name}-2.0.1-latex.patch
|
|
|
e213428 |
# Make ruby install path configurable
|
|
|
e213428 |
Patch1: %{name}.ruby-lib-install-dir.patch
|
|
|
67c9155 |
|
|
Igor Gnatenko |
9c97143 |
BuildRequires: gcc-c++
|
|
|
f8f79f5 |
BuildRequires: boost-devel
|
|
|
f8f79f5 |
BuildRequires: cmake
|
|
|
e18105f |
BuildRequires: doxygen
|
|
|
f8f79f5 |
BuildRequires: graphviz
|
|
|
f8f79f5 |
BuildRequires: gtest-devel
|
|
|
9e59239 |
BuildRequires: ignition-cmake-devel
|
|
|
9e59239 |
BuildRequires: ignition-math-devel >= 4
|
|
|
e213428 |
BuildRequires: ruby-devel >= 1.9
|
|
|
d729614 |
BuildRequires: /usr/bin/ruby
|
|
|
d729614 |
BuildRequires: rubygem-multi_xml
|
|
|
f8f79f5 |
BuildRequires: texlive-refman
|
|
|
f8f79f5 |
BuildRequires: tinyxml-devel
|
|
|
f8f79f5 |
BuildRequires: urdfdom-devel
|
|
|
f8f79f5 |
|
|
|
5958d7a |
#Test dependencies
|
|
|
bbfba28 |
BuildRequires: python3
|
|
|
5958d7a |
|
|
|
f8f79f5 |
%description
|
|
|
948c020 |
The Simulation Description Format (SDF) is an XML file format used to
|
|
|
f8f79f5 |
describe all the elements in a software simulation environment. Originally
|
|
|
948c020 |
part of the Gazebo 3D robotic simulator, %{name} is a C++ library for reading
|
|
|
f8f79f5 |
and writing files in the sdf format.
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%package devel
|
|
|
f8f79f5 |
Summary: Development files and libraries for %{name}
|
|
|
f8f79f5 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
f8f79f5 |
# For libdir/cmake directory
|
|
|
f8f79f5 |
Requires: cmake
|
|
|
d88773a |
Requires: tinyxml-devel
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%description devel
|
|
|
f8f79f5 |
The %{name}-devel package contains libraries and header files for
|
|
|
f8f79f5 |
developing applications that use %{name}.
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%package doc
|
|
|
f8f79f5 |
Summary: Documentation for %{name}
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%description doc
|
|
|
f8f79f5 |
The %{name}-doc package contains development documentation for
|
|
|
f8f79f5 |
%{name}.
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%prep
|
|
|
948c020 |
%setup -q
|
|
|
b2c9fa4 |
%patch0 -p0 -b .latex
|
|
|
e213428 |
%patch1 -p1
|
|
|
f8f79f5 |
# Remove bundled urdf components
|
|
|
f8f79f5 |
rm -rf src/urdf
|
|
|
0daae80 |
sed -i 's/unset/#unset/g' CMakeLists.txt
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%build
|
|
|
c7a0f2c |
%cmake \
|
|
|
c7a0f2c |
-DCMAKE_BUILD_TYPE=Release \
|
|
|
67c9155 |
-DLIB_INSTALL_DIR:STRING=%{_lib} \
|
|
|
e213428 |
-DRUBY_LIB_INSTALL_DIR:STRING=%{ruby_vendorlibdir} \
|
|
|
67c9155 |
-DUSE_EXTERNAL_URDF=ON \
|
|
|
67c9155 |
-DSSE3_FOUND=false \
|
|
|
67c9155 |
-DSSSE3_FOUND=false \
|
|
|
67c9155 |
-DSSE4_1_FOUND=false \
|
|
|
67c9155 |
-DSSE4_2_FOUND=false \
|
|
|
67c9155 |
%ifnarch x86_64
|
|
|
67c9155 |
-DSSE2_FOUND=false \
|
|
|
67c9155 |
%endif
|
|
|
67c9155 |
-DUSE_UPSTREAM_CFLAGS=false \
|
|
|
67c9155 |
|
|
|
5958d7a |
|
|
|
c7a0f2c |
%cmake_build
|
|
|
c7a0f2c |
%cmake_build --target doc
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%install
|
|
|
c7a0f2c |
%cmake_install
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%check
|
|
|
85ee06d |
# The INTEGRATION_schema_test uses xmllint to validate flies
|
|
|
85ee06d |
# against schemas. It requires an internet connection, so it
|
|
|
85ee06d |
# fails when built on koji
|
|
|
85ee06d |
export GTEST_COLOR=no
|
|
|
c7a0f2c |
%ctest --verbose --exclude-regex INTEGRATION_schema_test
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%files
|
|
|
b2c9fa4 |
%license LICENSE COPYING
|
|
|
e213428 |
%doc AUTHORS README.md Changelog.md Migration.md
|
|
|
f8f79f5 |
%{_datadir}/%{name}
|
|
|
e213428 |
%{_datadir}/ignition/sdformat%{apiver_major}.yaml
|
|
|
e213428 |
%{ruby_vendorlibdir}/ignition/cmdsdformat%{apiver_major}.rb
|
|
|
bbfba28 |
%{_libdir}/*.so.%{apiver_major}
|
|
|
bbfba28 |
%{_libdir}/*.so.%{version}
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%files devel
|
|
|
f8f79f5 |
%{_libdir}/*.so
|
|
|
f8f79f5 |
%{_libdir}/pkgconfig/*.pc
|
|
|
f8f79f5 |
%{_includedir}/%{name}-%{apiver}
|
|
|
f8f79f5 |
%{_libdir}/cmake/%{name}
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%files doc
|
|
|
b2c9fa4 |
%license LICENSE COPYING
|
|
|
c7a0f2c |
%doc %{_vpath_builddir}/doxygen/html
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
%changelog
|
|
|
3f846f7 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-8
|
|
|
3f846f7 |
- Second attempt - Rebuilt for
|
|
|
3f846f7 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3f846f7 |
|
|
|
51fdb5b |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-7
|
|
|
51fdb5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
51fdb5b |
|
|
|
bbfba28 |
* Wed Apr 22 2020 Rich Mattes <richmattes@gmail.com> - 6.0.0-6
|
|
|
bbfba28 |
- Switch from python2 to python3 for tests (rhbz#1808342)
|
|
|
bbfba28 |
- Update spec to install libraries by version and soversion
|
|
|
bbfba28 |
|
|
|
10bbf18 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
|
|
|
10bbf18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
10bbf18 |
|
|
|
73c2ca8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-4
|
|
|
73c2ca8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
73c2ca8 |
|
|
|
5c3eb5e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
|
|
|
5c3eb5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
5c3eb5e |
|
|
|
4a134c2 |
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 6.0.0-2
|
|
|
4a134c2 |
- Rebuilt for Boost 1.69
|
|
|
4a134c2 |
|
|
|
e213428 |
* Fri Nov 23 2018 Till Hofmann <thofmann@fedoraproject.org> - 6.0.0-1
|
|
|
e213428 |
- Update to release 6.0.0
|
|
|
e213428 |
- Install ruby script into %%{ruby_vendorlibdir}
|
|
|
e213428 |
- Remove obsolete %%post and %%postun ldconfig scriptlets
|
|
|
e213428 |
|
|
|
80edd68 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-5
|
|
|
80edd68 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
80edd68 |
|
|
|
3cdfcf1 |
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.2.0-4
|
|
|
3cdfcf1 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
3cdfcf1 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
3cdfcf1 |
|
|
|
4a15b49 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-3
|
|
|
4a15b49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4a15b49 |
|
|
|
3ab5031 |
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 5.2.0-2
|
|
|
3ab5031 |
- Rebuilt for Boost 1.66
|
|
|
3ab5031 |
|
|
|
410bacd |
* Sun Aug 20 2017 Rich Mattes <richmattes@gmail.com> - 5.2.0-1
|
|
|
410bacd |
- Update to release 5.2.0
|
|
|
410bacd |
|
|
|
c4f64d4 |
* Sun Aug 20 2017 Rich Mattes <richmattes@gmail.com> - 5.1.0-5
|
|
|
c4f64d4 |
- Add a fix for a cmake syntax error
|
|
|
c4f64d4 |
|
|
|
c63a4f0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-5
|
|
|
c63a4f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
c63a4f0 |
|
|
|
8409ba0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
|
|
|
8409ba0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8409ba0 |
|
|
|
2ec73f3 |
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 5.1.0-3
|
|
|
2ec73f3 |
- Rebuilt for Boost 1.64
|
|
|
2ec73f3 |
|
|
|
fe05b9b |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
|
|
|
fe05b9b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
fe05b9b |
|
|
|
97b2a58 |
* Sat Feb 25 2017 Rich Mattes <richmattes@gmail.com> - 5.1.0-1
|
|
|
97b2a58 |
- Update to release 5.1.0
|
|
|
97b2a58 |
|
|
|
bb0cb38 |
* Wed Feb 08 2017 Kalev Lember <klember@redhat.com> - 4.2.0-3
|
|
|
bb0cb38 |
- Rebuilt for Boost 1.63
|
|
|
bb0cb38 |
|
|
|
d88773a |
* Wed Jan 11 2017 Rich Mattes <richmattes@gmail.com> - 4.2.0-2
|
|
|
d88773a |
- Add tinyxml-devel to sdformat-devel's requirements
|
|
|
d88773a |
|
|
|
5cbb353 |
* Sun Oct 16 2016 Rich Mattes <richmattes@gmail.com> - 4.2.0-1
|
|
|
5cbb353 |
- Update to release 4.2.0 (rhbz#1383544)
|
|
|
5cbb353 |
|
|
|
948c020 |
* Sun Jul 17 2016 Rich Mattes <richmattes@gmail.com> - 4.1.1-1
|
|
|
948c020 |
- Update to release 4.1.1 (rhbz#1246705)
|
|
|
948c020 |
|
|
|
c0beb4b |
* Tue Jul 05 2016 Rich Mattes <richmattes@gmail.com> - 3.7.0-4
|
|
|
c0beb4b |
- Update for boost/gcc-6.1.1 symbol generation change (rhbz#1331983)
|
|
|
c0beb4b |
|
|
|
7049bdb |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
|
|
|
7049bdb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7049bdb |
|
|
|
ba99fa4 |
* Mon Jan 18 2016 Jonathan Wakely <jwakely@redhat.com> - 3.7.0-2
|
|
|
ba99fa4 |
- Rebuilt for Boost 1.60
|
|
|
ba99fa4 |
|
|
|
67c9155 |
* Mon Jan 04 2016 Rich Mattes <richmattes@gmail.com> - 3.7.0-1
|
|
|
67c9155 |
- Update to release 3.7.0 (rhbz#1246705)
|
|
|
67c9155 |
|
|
|
69ddc73 |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 2.3.2-7
|
|
|
69ddc73 |
- Rebuilt for Boost 1.59
|
|
|
69ddc73 |
|
|
|
fa357cd |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-6
|
|
|
fa357cd |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
fa357cd |
|
|
|
786d9e1 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 2.3.2-5
|
|
|
786d9e1 |
- rebuild for Boost 1.58
|
|
|
786d9e1 |
|
|
|
3689296 |
* Sun Jul 05 2015 Rich Mattes <richmattes@gmail.com> - 2.3.2-4
|
|
|
3689296 |
- Rebuild for boost (rhbz#1239159)
|
|
|
3689296 |
|
|
|
fa420f1 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-3
|
|
|
fa420f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
fa420f1 |
|
|
|
04ed838 |
* Thu May 28 2015 Rich Mattes <richmattes@gmail.com> - 2.3.2-2
|
|
|
04ed838 |
- Update to release 2.3.2 (rhbz#1225680)
|
|
|
04ed838 |
|
|
|
b2c9fa4 |
* Sat May 23 2015 Rich Mattes <richmattes@gmail.com> - 2.3.0-1
|
|
|
b2c9fa4 |
- Update to release 2.3.0
|
|
|
b2c9fa4 |
- Use license macro
|
|
|
b2c9fa4 |
- Remove upstream patches
|
|
|
b2c9fa4 |
|
|
|
1b401bb |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.0.1-4
|
|
|
1b401bb |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
1b401bb |
|
|
|
7affbaa |
* Sat Jan 31 2015 Rich Mattes <richmattes@gmail.com> - 2.0.1-3
|
|
|
e18105f |
- Disable latex documentation generation
|
|
|
e18105f |
|
|
Petr Machata |
d419c75 |
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 2.0.1-3
|
|
Petr Machata |
d419c75 |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
d419c75 |
|
|
|
0512b9e |
* Sun Sep 07 2014 Rich Mattes <richmattes@gmail.com> - 2.0.1-2
|
|
|
0512b9e |
- Added CMake version script
|
|
|
0512b9e |
|
|
|
5958d7a |
* Sat Aug 23 2014 Rich Mattes <richmattes@gmail.com> - 2.0.1-1
|
|
|
5958d7a |
- Update to release 2.0.1
|
|
|
5958d7a |
- Apply upstream patch for urdfdom 0.3 support
|
|
|
5958d7a |
|
|
|
f1cb997 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-5
|
|
|
f1cb997 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f1cb997 |
|
|
|
7a62bf3 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
|
|
|
7a62bf3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7a62bf3 |
|
|
|
60d4a48 |
* Mon May 26 2014 Rich Mattes <richmattes@gmail.com> - 2.0.0-3
|
|
|
60d4a48 |
- Apply patch for urdf 0.3.0 compatibility
|
|
|
60d4a48 |
|
|
Petr Machata |
9532f5d |
* Sun May 25 2014 Petr Machata <pmachata@redhat.com> - 2.0.0-3
|
|
Petr Machata |
9532f5d |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
9532f5d |
|
|
|
f49648d |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 2.0.0-2
|
|
|
f49648d |
- rebuild for boost 1.55.0
|
|
|
f49648d |
|
|
|
c028e3b |
* Tue Apr 15 2014 Rich Mattes <richmattes@gmail.com> - 2.0.0-1
|
|
|
c028e3b |
- Update to release 2.0
|
|
|
c028e3b |
|
|
|
0d5be88 |
* Sun Feb 09 2014 Rich Mattes <richmattes@gmail.com> - 1.4.11-3
|
|
|
0d5be88 |
- Rebuild for console-bridge 0.2.5
|
|
|
0d5be88 |
|
|
|
842fc5a |
* Sun Jan 26 2014 Rich Mattes <richmattes@gmail.com> - 1.4.11-2
|
|
|
842fc5a |
- Declare LIB_INSTALL_DIR relative to CMAKE_INSTALL_PREFIX (rhbz#1057939)
|
|
|
842fc5a |
|
|
|
b91e0ca |
* Wed Nov 27 2013 Rich Mattes <richmattes@gmail.com> - 1.4.11-1
|
|
|
b91e0ca |
- Update to release 1.4.11
|
|
|
b91e0ca |
|
|
|
f8f79f5 |
* Tue Nov 19 2013 Rich Mattes <richmattes@gmail.com> - 1.4.10-2
|
|
|
f8f79f5 |
- Moved documentation into a separate subpackage
|
|
|
f8f79f5 |
- Removed bundled gtest
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
* Sat Nov 16 2013 Rich Mattes <richmattes@gmail.com> - 1.4.10-1
|
|
|
f8f79f5 |
- Update to release 1.4.10
|
|
|
f8f79f5 |
- Add BuildRequres for tinyxml
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
* Wed Oct 09 2013 Rich Mattes <richmattes@gmail.com> - 1.4.8-2
|
|
|
f8f79f5 |
- Unbundle urdfdom and urdfdom-headers
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
* Sun Oct 06 2013 Rich Mattes <richmattes@gmail.com> - 1.4.8-1
|
|
|
f8f79f5 |
- Update to release 1.4.8
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
* Tue Aug 20 2013 Rich Mattes <richmattes@gmail.com> - 1.4.5-2
|
|
|
f8f79f5 |
- Updated description field
|
|
|
f8f79f5 |
|
|
|
f8f79f5 |
* Sat Aug 17 2013 Rich Mattes <richmattes@gmail.com> - 1.4.5-1
|
|
|
f8f79f5 |
- Initial package
|