Ignore:
Timestamp:
Jan 2, 2023, 5:47:37 PM (3 years ago)
Author:
tellie
Message:

spec: yaz: Release version 5.33.0-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/yaz.spec

    r1806 r1824  
    11Name:           yaz
    2 Version:        5.31.1
    3 Release:        2%{?dist}
     2Version:        5.33.0
     3Release:        1%{?dist}
    44Summary:        Z39.50/SRW/SRU toolkit
    55License:        BSD
     
    88Source0:        http://ftp.indexdata.com/pub/yaz/yaz-%{version}.tar.gz
    99%else
    10 %scm_source github https://github.com/Tellie/yaz-os2 %{version}-os2
     10%scm_source github https://github.com/Tellie/%{name}-os2 %{version}-os2
    1111%endif
    1212
     
    2525BuildRequires:  pkgconfig(libxml-2.0)
    2626BuildRequires:  pkgconfig(libxslt)
    27 
    2827BuildRequires:  ncurses-devel
    2928BuildRequires:  readline-devel
     
    7776
    7877%build
    79 buildconf.sh
    80 %if 0%{?os2_version}
    81 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    82 export LIBS="-lcx"
    83 %endif
     78export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
     79export LIBS="-lcx -ltinfo -lpthread"
     80
     81autoreconf -vif
     82
     83sed -i.rpath configure \
     84        -e 's|hardcode_libdir_flag_spec=|hardcode_libdir_flag_spec_goodby=|' \
     85        -e '\@sys_lib_dlsearch_path_spec=@s|/lib /usr/lib|/lib /usr/lib %{_libdir} /%{_lib}|' \
     86        %{nil}
    8487
    8588%configure \
     
    111114%if 0%{?os2_version}
    112115export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs
    113 %endif
    114116make -k check
    115 
    116 %clean
    117 rm -fr ${RPM_BUILD_ROOT}
     117%endif
    118118
    119119%if !0%{?os2_version}
     
    124124
    125125%files
    126 %doc NEWS README.md
     126%doc NEWS
     127%doc README.md
    127128%license LICENSE
    128129%if !0%{?os2_version}
     
    190191
    191192%files -n %{name}-doc
     193%if !0%{?os2_version}
     194%{_pkgdocdir}
     195%else
    192196%{_docdir}/yaz/*
     197%endif
    193198
    194199%changelog
     200* Mon Jan 02 2023 Elbert Pol <elbert.pol@gmail.com> - 5.33.0-1
     201- Updated tp latest version
     202
    195203* Thu Apr 07 2022 Elbert Pol <elbert.pol@gmail.com - 5.31.1-2
    196204_ Update spec file to right Fedora spec.
Note: See TracChangeset for help on using the changeset viewer.