e67263e
Name:           laszip
e67263e
Version:        3.4.3
f5f5ca4
Release:        3%{?dist}
e67263e
Summary:        Quickly turns bulky LAS files into compant LAZ files
e67263e
License:        LGPLv2
e67263e
Source0:        https://github.com/LASzip/LASzip/releases/download/%{version}/%{name}-src-%{version}.tar.gz
e67263e
URL:            http://www.laszip.org/
49f3d88
e4a2fd6
# Restore old API for libLAS
e4a2fd6
# https://github.com/libLAS/libLAS/issues/144
e4a2fd6
Patch0:         laszip_restoreapi.patch
e4a2fd6
e67263e
BuildRequires:  cmake
df1200a
BuildRequires:  gcc-c++
e67263e
e67263e
49f3d88
%description
49f3d88
LASzip - a free product of rapidlasso GmbH - quickly turns bulky LAS files into
49f3d88
compact LAZ files without information loss.
49f3d88
49f3d88
%package devel
e67263e
Summary:        The development files for laszip
e67263e
Requires:       %{name}%{?_isa} = %{version}-%{release}
49f3d88
49f3d88
%description devel
49f3d88
Development headers and libraries for laszip
49f3d88
e67263e
49f3d88
%prep
e67263e
%autosetup -p1 -n %{name}-src-%{version}
e67263e
49f3d88
49f3d88
%build
e67263e
%cmake -DLASZIP_LIB_INSTALL_DIR=%{_libdir}
bb7d9da
%cmake_build
49f3d88
49f3d88
%install
bb7d9da
%cmake_install
49f3d88
49f3d88
666c819
%ldconfig_scriptlets
49f3d88
e67263e
49f3d88
%files
49f3d88
%doc AUTHORS
49f3d88
%license COPYING
e67263e
%{_libdir}/liblaszip.so.8*
e67263e
%{_libdir}/liblaszip_api.so.8*
49f3d88
49f3d88
%files devel
6036713
%{_includedir}/laszip/laszip_api.h
6036713
%{_includedir}/laszip/laszip_api_version.h
e4a2fd6
%{_includedir}/laszip/laszip.hpp
e4a2fd6
%{_includedir}/laszip/laszipper.hpp
e4a2fd6
%{_includedir}/laszip/lasunzipper.hpp
6036713
49f3d88
%{_libdir}/liblaszip.so
e67263e
%{_libdir}/liblaszip_api.so
e67263e
49f3d88
49f3d88
%changelog
f5f5ca4
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.3-3
f5f5ca4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f5f5ca4
6036713
* Tue Apr 14 2020 Sandro Mani <manisandro@gmail.com> - 3.4.3-2
e4a2fd6
- Restore old API for libLAS
6036713
e67263e
* Tue Apr 14 2020 Sandro Mani <manisandro@gmail.com> - 3.4.3-1
e67263e
- Update to 3.4.3
e67263e
97952d8
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-14
97952d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
97952d8
d4c7ada
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-13
d4c7ada
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d4c7ada
ea208d3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-12
ea208d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ea208d3
233d8de
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-11
233d8de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
233d8de
adfdb10
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-10
adfdb10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
adfdb10
29e6862
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-9
29e6862
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
29e6862
200334d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-8
200334d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
200334d
b8e0251
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-7
b8e0251
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b8e0251
7795608
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-6
7795608
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7795608
8e9ec06
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-5
8e9ec06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8e9ec06
49f3d88
* Fri Apr 17 2015 Devrim GUNDUZ <devrim@gunduz.org> 2.2.0-4
49f3d88
- More fixes per Fedora review:
49f3d88
 - Update license
49f3d88
 - omit liblaszip.a static library
49f3d88
 - fix liblaszip undefined symbols, by adding -lstdc++ CFLAG
49f3d88
 - omit INSTALL from %%doc
49f3d88
 - Own %%{_includedir}/laszip/ directory
49f3d88
 - devel subpkg now depends on main package
49f3d88
 - omit deprecated Group: tags and %%clean section
49f3d88
 - drop not needed dependency to cmake
49f3d88
 - move liblaszip.so symlink to -devel subpkg
49f3d88
49f3d88
* Fri Apr 17 2015 Devrim GUNDUZ <devrim@gunduz.org> 2.2.0-3
49f3d88
- Various fixes per Fedora review #1199296
49f3d88
  * Add devel subpackage
49f3d88
  * Use %%license macro
49f3d88
  * Use %%make_install macro
49f3d88
  * Get rid of BuildRoot definition
49f3d88
  * No need to cleanup buildroot during %%install
49f3d88
  * Remove %%defattr
49f3d88
  * Run ldconfig 
49f3d88
  * Fix version numbers
49f3d88
49f3d88
* Fri Mar 6 2015 Devrim GUNDUZ <devrim@gunduz.org> 2.2.0-2
49f3d88
- Rebuild with new liblas.
49f3d88
49f3d88
* Fri Mar 6 2015 Devrim GUNDUZ <devrim@gunduz.org> 2.2.0-2
49f3d88
- Rebuild with new liblas.
49f3d88
49f3d88
* Tue Jan 13 2015 Devrim GUNDUZ <devrim@gunduz.org> 2.2.0-1
49f3d88
- Initial packaging
49f3d88