devrim pushed to laszip (f22). "Add laszip to F-22"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 17 21:08:03 UTC 2015


>From e9494c2f57760bcffcedb96339b64857482b6131 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Devrim=20G=C3=BCnd=C3=BCz?= <devrim at gunduz.org>
Date: Sat, 18 Apr 2015 00:07:46 +0300
Subject: Add laszip to F-22


diff --git a/.gitignore b/.gitignore
index e69de29..1bdc3a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/laszip-src-2.2.0.tar.gz
diff --git a/laszip.spec b/laszip.spec
new file mode 100644
index 0000000..383ee44
--- /dev/null
+++ b/laszip.spec
@@ -0,0 +1,79 @@
+Summary:	Quickly turns bulky LAS files into compant LAZ files
+Name:		laszip
+Version:	2.2.0
+Release:	4%{?dist}
+License:	LGPLv2
+Source0:	https://github.com/LASzip/LASzip/releases/download/v%{version}/%{name}-src-%{version}.tar.gz
+URL:		http://www.laszip.org/
+
+%description
+LASzip - a free product of rapidlasso GmbH - quickly turns bulky LAS files into
+compact LAZ files without information loss.
+
+%package devel
+Summary:	The development files for laszip
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development headers and libraries for laszip
+
+%prep
+%setup -q -n %{name}-src-%{version}
+
+%build
+CFLAGS="$CFLAGS -lstdc++" ; export CFLAGS
+%configure --includedir=%{_includedir}/laszip --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%make_install
+
+# Remove .la files
+%{__rm} -f %{buildroot}%{_libdir}/liblaszip.la
+
+%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+
+%files
+%doc AUTHORS
+%license COPYING
+%{_bindir}/laszippertest
+%{_libdir}/liblaszip.so.6*
+
+%files devel
+%{_includedir}/laszip/
+%{_libdir}/liblaszip.so
+
+%changelog
+* Fri Apr 17 2015 Devrim GUNDUZ <devrim at gunduz.org> 2.2.0-4
+- More fixes per Fedora review:
+ - Update license
+ - omit liblaszip.a static library
+ - fix liblaszip undefined symbols, by adding -lstdc++ CFLAG
+ - omit INSTALL from %%doc
+ - Own %%{_includedir}/laszip/ directory
+ - devel subpkg now depends on main package
+ - omit deprecated Group: tags and %%clean section
+ - drop not needed dependency to cmake
+ - move liblaszip.so symlink to -devel subpkg
+
+* Fri Apr 17 2015 Devrim GUNDUZ <devrim at gunduz.org> 2.2.0-3
+- Various fixes per Fedora review #1199296
+  * Add devel subpackage
+  * Use %%license macro
+  * Use %%make_install macro
+  * Get rid of BuildRoot definition
+  * No need to cleanup buildroot during %%install
+  * Remove %%defattr
+  * Run ldconfig 
+  * Fix version numbers
+
+* Fri Mar 6 2015 Devrim GUNDUZ <devrim at gunduz.org> 2.2.0-2
+- Rebuild with new liblas.
+
+* Fri Mar 6 2015 Devrim GUNDUZ <devrim at gunduz.org> 2.2.0-2
+- Rebuild with new liblas.
+
+* Tue Jan 13 2015 Devrim GUNDUZ <devrim at gunduz.org> 2.2.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..1b51910 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1693724d8284dc04f04eb0b86f7de2cc  laszip-src-2.2.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/laszip.git/commit/?h=f22&id=e9494c2f57760bcffcedb96339b64857482b6131


More information about the scm-commits mailing list