diff --git a/yaz-5.34.1.tar.gz b/yaz-5.34.1.tar.gz deleted file mode 100644 index 08cf8da..0000000 --- a/yaz-5.34.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7fd8e0222b3b0d1115ad8e7a2ee67be7a2807624d61d5b71854bf5e167ab7a9 -size 2596155 diff --git a/yaz-5.34.2.tar.gz b/yaz-5.34.2.tar.gz new file mode 100644 index 0000000..5b0bab1 --- /dev/null +++ b/yaz-5.34.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab45cf48036fc6da7493815c033b5db2b1e7a34632caed1a43e9cdef745b9618 +size 2601365 diff --git a/yaz-icu-76.patch b/yaz-icu-76.patch new file mode 100644 index 0000000..ca4bd2e --- /dev/null +++ b/yaz-icu-76.patch @@ -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@ diff --git a/yaz.changes b/yaz.changes index f48b273..cf19762 100644 --- a/yaz.changes +++ b/yaz.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Nov 22 08:53:43 UTC 2024 - Dominique Leuenberger + +- 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 diff --git a/yaz.spec b/yaz.spec index 95dbabc..a501831 100644 --- a/yaz.spec +++ b/yaz.spec @@ -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