SHA256
1
0
forked from pool/PDAL

Accepting request 393992 from Application:Geo:Staging

New stable upstream release 1.2.0

OBS-URL: https://build.opensuse.org/request/show/393992
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/PDAL?expand=0&rev=2
This commit is contained in:
Martin Pluskal 2016-05-06 08:17:36 +00:00 committed by Git OBS Bridge
parent 097dbe5b39
commit b0a0cd21d0
7 changed files with 43 additions and 44 deletions

View File

@ -1,13 +0,0 @@
diff --git i/apps/CMakeLists.txt w/apps/CMakeLists.txt
index a6c6943..566ae82 100644
--- i/apps/CMakeLists.txt
+++ w/apps/CMakeLists.txt
@@ -87,7 +87,7 @@ if(UNIX OR APPLE)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pdal.pc.in
${CMAKE_CURRENT_BINARY_DIR}/pdal.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pdal.pc
- DESTINATION "${CMAKE_INSTALL_PREFIX}/${PDAL_LIB_INSTALL_DIR}/pkgconfig/"
+ DESTINATION "${PDAL_LIB_INSTALL_DIR}/pkgconfig/"
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
# Autoconf compatibility variables to use the same script source.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84af9ab7646d51a9d369f50284d08bb01d46d4712a87c77bf7c9987d534f5008
size 34604316

3
PDAL-1.2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7fda8216068f7995942602763dcb510d3ddce8656aba7eb2a96deab9532d080
size 51232440

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Apr 24 14:02:39 UTC 2016 - bruno@ioda-net.ch
- Update to version 1.2.0
see https://github.com/PDAL/PDAL/releases/tag/1.2.0/Changelog
- Fix missing Provide lowercase name
- Remove 01.patch merged upstream
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 25 14:53:51 UTC 2016 - bruno@ioda-net.ch Thu Feb 25 14:53:51 UTC 2016 - bruno@ioda-net.ch

View File

