[packages/libLASi] - updated to 1.1.3 (note: new soname) - added skip-examples-build patch (no need to build examples,
qboosh
qboosh at pld-linux.org
Thu Oct 24 20:52:06 CEST 2019
commit 9ac8129c056de871e9b6abc8b9f9a7ace8347873
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 24 20:55:40 2019 +0200
- updated to 1.1.3 (note: new soname)
- added skip-examples-build patch (no need to build examples, useless and requires inkscape)
libLASi-skip-examples-build.patch | 10 ++++++++++
libLASi.spec | 12 +++++++-----
2 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/libLASi.spec b/libLASi.spec
index 2f682f8..1100218 100644
--- a/libLASi.spec
+++ b/libLASi.spec
@@ -1,14 +1,15 @@
Summary: Unicode PostScript C++ stream output intetface library
Summary(pl.UTF-8): Biblioteka wyjścia strumieniowego C++ do PostScriptu z Unikodem
Name: libLASi
-Version: 1.1.2
+Version: 1.1.3
Release: 1
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/lasi/%{name}-%{version}.tar.gz
-# Source0-md5: 29de80a4878aa71d497c7ae637c5d9a8
+# Source0-md5: eb62ccbbbaf681b9e50617a2f48e6347
+Patch0: %{name}-skip-examples-build.patch
URL: http://lasi.sourceforge.net/
-BuildRequires: cmake >= 2.6.4
+BuildRequires: cmake >= 3.13.2
# libtool version >= 9.10 ("new API")
BuildRequires: freetype-devel >= 1:2.2.1
BuildRequires: libstdc++-devel
@@ -46,6 +47,7 @@ Pliki nagłówkowe biblioteki libLASi.
%prep
%setup -q
+%patch0 -p1
%build
install -d build
@@ -74,9 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS CONCATENATED_README.release ChangeLog.* NEWS README README.release
+%doc AUTHORS ChangeLog.* NEWS README README.cumulated_release
%attr(755,root,root) %{_libdir}/libLASi.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libLASi.so.1
+%attr(755,root,root) %ghost %{_libdir}/libLASi.so.2
%files devel
%defattr(644,root,root,755)
diff --git a/libLASi-skip-examples-build.patch b/libLASi-skip-examples-build.patch
new file mode 100644
index 0000000..c1525f4
--- /dev/null
+++ b/libLASi-skip-examples-build.patch
@@ -0,0 +1,10 @@
+--- libLASi-1.1.3/CMakeLists.txt.orig 2019-01-31 08:34:50.000000000 +0100
++++ libLASi-1.1.3/CMakeLists.txt 2019-10-24 20:47:59.011284256 +0200
+@@ -77,7 +77,6 @@
+
+ add_subdirectory(src)
+
+-add_subdirectory(examples)
+
+ #
+ # Generating documentation with doxygen
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libLASi.git/commitdiff/9ac8129c056de871e9b6abc8b9f9a7ace8347873
More information about the pld-cvs-commit
mailing list