Accepting request 1146123 from devel:libraries:c_c++

- Update to release 0.13.2

OBS-URL: https://build.opensuse.org/request/show/1146123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libredwg?expand=0&rev=19
This commit is contained in:
2024-02-12 17:52:01 +00:00
committed by Git OBS Bridge
5 changed files with 34 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60d13d79119f92dbfe334aacc2ff94cccf7921b7066c1eb92c27f2ef1f779e4f
size 10208324

3
libredwg-0.13.2.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ab76010a6536ebf86df50f4973cb6cb2fc8aa2677084b8d22ac8320052d9329
size 10551412

View File

@@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAmXHutoACgkQtPYzOeZd
ZBRh1Af/XutA6XHsLN3zcsY6jWYIvYXcKwUVB3TnurDsXNpQyFHQtErzU12XHJ5t
qABeICb1N7HyCdgMo0TdAeL2/uTu8SxKmQoU4SzJzTgfkBdc/DmJ0YjVfBEFZItl
obOf8dbNj/Bx2/VmRqEo7yI6cq+l8oZv0WCJSpFffkbr82QGsqa9pj0PlWzrpo9O
4ktjwEVddqH+f7pSVcH2pWEPc27K5inTtaU82sGp193XvYOjzt7Wm45jT3aFWo/K
luBvsVYLZ7NhZGJvnYKAJGL5cVBi5xmZz1rhMZKb7Jit1JgAYXJKYbeh0mzAkVn2
tOc3tsoKJVX52Nb8xjETnXk1EKcW8w==
=O8Q/
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Feb 11 11:42:48 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.13.2
* Added pre-R13 DWG decode support for all old DWG formats
* Added read support on bigendian platforms (no write)
* Full support for en-/decoding foreign codepages, also the MIF
\M=1-5xxxx format. (With and without iconv)
* Added WMF and PNG support to dwgbmp
* Added a third *int alloced arg to dwg_dynapi_handle_name()
-------------------------------------------------------------------
Tue Jan 2 13:28:11 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -18,18 +18,20 @@
%define lname libredwg0
Name: libredwg
Version: 0.12.5.6924
Version: 0.13.2
Release: 0
Summary: A library to handle DWG files
License: GPL-3.0-or-later
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.xz
Source: https://github.com/LibreDWG/libredwg/releases/download/%version/libredwg-%version.tar.xz
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
#Source: https://github.com/LibreDWG/libredwg/releases/download/%version/libredwg-%version.tar.xz
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=101103#/%name.keyring
Source4: %name-rpmlintrc
BuildRequires: pkg-config
BuildRequires: pkgconfig(libpcre2-8)
%description
GNU LibreDWG is a C library to handle DWG files. It can replace the
@@ -40,7 +42,7 @@ Summary: Command line utilities for handling DWG file
Group: Productivity/File utilities
%if 0%{?suse_version} < 1599
Requires(post): %install_info_prereq
Requires(preun):%install_info_prereq
Requires(preun): %install_info_prereq
%endif
# Both packages ship a %%_bindir/dwg2dxf
Conflicts: libdxfrw-tools
@@ -77,30 +79,28 @@ OpenDWG libraries. DWG is the native file format of AutoCAD.
# No management of SO version despite ABI breaking changes:
# Force-add some symvers so RPM can produce meaningful deps.
echo 'V_%version { global: *; };' >src/sv.sym
%configure --disable-static
%configure --disable-static --disable-werror
%make_build libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_LIBADD=-lm
%install
%make_install
b="%buildroot"
find "$b" -type f -name "*.la" -delete -print
# Just examples (and also in the wrong directory)
rm -fv "$b/usr/share/dwgadd.example" "$b/usr/share/load_dwg.py" "$b/usr/share/man/man5/dwgadd.5"*
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files tools
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/dwg*
%_bindir/dxf*
%_mandir/man?/*.1%{?ext_man}
%_mandir/man?/*.[1-9]*
%_infodir/LibreDWG.info*%{?ext_info}
%_datadir/libredwg/
%files devel
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%_includedir/*.h
%_libdir/libredwg.so
%_libdir/pkgconfig/libredwg.pc