Changeset 1824 for spec/trunk/SPECS/yaz.spec
- Timestamp:
- Jan 2, 2023, 5:47:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/yaz.spec
r1806 r1824 1 1 Name: yaz 2 Version: 5.3 1.13 Release: 2%{?dist}2 Version: 5.33.0 3 Release: 1%{?dist} 4 4 Summary: Z39.50/SRW/SRU toolkit 5 5 License: BSD … … 8 8 Source0: http://ftp.indexdata.com/pub/yaz/yaz-%{version}.tar.gz 9 9 %else 10 %scm_source github https://github.com/Tellie/ yaz-os2 %{version}-os210 %scm_source github https://github.com/Tellie/%{name}-os2 %{version}-os2 11 11 %endif 12 12 … … 25 25 BuildRequires: pkgconfig(libxml-2.0) 26 26 BuildRequires: pkgconfig(libxslt) 27 28 27 BuildRequires: ncurses-devel 29 28 BuildRequires: readline-devel … … 77 76 78 77 %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 78 export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 79 export LIBS="-lcx -ltinfo -lpthread" 80 81 autoreconf -vif 82 83 sed -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} 84 87 85 88 %configure \ … … 111 114 %if 0%{?os2_version} 112 115 export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs 113 %endif114 116 make -k check 115 116 %clean 117 rm -fr ${RPM_BUILD_ROOT} 117 %endif 118 118 119 119 %if !0%{?os2_version} … … 124 124 125 125 %files 126 %doc NEWS README.md 126 %doc NEWS 127 %doc README.md 127 128 %license LICENSE 128 129 %if !0%{?os2_version} … … 190 191 191 192 %files -n %{name}-doc 193 %if !0%{?os2_version} 194 %{_pkgdocdir} 195 %else 192 196 %{_docdir}/yaz/* 197 %endif 193 198 194 199 %changelog 200 * Mon Jan 02 2023 Elbert Pol <elbert.pol@gmail.com> - 5.33.0-1 201 - Updated tp latest version 202 195 203 * Thu Apr 07 2022 Elbert Pol <elbert.pol@gmail.com - 5.31.1-2 196 204 _ Update spec file to right Fedora spec.
Note:
See TracChangeset
for help on using the changeset viewer.