commit 1d10edbc556401211d13242c03704984f10c205d
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Tue Feb 20 21:41:15 2024 +0100

    - updated to 0.13.2

 libredwg-info.patch |  8 ++++----
 libredwg.spec       | 26 ++++++++++++++------------
 2 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/libredwg.spec b/libredwg.spec
index f4e8ddd..74bfaef 100644
--- a/libredwg.spec
+++ b/libredwg.spec
@@ -1,16 +1,20 @@
+#
+# Conditional build:
+%bcond_without static_libs     # static library
+
 Summary:       LibreDWG - free implementation of the DWG file format
 Summary(pl.UTF-8):     LibreDWG - wolnodostępna implementacja formatu plików 
DWG
 Name:          libredwg
-Version:       0.12.5
-Release:       3
+Version:       0.13.2
+Release:       1
 License:       GPL v3+
 Group:         Libraries
 Source0:       https://ftp.gnu.org/gnu/libredwg/%{name}-%{version}.tar.xz
-# Source0-md5: 3cb1ec853a665b74924ac417698589d7
+# Source0-md5: ce030298937420643f2f27480b621908
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-python.patch
 URL:           http://www.gnu.org/software/libredwg/
-BuildRequires: autoconf >= 2.61
+BuildRequires: autoconf >= 2.69
 BuildRequires: automake >= 1:1.14
 BuildRequires: bash
 BuildRequires: doxygen
@@ -100,10 +104,7 @@ Interfejs Pythona do biblioteki LibreDWG.
 %patch1 -p1
 
 # no git-version-gen in release tarball
-%{__sed} -i -e 's/m4_esyscmd.*git-version-gen.*/[%{version}],/' configure.ac
-
-# disable when not running tests
-%{__sed} -i -e '/^check_PROGRAMS/ s/ llvmfuzz_standalone//' 
examples/Makefile.am
+%{__sed} -i -e 's/m4_esyscmd(.*git-version-gen.*)/%{version},/' configure.ac
 
 %build
 %{__libtoolize}
@@ -113,9 +114,10 @@ Interfejs Pythona do biblioteki LibreDWG.
 %{__automake}
 %configure \
        --disable-silent-rules \
+       %{?with_static_libs:--enable-static} \
        --with-perl-install=vendor
 
-# programs/dwg2ps.1 is missing in dist as of 0.12.5
+# programs/dwg2ps.1 is missing in dist as of 0.13.2
 %{__make} -C src
 %{__make} -C programs regen-man
 
@@ -135,9 +137,9 @@ rm -rf $RPM_BUILD_ROOT
 
 # just example, nothing really useful
 install -d $RPM_BUILD_ROOT%{_examplesdir}/python-libredwg-%{version}
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/load_dwg.py 
$RPM_BUILD_ROOT%{_examplesdir}/python-libredwg-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/libredwg/load_dwg.py 
$RPM_BUILD_ROOT%{_examplesdir}/python-libredwg-%{version}
 # packaged as %doc
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/dwgadd.example
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/libredwg/dwgadd.example*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -153,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO examples/dwgadd.example
+%doc AUTHORS ChangeLog NEWS README TODO examples/dwgadd.example*
 %attr(755,root,root) %{_bindir}/dwg2SVG
 %attr(755,root,root) %{_bindir}/dwg2dxf
 %attr(755,root,root) %{_bindir}/dwg2ps
diff --git a/libredwg-info.patch b/libredwg-info.patch
index 4b2b60e..030f0db 100644
--- a/libredwg-info.patch
+++ b/libredwg-info.patch
@@ -1,7 +1,7 @@
---- libredwg-0.11.1/doc/LibreDWG.texi.orig     2020-11-16 20:30:48.000000000 
+0100
-+++ libredwg-0.11.1/doc/LibreDWG.texi  2020-12-08 21:02:13.971783937 +0100
-@@ -26,9 +26,9 @@
- @end quotation
+--- libredwg-0.13.2/doc/LibreDWG.texi.orig     2024-02-20 17:47:10.918187965 
+0100
++++ libredwg-0.13.2/doc/LibreDWG.texi  2024-02-20 17:47:42.798015257 +0100
+@@ -32,9 +32,9 @@ DWG is the native and proprietary file f
+ LibreDWG is neither associated with Autodesk, nor with the Open Design 
Alliance.
  @end copying
  
 -@dircategory Libraries
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libredwg.git/commitdiff/1d10edbc556401211d13242c03704984f10c205d

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to