242d675
%undefine __cmake_in_source_build
242d675
%global libversion 1.0
242d675
f2559b6
Name:		urdfdom
242d675
Version:	1.0.4
242d675
Release:	1%{?dist}
f2559b6
Summary:	U-Robot Description Format Document Object Model
f2559b6
f2559b6
License:	BSD
f2559b6
URL:		http://ros.org/wiki/urdf
4d1a362
Source0:	https://github.com/ros/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
242d675
# Don't look for a specific version of console-bridge
242d675
# https://github.com/ros/urdfdom/pull/141
242d675
Patch0:     urdfdom-1.0.4-console-bridge.patch
f2559b6
Igor Gnatenko c6eba74
BuildRequires:  gcc-c++
f2559b6
BuildRequires:	boost-devel
f2559b6
BuildRequires:	cmake
7a2d71a
BuildRequires:	urdfdom-headers-static
f2559b6
BuildRequires:	console-bridge-devel
f2559b6
BuildRequires:	tinyxml-devel
f2559b6
f2559b6
%description
f2559b6
The URDF (U-Robot Description Format) library
f2559b6
provides core data structures and a simple XML parser
f2559b6
for populating the class data structures from an URDF file
f2559b6
f2559b6
%package        devel
f2559b6
Summary:	Development files for %{name}
f2559b6
Requires:	%{name}%{?_isa} = %{version}-%{release}
52c0315
Requires:	urdfdom-headers-devel
f2559b6
f2559b6
%description    devel
f2559b6
The %{name}-devel package contains libraries and header files for
f2559b6
developing applications that use %{name}.
f2559b6
f2559b6
%prep
4d1a362
%setup -qn %{name}-%{version}
242d675
%patch0 -p0 -b .console-bridge
50bda62
# Disable automatic installation of python bindings
50bda62
sed -i 's/add_subdirectory(urdf_parser_py)//' CMakeLists.txt
f2559b6
f2559b6
%build
242d675
%cmake -DCMAKE_BUILD_TYPE=Release
1cfb15a
%cmake_build
f2559b6
f2559b6
%install
1cfb15a
%cmake_install
8abb0af
rm -rf %{buildroot}%{_bindir}/urdf_mem_test
f2559b6
f2559b6
f2559b6
%files
52c0315
%license LICENSE
f2559b6
%{_bindir}/*
242d675
%{_libdir}/*.so.%{libversion}
f2559b6
f2559b6
%files devel
f2559b6
%{_libdir}/*.so
f2559b6
%{_libdir}/pkgconfig/*.pc
52c0315
%{_libdir}/%{name}
f2559b6
%{_includedir}/urdf_parser
f2559b6
f2559b6
%changelog
242d675
* Tue Aug 04 2020 Rich Mattes <richmattes@gmail.com> - 1.0.4-1
242d675
- Update to release 1.0.4
242d675
0116d04
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
0116d04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0116d04
c6dc05c
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
c6dc05c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c6dc05c
579cb48
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
579cb48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
579cb48
97d76d3
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
97d76d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
97d76d3
1e17d58
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 1.0.0-2
1e17d58
- Rebuilt for Boost 1.69
1e17d58
4d1a362
* Fri Nov 23 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.0.0-1
4d1a362
- Update to release 1.0.0
4d1a362
f74c1d6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-9
f74c1d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f74c1d6
e5d03b0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-8
e5d03b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e5d03b0
394b383
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.4.2-7
394b383
- Rebuilt for Boost 1.66
394b383
07538ff
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-6
07538ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
07538ff
96ed2f7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-5
96ed2f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
96ed2f7
6d48a22
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.4.2-4
6d48a22
- Rebuilt for s390x binutils bug
6d48a22
02d7853
* Tue Jul 18 2017 Jonathan Wakely <jwakely@redhat.com> - 0.4.2-3
02d7853
- Rebuilt for Boost 1.64
02d7853
2760a82
* Tue Feb 07 2017 Kalev Lember <klember@redhat.com> - 0.4.2-2
2760a82
- Rebuilt for Boost 1.63
2760a82
52c0315
* Sun Jul 17 2016 Rich Mattes <richmattes@gmail.com> - 0.4.2-1
52c0315
- Update to release 0.4.2
52c0315
5d88d13
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-13
5d88d13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5d88d13
07e65dd
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 0.3.0-12
07e65dd
- Rebuilt for Boost 1.60
07e65dd
0473291
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.3.0-11
0473291
- Rebuilt for Boost 1.59
0473291
e8a81fe
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-10
e8a81fe
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
e8a81fe
fd9a9a6
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.3.0-9
fd9a9a6
- rebuild for Boost 1.58
fd9a9a6
4e8ec7c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-8
4e8ec7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4e8ec7c
5942992
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.3.0-7
5942992
- Rebuilt for GCC 5 C++11 ABI change
5942992
Petr Machata 15f52a8
* Wed Jan 28 2015 Petr Machata <pmachata@redhat.com> - 0.3.0-6
Petr Machata 15f52a8
- Rebuild for boost 1.57.0
Petr Machata 15f52a8
b126ebb
* Sat Aug 23 2014 Rich Mattes <richmattes@gmail.com> - 0.3.0-5
b126ebb
- Rebuild for console-bridge
b126ebb
d5b7ead
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
d5b7ead
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d5b7ead
ee5531d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
ee5531d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ee5531d
2ef7831
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.3.0-2
2ef7831
- rebuild for boost 1.55.0
2ef7831
8abb0af
* Wed Apr 16 2014 Rich Mattes <richmattes@gmail.com> - 0.3.0-1
8abb0af
- Update to release 0.3.0
8abb0af
eeae8bc
* Sun Feb 09 2014 Rich Mattes <richmattes@gmail.com> - 0.2.9-2
eeae8bc
- Rebuild for console-bridge 0.2.5
eeae8bc
50bda62
* Sat Oct 19 2013 Rich Mattes <richmattes@gmail.com> - 0.2.9-1
50bda62
- Update to release 0.2.9
50bda62
- Remove upstreamed patches
50bda62
f2559b6
* Wed Aug 21 2013 Rich Mattes <richmattes@gmail.com> - 0.2.8-2
f2559b6
- Backport upstream SONAME patch
f2559b6
- Add ldconfig post and postun
f2559b6
f2559b6
* Mon Aug 19 2013 Rich Mattes <richmattes@gmail.com> - 0.2.8-1
f2559b6
- Update to release 0.2.8
f2559b6
- Change upstream to github
f2559b6
f2559b6
* Tue Mar 12 2013 Rich Mattes <richmattes@gmail.com> - 0.2.7-1
f2559b6
- Update to release 0.2.7
f2559b6
f2559b6
* Tue Oct 16 2012 Rich Mattes <richmattes@gmail.com> - 0.2.3-1
f2559b6
- Initial package