| |
@@ -1,8 +1,9 @@
|
| |
- %global apiver 5.2
|
| |
+ %global apiver_major 6
|
| |
+ %global apiver %{apiver_major}.0
|
| |
|
| |
Name: sdformat
|
| |
- Version: 5.2.0
|
| |
- Release: 5%{?dist}
|
| |
+ Version: 6.0.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: The Simulation Description Format
|
| |
|
| |
License: ASL 2.0
|
| |
@@ -10,6 +11,8 @@
|
| |
Source0: http://gazebosim.org/distributions/%{name}/releases/%{name}-%{version}.tar.bz2
|
| |
# Disable doxygen latex documentation
|
| |
Patch0: %{name}-2.0.1-latex.patch
|
| |
+ # Make ruby install path configurable
|
| |
+ Patch1: %{name}.ruby-lib-install-dir.patch
|
| |
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: boost-devel
|
| |
@@ -18,7 +21,7 @@
|
| |
BuildRequires: graphviz
|
| |
BuildRequires: gtest-devel
|
| |
BuildRequires: ignition-math-devel
|
| |
- BuildRequires: ruby >= 1.9
|
| |
+ BuildRequires: ruby-devel >= 1.9
|
| |
BuildRequires: /usr/bin/ruby
|
| |
BuildRequires: rubygem-multi_xml
|
| |
BuildRequires: texlive-refman
|
| |
@@ -55,6 +58,7 @@
|
| |
%prep
|
| |
%setup -q
|
| |
%patch0 -p0 -b .latex
|
| |
+ %patch1 -p1
|
| |
# Remove bundled urdf components
|
| |
rm -rf src/urdf
|
| |
|
| |
@@ -66,6 +70,7 @@
|
| |
-DCMAKE_C_FLAGS_RELWITHDEBINFO="-std=c++11 %{optflags}" \
|
| |
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-std=c++11 %{optflags}" \
|
| |
-DLIB_INSTALL_DIR:STRING=%{_lib} \
|
| |
+ -DRUBY_LIB_INSTALL_DIR:STRING=%{ruby_vendorlibdir} \
|
| |
-DUSE_EXTERNAL_URDF=ON \
|
| |
-DSSE3_FOUND=false \
|
| |
-DSSSE3_FOUND=false \
|
| |
@@ -91,15 +96,12 @@
|
| |
export GTEST_COLOR=no
|
| |
make -C build test ARGS="-V -E INTEGRATION_schema_test"
|
| |
|
| |
- %post -p /sbin/ldconfig
|
| |
-
|
| |
- %postun -p /sbin/ldconfig
|
| |
-
|
| |
%files
|
| |
%license LICENSE COPYING
|
| |
- %doc AUTHORS README
|
| |
- %exclude %{_datadir}/%{name}/cmake
|
| |
+ %doc AUTHORS README.md Changelog.md Migration.md
|
| |
%{_datadir}/%{name}
|
| |
+ %{_datadir}/ignition/sdformat%{apiver_major}.yaml
|
| |
+ %{ruby_vendorlibdir}/ignition/cmdsdformat%{apiver_major}.rb
|
| |
%{_libdir}/*.so.*
|
| |
|
| |
%files devel
|
| |
@@ -113,6 +115,11 @@
|
| |
%doc build/doxygen/html
|
| |
|
| |
%changelog
|
| |
+ * Fri Nov 23 2018 Till Hofmann <thofmann@fedoraproject.org> - 6.0.0-1
|
| |
+ - Update to release 6.0.0
|
| |
+ - Install ruby script into %%{ruby_vendorlibdir}
|
| |
+ - Remove obsolete %%post and %%postun ldconfig scriptlets
|
| |
+
|
| |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-5
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
| |
|
| |