Accepting request 1226341 from Publishing

OBS-URL: https://build.opensuse.org/request/show/1226341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yaz?expand=0&rev=52
This commit is contained in:
Ana Guerrero 2024-11-26 19:55:44 +00:00 committed by Git OBS Bridge
commit a6d1814222
5 changed files with 50 additions and 5 deletions

View File

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

3
yaz-5.34.2.tar.gz Normal file
View File

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

27
yaz-icu-76.patch Normal file
View File

@ -0,0 +1,27 @@
Index: yaz-5.34.2/m4/ac_check_icu.m4
===================================================================
--- yaz-5.34.2.orig/m4/ac_check_icu.m4
+++ yaz-5.34.2/m4/ac_check_icu.m4
@@ -25,8 +25,8 @@ AC_DEFUN([AC_CHECK_ICU],
AC_MSG_RESULT([found])
ICU_VERSION=`$pkgconfigpath --modversion icu-i18n`
ICU_CPPFLAGS=""
- ICU_CFLAGS=`$pkgconfigpath --cflags icu-i18n`
- ICU_LIBS=`$pkgconfigpath --libs icu-i18n`
+ ICU_CFLAGS=`$pkgconfigpath --cflags icu-i18n icu-uc`
+ ICU_LIBS=`$pkgconfigpath --libs icu-i18n icu-uc`
else
AC_MSG_RESULT([not found])
fi
Index: yaz-5.34.2/yaz-icu.pc.in
===================================================================
--- yaz-5.34.2.orig/yaz-icu.pc.in
+++ yaz-5.34.2/yaz-icu.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: YAZ ICU
Version: @VERSION@
Description: YAZ ICU library for building Z39.50 applications
-Requires: yaz libexslt icu-i18n
+Requires: yaz libexslt icu-i18n icu-uc
Libs: -L${libdir} -lyaz_icu @PTHREAD_LIBS@
Cflags: @ICU_CPPFLAGS@

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Nov 22 08:53:43 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 5.34.2:
+ Remove outdated distros: Debian Stretch and Ubuntu Trusty
+ LICENSE: Update to match Index Data's online Revised BSD license
+ Vscode XML editor settings
+ YAZ 5.34.1 breaks search with OCLC's "Sisis InfoGuide" origin
- Add yaz-icu-76.patch: Fix build against ICU 76: most sources
found in the wild wrongly define the need on icu-i18n, when most
actually would need icu-uc.
- Add libtool BuildRequires and call autoreconf in build section,
as above patch touches the build system.
-------------------------------------------------------------------
Wed Jun 19 20:58:22 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -18,16 +18,18 @@
%define libname libyaz5
Name: yaz
Version: 5.34.1
Version: 5.34.2
Release: 0
Summary: Z39.50 protocol server and client
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://www.indexdata.com/resources/software/yaz/
Source: http://ftp.indexdata.dk/pub/yaz/yaz-%{version}.tar.gz
Patch0: yaz-icu-76.patch
BuildRequires: gnutls-devel
BuildRequires: libicu-devel
BuildRequires: libpcap-devel
BuildRequires: libtool
BuildRequires: libxslt-devel
BuildRequires: openssl-devel
BuildRequires: pkgconfig
@ -76,9 +78,10 @@ YAZ is a C library for developing client and server applications
using the ANSI/NISO Z39.50 protocol for Information Retrieval.
%prep
%autosetup
%autosetup -p1
%build
autoreconf -fiv
# --with-dsssl=/usr/share/sgml/docbook/dsssl-stylesheets \
# --with-dtd=/usr/share/sgml/db41xml
%configure --enable-shared \
@ -97,6 +100,7 @@ rm -fr %{buildroot}%{_datadir}/doc
rm -fr html
mkdir html
cp -a doc/*.html html
chmod 644 html/*.html
# cp doc/*pdf .
ln -sf introduction.html html/index.html
# yaz.pdf