Ignore:
Timestamp:
Apr 8, 2022, 5:37:45 PM (3 years ago)
Author:
tellie
Message:

spec: yaz: Release version 5.31.1-2.

File:
1 edited

Legend:

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

    r1804 r1806  
    11Name:           yaz
    22Version:        5.31.1
    3 Release:        1%{?dist}
     3Release:        2%{?dist}
    44Summary:        Z39.50/SRW/SRU toolkit
    55License:        BSD
     
    7777
    7878%build
    79 sh buildconf.sh
     79buildconf.sh
     80%if 0%{?os2_version}
    8081export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    8182export LIBS="-lcx"
    82 
    83 %if !0%{?os2_version}
     83%endif
     84
    8485%configure \
    8586        --enable-shared \
     87%if !0%{?os2_version}
    8688        --with-memcached \
    8789        --with-redis \
     90%endif
    8891        --disable-static \
    8992        %{nil}
    90 %else
    91 CFLAGS="$RPM_OPT_FLAGS" \
    92  ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
    93    --enable-shared --without-memcached --disable-static --with-xslt --with-gnutls --with-icu --with-xml2 --with-iconv
    94 %endif
    9593
    9694%if !0%{?os2_version}
     
    10199
    102100%install
    103 %if !0%{?os2_version}
    104101%make_install
    105 %else
    106 make install DESTDIR=${RPM_BUILD_ROOT}
     102
     103# Remove cruft
     104%if !0%{?os2_version}
     105find %{buildroot} -name '*.*a' -delete -print
     106%else
    107107rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
    108108%endif
    109109
    110 # Remove cruft
    111 %if !0%{?os2_version}
    112 find %{buildroot} -name '*.*a' -delete -print
    113 %endif
    114 
    115110%check
     111%if 0%{?os2_version}
    116112export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs
     113%endif
    117114make -k check
    118115
     
    141138%{_bindir}/zoomsh
    142139%else
    143 %{_bindir}/yaz*.exe
     140%{_bindir}/yaz-client.exe
     141%{_bindir}/yaz-iconv.exe
     142%{_bindir}/yaz-icu.exe
     143%{_bindir}/yaz-illclient.exe
     144%{_bindir}/yaz-json-parse.exe
     145%{_bindir}/yaz-marcdump.exe
     146%{_bindir}/yaz-record-conv.exe
     147%{_bindir}/yaz-url.exe
     148%{_bindir}/yaz-ztest.exe
    144149%{_bindir}/zoomsh.exe
    145150%endif
     
    188193
    189194%changelog
     195* Thu Apr 07 2022 Elbert Pol <elbert.pol@gmail.com - 5.31.1-2
     196_ Update spec file to right Fedora spec.
     197
    190198* Fri Mar 25 2022 Elbert Pol <elbert.pol@gmail.com> - 5.31.1-1
    191199- Updated to latest version
Note: See TracChangeset for help on using the changeset viewer.