From b4252b2a881790d5e1d2826b69f64f61128901c64496d7affea06e7baa850c26 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 9 Jan 2020 13:39:05 +0000 Subject: [PATCH] - Update to release 0.10 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libredwg?expand=0&rev=23 --- libredwg-0.10.tar.xz | 3 +++ libredwg-0.10.tar.xz.sig | 11 ++++++++ libredwg-0.9.3.tar.gz | 3 --- libredwg-0.9.3.tar.gz.sig | 11 -------- libredwg.changes | 22 ++++++++++++++++ libredwg.spec | 53 ++++++++++++++++++++------------------- 6 files changed, 63 insertions(+), 40 deletions(-) create mode 100644 libredwg-0.10.tar.xz create mode 100644 libredwg-0.10.tar.xz.sig delete mode 100644 libredwg-0.9.3.tar.gz delete mode 100644 libredwg-0.9.3.tar.gz.sig diff --git a/libredwg-0.10.tar.xz b/libredwg-0.10.tar.xz new file mode 100644 index 0000000..a216475 --- /dev/null +++ b/libredwg-0.10.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c37c4ef985e4135e3d2020c502c887b6115cdbbab2148b2e730875d5659cd66 +size 4763160 diff --git a/libredwg-0.10.tar.xz.sig b/libredwg-0.10.tar.xz.sig new file mode 100644 index 0000000..3e4f4db --- /dev/null +++ b/libredwg-0.10.tar.xz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAl4WBaAACgkQtPYzOeZd +ZBQZxgf/Z6fO/BjAkrl7//C5MZJya7AB4RUAfkuUjQ7xXJwvoGsKm2I7dFfffCEq +Q03qlq5MrbWUhKl8xfLPId9g8LTe+yCzw7hM3gfAFkJQLw3lDoX8ia4Y1ER9DCqz +AU4cTg9FsNEm9PcVfyTzcox+WtHi16qw5L99xDAYjvwvLOGIPlxbjlh9NFAthUHd +nCZT1q+NJ7K5C6pZR4lMKYxaF+Ao5uRuZo5kYLVtM7PuN3jtLIFI52PcGctlNZDS +etOJ9XTWhMscWqmaZqTInKqToX8gfjJCdTvdrQWw+ieDOT4VuA67Sz+eoGm9nuIX +lncf+DexpU6KYhhOH0yq5WF+OWlmQQ== +=2XPd +-----END PGP SIGNATURE----- diff --git a/libredwg-0.9.3.tar.gz b/libredwg-0.9.3.tar.gz deleted file mode 100644 index 51ecbe5..0000000 --- a/libredwg-0.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e53d4134208ee35fbf866171ee2052edd73bf339ab5b091acbc2769d8c20c43f -size 11418201 diff --git a/libredwg-0.9.3.tar.gz.sig b/libredwg-0.9.3.tar.gz.sig deleted file mode 100644 index 6da7050..0000000 --- a/libredwg-0.9.3.tar.gz.sig +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAl4DzmMACgkQtPYzOeZd -ZBTuVQf/W7d7lOWmKncUlXluIXOJdcY0gc2DTP/qofN9tXm6IUT5IJKi/xg57dHM -yEEHMaPcXEC+f9VjGJvoVA3FjWxYRSwnNZdaDeXIwo3RdW16xY6MRbLaYCKvuopS -hMmsQuInXzfJXJs1oZv1EYjRoKeh2Vg67pDwR07XXAy0BaRlEHHUuJkOOqTN+s6b -pjBtSBO5GtR5VApoyvSKABnTXtro+6UmSSVoDzTvvNJqBqZYVDvgTGwt/Nuxneef -f53Cp01oDpj8uwaafbJ1jIrqmsDkwvZpRHPS2+MSJLuAckGX3m6+yQsTT3lSRRX9 -0CQ5X7KPIrXvxvFSV39rthy9WSMalw== -=w65S ------END PGP SIGNATURE----- diff --git a/libredwg.changes b/libredwg.changes index d4ead8e..caf5c43 100644 --- a/libredwg.changes +++ b/libredwg.changes @@ -1,3 +1,25 @@ +Thu Jan 9 13:22:34 UTC 2020 - Jan Engelhardt + +- Update to release 0.10 + * API breaking changes: + * Added a new int *isnewp argument to all dynapi utf8text + getters, if the returned string is freshly malloced or not. + * removed the UNKNOWN supertype, there are only UNKNOWN_OBJ and + UNKNOWN_ENT left, with common_entity_data. + * renamed BLOCK_HEADER.preview_data to preview, + preview_data_size to preview_size. + * renamed SHAPE.shape_no to style_id. + * renamed CLASS.wasazombie to is_zombie. + * Bugfixes: + * Harmonized INDXFB with INDXF, removed extra src/in_dxfb.c. + * Fixed encoding of added r2000 AUXHEADER address. + * Fixed EED encoding from dwgrewrite. + * Add several checks against + [CVE-2020-6609, boo#1160520], [CVE-2020-6610, boo#1160522], + [CVE-2020-6611, boo#1160523], [CVE-2020-6612, boo#1160524], + [CVE-2020-6613, boo#1160525], [CVE-2020-6614, boo#1160526], + [CVE-2020-6615, boo#1160527] + ------------------------------------------------------------------- Sun Dec 29 20:45:54 UTC 2019 - Jan Engelhardt diff --git a/libredwg.spec b/libredwg.spec index fb24d93..a7e4bd3 100644 --- a/libredwg.spec +++ b/libredwg.spec @@ -1,7 +1,7 @@ # # spec file for package libredwg # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,8 @@ Name: libredwg -Version: 0.9.3 +%define lname libredwg0 +Version: 0.10 Release: 0 Summary: A library to handle DWG files License: GPL-3.0-or-later @@ -25,10 +26,10 @@ Group: Development/Libraries/C and C++ URL: https://www.gnu.org/software/libredwg/ #Git-Clone: https://github.com/LibreDWG/libredwg/ -Source: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.gz -Source2: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.gz.sig -Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=101103#/%{name}.keyring -Source4: %{name}-rpmlintrc +Source: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.xz +Source2: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.xz.sig +Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=101103#/%name.keyring +Source4: %name-rpmlintrc BuildRequires: pkg-config %description @@ -38,9 +39,9 @@ OpenDWG libraries. DWG is the native file format of AutoCAD. %package tools Summary: Command line utilities for handling DWG file Group: Productivity/File utilities -Requires(post): %{install_info_prereq} -Requires(preun): %{install_info_prereq} -# Both packages ship a /usr/bin/dwg2dxf +Requires(post): %install_info_prereq +Requires(preun): %install_info_prereq +# Both packages ship a %_bindir/dwg2dxf Conflicts: libdxfrw-tools %description tools @@ -52,7 +53,7 @@ This package contains some command line utilities using this library. %package devel Summary: Development files for libredwg Group: Development/Libraries/C and C++ -Requires: %{name}0 = %{version} +Requires: %lname = %version %description devel GNU LibreDWG is a C library to handle DWG files. It can replace the @@ -60,11 +61,11 @@ OpenDWG libraries. DWG is the native file format of AutoCAD. This package contains the files required for development with libredwg. -%package -n %{name}0 +%package -n %lname Summary: A library to handle DWG files Group: System/Libraries -%description -n %{name}0 +%description -n %lname GNU LibreDWG is a C library to handle DWG files. It can replace the OpenDWG libraries. DWG is the native file format of AutoCAD. @@ -81,33 +82,33 @@ make %{?_smp_mflags} libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_ %install %make_install -find %{buildroot} -type f -name "*.la" -delete -print +find "%buildroot" -type f -name "*.la" -delete -print %post tools -%install_info --info-dir=%{_infodir} %{_infodir}/LibreDWG.info.gz +%install_info --info-dir="%_infodir" "%_infodir/LibreDWG.info.gz" %preun tools -%install_info_delete --info-dir=%{_infodir} %{_infodir}/LibreDWG.info.gz +%install_info_delete --info-dir="%_infodir" "%_infodir/LibreDWG.info.gz" -%post -n %{name}0 -p /sbin/ldconfig -%postun -n %{name}0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %files tools %license COPYING -%{_bindir}/dwg* -%{_bindir}/dxf* -%{_mandir}/man?/*.1%{?ext_man} -%{_infodir}/LibreDWG.info%{?ext_info} +%_bindir/dwg* +%_bindir/dxf* +%_mandir/man?/*.1%{?ext_man} +%_infodir/LibreDWG.info%{?ext_info} %files devel %license COPYING %doc AUTHORS ChangeLog NEWS README TODO -%{_includedir}/*.h -%{_libdir}/libredwg.so -%{_libdir}/pkgconfig/libredwg.pc +%_includedir/*.h +%_libdir/libredwg.so +%_libdir/pkgconfig/libredwg.pc -%files -n %{name}0 +%files -n %lname %license COPYING -%{_libdir}/*.so.* +%_libdir/*.so.* %changelog