49f3d88
Summary:	Quickly turns bulky LAS files into compant LAZ files
49f3d88
Name:		laszip
49f3d88
Version:	2.2.0
b8e0251
Release:	7%{?dist}
49f3d88
License:	LGPLv2
49f3d88
Source0:	https://github.com/LASzip/LASzip/releases/download/v%{version}/%{name}-src-%{version}.tar.gz
49f3d88
URL:		http://www.laszip.org/
49f3d88
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
49f3d88
Summary:	The development files for laszip
49f3d88
Requires:	%{name}%{?_isa} = %{version}-%{release}
49f3d88
49f3d88
%description devel
49f3d88
Development headers and libraries for laszip
49f3d88
49f3d88
%prep
49f3d88
%setup -q -n %{name}-src-%{version}
49f3d88
49f3d88
%build
49f3d88
CFLAGS="$CFLAGS -lstdc++" ; export CFLAGS
49f3d88
%configure --includedir=%{_includedir}/laszip --disable-static
49f3d88
%{__make} %{?_smp_mflags}
49f3d88
49f3d88
%install
49f3d88
%make_install
49f3d88
49f3d88
# Remove .la files
49f3d88
%{__rm} -f %{buildroot}%{_libdir}/liblaszip.la
49f3d88
49f3d88
%postun -p /sbin/ldconfig
49f3d88
%post -p /sbin/ldconfig
49f3d88
49f3d88
%files
49f3d88
%doc AUTHORS
49f3d88
%license COPYING
49f3d88
%{_bindir}/laszippertest
49f3d88
%{_libdir}/liblaszip.so.6*
49f3d88
49f3d88
%files devel
49f3d88
%{_includedir}/laszip/
49f3d88
%{_libdir}/liblaszip.so
49f3d88
49f3d88
%changelog
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