2019-07-08 17:03:31 +00:00
committed by Git OBS Bridge
parent 8262873898
commit 126854c38c
6 changed files with 19 additions and 14 deletions

View File

@@ -18,23 +18,23 @@
# Ask upstream to clarify seems sofull_version is build version
%define soname 7
%define sovers 7
%define sofull_version 8.0.0
%define soname 8
%define sovers 8
%define sofull_version 9.0.1
%define lname pdal
# Temporary fix for Leap 42.3
%if ! %{defined make_build}
%define make_build %{_bindir}/make %{?_smp_mflags}
%endif
Name: PDAL
Version: 1.8.0
Version: 1.9.1
Release: 0
Summary: Point Data Abstraction Library. GDAL for point cloud data
License: BSD-3-Clause
Group: Productivity/Graphics/CAD
URL: https://www.pdal.io/
Source0: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.gz
Source1: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.gz.md5
Source0: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.bz2
Source1: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.bz2.md5
# Source2: https://www.pdal.io/PDAL.pdf
BuildRequires: bash-completion
BuildRequires: cairo-devel
@@ -94,6 +94,7 @@ BuildRequires: libboost_program_options-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: postgresql-devel
%description
PDAL is a C++ BSD library for translating and manipulating point cloud data.
@@ -253,7 +254,7 @@ find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print
%files -n lib%{name}%{soname}
%defattr(-,root,root,-)
%license LICENSE.txt
%doc AUTHORS.txt README.md ChangeLog
%doc AUTHORS.txt README.md RELEASENOTES.txt
%{_libdir}/libpdal_base.so.%{sofull_version}
# Plugins
%{_libdir}/libpdal_plugin_filter_python.so.%{sofull_version}
@@ -290,10 +291,8 @@ find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print
%{_libdir}/libpdal_util.so
%{_libdir}/libpdalcpp.so
%{_libdir}/pkgconfig/pdal.pc
%{_libdir}/cmake/PDAL
%{_bindir}/pdal-config
%dir %{_libdir}/pdal/
%dir %{_libdir}/pdal/cmake
%{_libdir}/pdal/cmake/PDAL*.cmake
%files -n %{name}-doc
%defattr(-,root,root,-)