|
|
6af0a47 |
Name: sicktoolbox
|
|
|
6af0a47 |
Version: 1.0.1
|
|
|
e13848a |
Release: 15%{?dist}
|
|
|
6af0a47 |
Summary: The SICK LIDAR Toolbox
|
|
|
6af0a47 |
|
|
|
6af0a47 |
License: BSD
|
|
|
6af0a47 |
URL: http://sicktoolbox.sourceforge.net
|
|
|
6af0a47 |
Source0: http://downloads.sourceforge.net/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
|
6af0a47 |
# Add missing unistd.h to source files.
|
|
|
6af0a47 |
# Filed upstream at https://sourceforge.net/tracker/?func=detail&aid=3577232&group_id=219500&atid=1047068
|
|
|
6af0a47 |
Patch0: %{name}-1.0.1-fixbuild.patch
|
|
|
5dafa4a |
# Fix c++14 incompatibilities
|
|
|
5dafa4a |
# Filed upstream at https://sourceforge.net/p/sicktoolbox/patches/5/
|
|
|
5dafa4a |
Patch1: %{name}-1.0.1-g++14.patch
|
|
|
1438548 |
|
|
|
1438548 |
BuildRequires: gcc-c++
|
|
|
1438548 |
|
|
|
6af0a47 |
%description
|
|
|
5dafa4a |
The Sick LIDAR Toolbox is an open-source software package released under a
|
|
|
5dafa4a |
BSD Open-Source License that provides stable and easy-to-use C++ drivers
|
|
|
6af0a47 |
for Sick LMS 2xx and Sick LD laser range finders.
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%package devel
|
|
|
6af0a47 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
6af0a47 |
Summary: Development headers and libraries for %{name}
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%description devel
|
|
|
6af0a47 |
Development headers and libraries for %{name}
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%package doc
|
|
|
6af0a47 |
Requires: %{name} = %{version}-%{release}
|
|
|
6af0a47 |
Summary: Documentation for %{name}
|
|
|
6af0a47 |
BuildArch: noarch
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%description doc
|
|
|
6af0a47 |
Assorted documentation for %{name}.
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%prep
|
|
|
6af0a47 |
%setup -q
|
|
|
6af0a47 |
%patch0 -p0
|
|
|
5dafa4a |
%patch1 -p1
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%build
|
|
|
a570ba1 |
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
|
|
|
6af0a47 |
%configure --disable-static --program-prefix=sick_
|
|
|
6af0a47 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
6af0a47 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
6af0a47 |
make %{?_smp_mflags}
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%install
|
|
|
6af0a47 |
make install DESTDIR=%{buildroot}
|
|
|
6af0a47 |
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
6af0a47 |
|
|
|
a361136 |
%ldconfig_scriptlets
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%files
|
|
|
5dafa4a |
%license COPYING
|
|
|
5dafa4a |
%doc AUTHORS ChangeLog README THANKS NEWS
|
|
|
6af0a47 |
%{_bindir}/*_config
|
|
|
6af0a47 |
%{_libdir}/*.so.*
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%files devel
|
|
|
6af0a47 |
%{_libdir}/*.so
|
|
|
6af0a47 |
%{_includedir}/sicklms-1.0
|
|
|
6af0a47 |
%{_includedir}/sickld-1.0
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%files doc
|
|
|
6af0a47 |
%doc manuals/*.pdf
|
|
|
6af0a47 |
|
|
|
6af0a47 |
%changelog
|
|
|
e13848a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-15
|
|
|
e13848a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e13848a |
|
|
|
a570ba1 |
* Tue Jul 28 2020 Jeff Law <law@redhat.com> - 1.0.1-14
|
|
|
a570ba1 |
- Force C++14 as this code is not C++17 ready
|
|
|
a570ba1 |
|
|
|
ff5ba3c |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-13
|
|
|
ff5ba3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ff5ba3c |
|
|
|
582593b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12
|
|
|
582593b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
582593b |
|
|
|
6dcf441 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-11
|
|
|
6dcf441 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6dcf441 |
|
|
|
704551f |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10
|
|
|
704551f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
704551f |
|
|
|
f44ef05 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-9
|
|
|
f44ef05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f44ef05 |
|
|
|
2ecc774 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-8
|
|
|
2ecc774 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2ecc774 |
|
|
|
6230255 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-7
|
|
|
6230255 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6230255 |
|
|
|
2ef690b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
|
|
|
2ef690b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2ef690b |
|
|
|
5dafa4a |
* Tue Jul 05 2016 Rich Mattes <richmattes@gmail.com> - 1.0.1-5
|
|
|
5dafa4a |
- Apply Ralf's patch to fix FTBFS (rhbz#1308128)
|
|
|
5dafa4a |
|
|
|
d5d18c2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
|
|
|
d5d18c2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d5d18c2 |
|
|
|
6af0a47 |
* Fri Sep 18 2015 Rich Mattes <richmattes@gmail.com> - 1.0.1-4
|
|
|
6af0a47 |
- Address last comments from package review
|
|
|
6af0a47 |
|
|
|
6af0a47 |
* Sat Sep 05 2015 Rich Mattes <richmattes@gmail.com> - 1.0.1-3
|
|
|
6af0a47 |
- Disabled static libraries
|
|
|
6af0a47 |
- Added "sick_" program prefix for binaries
|
|
|
6af0a47 |
|
|
|
6af0a47 |
* Sun Oct 14 2012 Rich Mattes <richmattes@gmail.com> - 1.0.1-2
|
|
|
6af0a47 |
- Split off -doc subpackage with pdf documentation
|
|
|
6af0a47 |
- Got rid of dependency on chrpath
|
|
|
6af0a47 |
- Added link to upstream tracker for fixbuild patch
|
|
|
6af0a47 |
|
|
|
6af0a47 |
* Tue Jun 05 2012 Rich Mattes <richmattes@gmail.com> - 1.0.1-1
|
|
|
6af0a47 |
- Initial package (rhbz#829097)
|