@ -1,8 +1,8 @@
# #
# spec file for package PDAL # spec file for package PDAL
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Friedmann Bruno, Ioda-Net Sàrl, Charmoille, Switzerland. # Copyright (c) 2016 Friedmann Bruno, Ioda-Net Sàrl, Charmoille, Switzerland.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,17 @@
# #
#@TODO: plugins PCL LASZIP P2G #@TODO: plugins PCL LASZIP P2G
# python breathe # python breathe for doc
# # python3
# Ask upstream to clarify seems sofull_version is build version # Ask upstream to clarify seems sofull_version is build version
%define soname 1 %define soname 2
%define sovers 1 %define sovers 2
%define sofull_version 2.0.0 %define sofull_version 3.0.0
%define lname pdal
Name: PDAL Name: PDAL
Version: 1.2.0+git.1456409216.0884085 Version: 1.2.0
Release: 0 Release: 0
Summary: Point Data Abstraction Library. GDAL for point cloud data Summary: Point Data Abstraction Library. GDAL for point cloud data
#@todo verify with upstream if not BSD-3 #@todo verify with upstream if not BSD-3
@ -35,8 +36,8 @@ Group: Productivity/Graphics/CAD
Url: http://www.pdal.io/ Url: http://www.pdal.io/
# We use git master on upstream recommandation until next March 2016 release # We use git master on upstream recommandation until next March 2016 release
# use osc service dr # use osc service dr
Source: http://download.osgeo.org/pdal/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
Patch0: 01.patch #Source: http://download.osgeo.org/pdal/%%{name}-%%{version}-src.tar.bz2
# Override the problem of libpsl5 in tumbleweed # Override the problem of libpsl5 in tumbleweed
%if 0%{?suse_version} >= 1330 %if 0%{?suse_version} >= 1330
BuildRequires: libpsl5 BuildRequires: libpsl5
@ -69,18 +70,18 @@ BuildRequires: libpq5 >= 9.1
# BuildRequires: pointcloud-devel # BuildRequires: pointcloud-devel
# BuildRequires: libpqxx-devel # BuildRequires: libpqxx-devel
BuildRequires: python-Sphinx BuildRequires: python-Sphinx
# Doesn't exist on obs BuildRequires: python-breathe # For doc but only in TW
#BuildRequires: python-sphinxcontrib-breathe
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-docutils BuildRequires: python-docutils
BuildRequires: python-numpy-devel BuildRequires: python-numpy-devel
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
# Doesn't exist on obs BuildRequires: python-breathe # Doesn't exist on obs BuildRequires: python3-breathe
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-docutils BuildRequires: python3-docutils
BuildRequires: python3-numpy-devel BuildRequires: python3-numpy-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
Provides: libPDAL = %{version} Requires: lib%{name}%{soname} = %{version}
Requires: libpdal%{soname} = %{version}
Recommends: bash-completion Recommends: bash-completion
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -105,6 +106,7 @@ https://www.pdal.io
This package provides tools & utilities using PDAL library libpdal This package provides tools & utilities using PDAL library libpdal
%package -n lib%{name}%{soname} %package -n lib%{name}%{soname}
Provides: lib%{lname}%{soname}
Summary: Point Data Abstraction Library. GDAL for point cloud data Summary: Point Data Abstraction Library. GDAL for point cloud data
%description -n lib%{name}%{soname} %description -n lib%{name}%{soname}
@ -143,6 +145,7 @@ Requires: boost-devel
Requires: cmake Requires: cmake
Requires: zlib-devel Requires: zlib-devel
Provides: lib%{name}%{soname}-devel = %{version} Provides: lib%{name}%{soname}-devel = %{version}
Provides: lib%{lname}%{soname}-devel = %{version}
Provides: lib%{name}-devel Provides: lib%{name}-devel
%description -n %{name}-devel %description -n %{name}-devel
@ -153,18 +156,18 @@ develop applications using PDAL.
Summary: Documentation, examples and demos for PDAL Summary: Documentation, examples and demos for PDAL
Group: Productivity/Graphics/CAD Group: Productivity/Graphics/CAD
Requires: %{name} = %{version} Requires: %{name} = %{version}
BuildArch: noarch
%description -n %{name}-doc %description -n %{name}-doc
This package provides the documentation and sources of examples and data demos of This package provides the documentation and sources of examples and data demos of
PDAL algorithms. PDAL algorithms.
%prep %prep
%setup -q -n PDAL-%{version} %setup -q -n %{name}-%{version}
%patch0 -p1
#Cleanup spurious perms in documentation #Cleanup spurious perms in documentation
find ./doc/ -type f -exec chmod -v 0644 {} \; find ./doc/ -type f -exec chmod -v 0644 {} \;
find ./doc/ -type f -iname "*.orig" -delete
%build %build
%if 0%{?suse_version} == 1310 %if 0%{?suse_version} == 1310
@ -186,10 +189,12 @@ export CXXFLAGS="%{optflags} -fPIE -pie"
-DCMAKE_SKIP_INSTALL_RPATH=ON \ -DCMAKE_SKIP_INSTALL_RPATH=ON \
-DCMAKE_SKIP_RPAH=ON \ -DCMAKE_SKIP_RPAH=ON \
-DENABLE_CTEST=ON \ -DENABLE_CTEST=ON \
-DWITH_COMPLETION=ON \
-DWITH_APPS=ON \
-DWITH_TESTS=ON \ -DWITH_TESTS=ON \
-DWITH_ICONV=ON \ -DWITH_ICONV=ON \
-DBUILD_PLUGIN_PCL=OFF \ -DBUILD_PLUGIN_PCL=OFF \
-DWITH_LASZIP=OFF \ -DWITH_LASZIP=ON \
-DWITH_GEOTIFF=ON \ -DWITH_GEOTIFF=ON \
-DGEOTIFF_INCLUDE_DIR=%{_includedir}/libgeotiff \ -DGEOTIFF_INCLUDE_DIR=%{_includedir}/libgeotiff \
-DWITH_LAZPERF=OFF \ -DWITH_LAZPERF=OFF \
@ -214,9 +219,9 @@ export CXXFLAGS="%{optflags} -fPIE -pie"
make VERBOSE=1 %{?_smp_mflags} make VERBOSE=1 %{?_smp_mflags}
# Make documentation once fixed upstream # Make documentation once fixed upstream
# cd doc
# make doxygen html man pdf # make doxygen html man pdf
# Make the python part
%check %check
make %{?_smp_mflags} test make %{?_smp_mflags} test
@ -225,14 +230,17 @@ make %{?_smp_mflags} test
pushd build pushd build
make DESTDIR=%{buildroot} install %{?_smp_mflags} make DESTDIR=%{buildroot} install %{?_smp_mflags}
popd popd
# Fix location of bash-completion script to be system wide
mkdir -p %{buildroot}%{_datadir}/bash_completion/completions/ mkdir -p %{buildroot}%{_datadir}/bash_completion/completions/
cp -v scripts/bash-completion/pdal %{buildroot}%{_datadir}/bash_completion/completions/pdal mv -v %{buildroot}%{_prefix}%{_sysconfdir}/bash_completion.d/pdal %{buildroot}%{_datadir}/bash_completion/completions/pdal
rm -rfv %{buildroot}%{_prefix}%{_sysconfdir}
#No .la lib #No .la lib
find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print
%if 0%{?suse_version} %if 0%{?suse_version}
%fdupes %{buildroot} %fdupes %{buildroot}
%fdupes doc
%endif %endif
%post -n lib%{name}%{soname} -p /sbin/ldconfig %post -n lib%{name}%{soname} -p /sbin/ldconfig
@ -252,7 +260,6 @@ find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print
%{_libdir}/libpdal_base.so.%{sofull_version} %{_libdir}/libpdal_base.so.%{sofull_version}
%{_libdir}/libpdal_plang.so.%{sofull_version} %{_libdir}/libpdal_plang.so.%{sofull_version}
# Plugins exist with their # Plugins exist with their
%{_libdir}/libpdal_plugin_filter_attribute.so.%{sofull_version}
%{_libdir}/libpdal_plugin_filter_predicate.so.%{sofull_version} %{_libdir}/libpdal_plugin_filter_predicate.so.%{sofull_version}
%{_libdir}/libpdal_plugin_filter_programmable.so.%{sofull_version} %{_libdir}/libpdal_plugin_filter_programmable.so.%{sofull_version}
%{_libdir}/libpdal_plugin_reader_sqlite.so.%{sofull_version} %{_libdir}/libpdal_plugin_reader_sqlite.so.%{sofull_version}
@ -270,8 +277,6 @@ find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print
%{_libdir}/libpdal_base.so %{_libdir}/libpdal_base.so
%{_libdir}/libpdal_plang.so.%{sovers} %{_libdir}/libpdal_plang.so.%{sovers}
%{_libdir}/libpdal_plang.so %{_libdir}/libpdal_plang.so
%{_libdir}/libpdal_plugin_filter_attribute.so
%{_libdir}/libpdal_plugin_filter_attribute.so.%{sovers}
%{_libdir}/libpdal_plugin_filter_predicate.so %{_libdir}/libpdal_plugin_filter_predicate.so
%{_libdir}/libpdal_plugin_filter_predicate.so.%{sovers} %{_libdir}/libpdal_plugin_filter_predicate.so.%{sovers}
%{_libdir}/libpdal_plugin_filter_programmable.so %{_libdir}/libpdal_plugin_filter_programmable.so

View File

@ -3,11 +3,11 @@
<param name="url">git://github.com/PDAL/pdal.git</param> <param name="url">git://github.com/PDAL/pdal.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<!--
<param name="versionformat">1.2.0+git.%ct.%h</param> <param name="versionformat">1.2.0+git.%ct.%h</param>
<param name="revision">master</param> <param name="revision">master</param>
<!--
<param name="version"></param>
--> -->
<param name="version">1.2.0</param>
<param name="filename">PDAL</param> <param name="filename">PDAL</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>
@ -19,4 +19,3 @@
<param name="basename">PDAL</param> <param name="basename">PDAL</param>
</service> </service>
</services> </services>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">git://github.com/PDAL/pdal.git</param> <param name="url">git://github.com/PDAL/pdal.git</param>
<param name="changesrevision">0884085967888a7cd344604c35c9666351243c62</param></service></servicedata> <param name="changesrevision">c93c7c7f361fa6098528f865e3b5a38043b968d4</param></service></servicedata>