Changeset 1806 for spec/trunk/SPECS/yaz.spec
- Timestamp:
- Apr 8, 2022, 5:37:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/yaz.spec
r1804 r1806 1 1 Name: yaz 2 2 Version: 5.31.1 3 Release: 1%{?dist}3 Release: 2%{?dist} 4 4 Summary: Z39.50/SRW/SRU toolkit 5 5 License: BSD … … 77 77 78 78 %build 79 sh buildconf.sh 79 buildconf.sh 80 %if 0%{?os2_version} 80 81 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 81 82 export LIBS="-lcx" 82 83 %if !0%{?os2_version} 83 %endif 84 84 85 %configure \ 85 86 --enable-shared \ 87 %if !0%{?os2_version} 86 88 --with-memcached \ 87 89 --with-redis \ 90 %endif 88 91 --disable-static \ 89 92 %{nil} 90 %else91 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-iconv94 %endif95 93 96 94 %if !0%{?os2_version} … … 101 99 102 100 %install 103 %if !0%{?os2_version}104 101 %make_install 105 %else 106 make install DESTDIR=${RPM_BUILD_ROOT} 102 103 # Remove cruft 104 %if !0%{?os2_version} 105 find %{buildroot} -name '*.*a' -delete -print 106 %else 107 107 rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la 108 108 %endif 109 109 110 # Remove cruft111 %if !0%{?os2_version}112 find %{buildroot} -name '*.*a' -delete -print113 %endif114 115 110 %check 111 %if 0%{?os2_version} 116 112 export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs 113 %endif 117 114 make -k check 118 115 … … 141 138 %{_bindir}/zoomsh 142 139 %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 144 149 %{_bindir}/zoomsh.exe 145 150 %endif … … 188 193 189 194 %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 190 198 * Fri Mar 25 2022 Elbert Pol <elbert.pol@gmail.com> - 5.31.1-1 191 199 - Updated to latest version
Note:
See TracChangeset
for help on using the changeset viewer.