Accepting request 81843 from Publishing
...updated and package rename to follow the packaging standard... - update to 4.2.14: + New ZOOM utility ZOOM_query_sortby2 + New functions yaz_sort_spec_to_{cql,type7} + rpn2solr supports Z39.58 truncation (104) + yaz-client: allow scanpos of "none" + cql2pqf: refactor truncation handling and fix Z39.58 mode + CQL/CCL/PQF conversion fixes. CCL support for Z39.58 trunc + cql2ccl: term code for all/any sequences as well + cql2ccl: fix handling of \\ + for more Information, see /usr/share/doc/packages/yaz/ChangeLog - rename libyaz to libyaz4 to follow shared library packaging standard - and move problematic files to the yaz main package (forwarded request 81825 from lrupp) OBS-URL: https://build.opensuse.org/request/show/81843 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yaz?expand=0&rev=24
This commit is contained in:
commit
7fef496140
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7f386ee3a73c52003a3158da4035d6af7168aa07f1f8ad8f43b95b3ef9072621
|
|
||||||
size 2304460
|
|
3
yaz-4.2.14.tar.bz2
Normal file
3
yaz-4.2.14.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7f21ddff9704ce6c21de20ea50faa6f962073709217307e8dd0c46db7b459cfb
|
||||||
|
size 1853543
|
17
yaz.changes
17
yaz.changes
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 10 21:52:41 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- update to 4.2.14:
|
||||||
|
+ New ZOOM utility ZOOM_query_sortby2
|
||||||
|
+ New functions yaz_sort_spec_to_{cql,type7}
|
||||||
|
+ rpn2solr supports Z39.58 truncation (104)
|
||||||
|
+ yaz-client: allow scanpos of "none"
|
||||||
|
+ cql2pqf: refactor truncation handling and fix Z39.58 mode
|
||||||
|
+ CQL/CCL/PQF conversion fixes. CCL support for Z39.58 trunc
|
||||||
|
+ cql2ccl: term code for all/any sequences as well
|
||||||
|
+ cql2ccl: fix handling of \\
|
||||||
|
+ for more Information, see
|
||||||
|
/usr/share/doc/packages/yaz/ChangeLog
|
||||||
|
- rename libyaz to libyaz4 to follow shared library packaging
|
||||||
|
standard - and move problematic files to the yaz main package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 2 15:25:11 UTC 2011 - idonmez@novell.com
|
Tue Aug 2 15:25:11 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
57
yaz.spec
57
yaz.spec
@ -18,38 +18,39 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: yaz
|
Name: yaz
|
||||||
# libxml2-devel
|
Version: 4.2.14
|
||||||
Version: 4.2.0
|
|
||||||
Release: 3
|
Release: 3
|
||||||
License: BSD3c(or similar)
|
License: BSD3c(or similar)
|
||||||
Summary: Z39.50/SRW/SRU Programs
|
Summary: Z39.50/SRW/SRU Programs
|
||||||
Url: http://www.indexdata.dk/yaz/
|
Url: http://www.indexdata.dk/yaz/
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Source: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.gz
|
Source: http://ftp.indexdata.dk/pub/yaz/%{name}-%{version}.tar.bz2
|
||||||
Patch0: yaz-4.1.7-codecleanup.diff
|
Patch0: yaz-4.1.7-codecleanup.diff
|
||||||
Patch1: yaz-4.1.7-client.diff
|
Patch1: yaz-4.1.7-client.diff
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: tcpd-devel
|
BuildRequires: tcpd-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%define libname libyaz4
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains both a test-server and clients (normal & ssl) for
|
This package contains both a test-server and clients (normal & ssl) for
|
||||||
the ANSI/NISO Z39.50 protocol for Information Retrieval. SRW and SRU
|
the ANSI/NISO Z39.50 protocol for Information Retrieval. SRW and SRU
|
||||||
clients and servers are also supported.
|
clients and servers are also supported.
|
||||||
|
|
||||||
%package -n libyaz
|
%package -n %{libname}
|
||||||
License: BSD3c(or similar)
|
License: BSD3c(or similar)
|
||||||
Summary: Z39.50 Library
|
Summary: Z39.50 Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
# Requires: libxml2
|
Provides: libyaz = %{version}-%{release}
|
||||||
# Requires: libxml2 openssl
|
Obsoletes: libyaz < %{version}
|
||||||
|
|
||||||
%description -n libyaz
|
%description -n %{libname}
|
||||||
YAZ is a C library for developing client - and server applications
|
YAZ is a C library for developing client - and server applications
|
||||||
using the ANSI/NISO Z39.50 protocol for Information Retrieval.
|
using the ANSI/NISO Z39.50 protocol for Information Retrieval.
|
||||||
|
|
||||||
@ -58,9 +59,10 @@ License: BSD3c(or similar)
|
|||||||
Summary: Z39.50 Library
|
Summary: Z39.50 Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libicu-devel
|
Requires: libicu-devel
|
||||||
Requires: libopenssl-devel
|
Requires: openssl-devel
|
||||||
Requires: libxslt-devel
|
Requires: libxslt-devel
|
||||||
Requires: libyaz = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
Requires: tcpd-devel
|
Requires: tcpd-devel
|
||||||
|
|
||||||
%description -n libyaz-devel
|
%description -n libyaz-devel
|
||||||
@ -79,16 +81,13 @@ using the ANSI/NISO Z39.50 protocol for Information Retrieval.
|
|||||||
--enable-tcpd \
|
--enable-tcpd \
|
||||||
--with-xslt \
|
--with-xslt \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
|
--with-icu \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-pic
|
--with-pic
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{makeinstall}
|
%{makeinstall}
|
||||||
#pushd doc
|
|
||||||
# make prefix=%{buildroot}/usr install
|
|
||||||
# make DESTDIR=%{buildroot} install
|
|
||||||
#popd
|
|
||||||
# Unwanted doc stuff
|
# Unwanted doc stuff
|
||||||
rm -fr %{buildroot}%{_datadir}/doc
|
rm -fr %{buildroot}%{_datadir}/doc
|
||||||
rm -fr html
|
rm -fr html
|
||||||
@ -112,51 +111,47 @@ ln -sf introduction.html html/index.html
|
|||||||
done
|
done
|
||||||
echo "</li></body></html>"
|
echo "</li></body></html>"
|
||||||
} >index.html
|
} >index.html
|
||||||
/sbin/ldconfig -n %{buildroot}%{_libdir}
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr %{buildroot}
|
rm -fr %{buildroot}
|
||||||
|
|
||||||
%post -n libyaz -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libyaz -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/yaz-illclient
|
%doc %{DOCFILES} ChangeLog
|
||||||
|
%doc index.html html
|
||||||
%{_bindir}/yaz-client*
|
%{_bindir}/yaz-client*
|
||||||
%{_bindir}/yaz-ztest*
|
|
||||||
%{_bindir}/yaz-iconv
|
%{_bindir}/yaz-iconv
|
||||||
%{_bindir}/yaz-icu
|
%{_bindir}/yaz-icu
|
||||||
|
%{_bindir}/yaz-illclient
|
||||||
%{_bindir}/yaz-marcdump
|
%{_bindir}/yaz-marcdump
|
||||||
|
%{_bindir}/yaz-url
|
||||||
|
%{_bindir}/yaz-ztest*
|
||||||
%{_bindir}/zoomsh
|
%{_bindir}/zoomsh
|
||||||
%{_bindir}/yaz-json-parse
|
%{_bindir}/yaz-json-parse
|
||||||
# #%%ifarch %ix86 ia64 s390 ppc hppa
|
%{_mandir}/*/yaz.*
|
||||||
# %{_bindir}/ziffy
|
|
||||||
# #%%endif
|
|
||||||
%{_mandir}/*/yaz-illclient.*
|
%{_mandir}/*/yaz-illclient.*
|
||||||
%{_mandir}/*/yaz-client.*
|
%{_mandir}/*/yaz-client.*
|
||||||
# %{_mandir}/*/ziffy.*
|
|
||||||
%{_mandir}/*/zoomsh.*
|
%{_mandir}/*/zoomsh.*
|
||||||
%{_mandir}/*/yaz-ztest.*
|
|
||||||
%{_mandir}/*/yaz-iconv.*
|
%{_mandir}/*/yaz-iconv.*
|
||||||
%{_mandir}/*/yaz-icu.*
|
%{_mandir}/*/yaz-icu.*
|
||||||
%{_mandir}/*/yaz-log.*
|
%{_mandir}/*/yaz-log.*
|
||||||
|
%{_mandir}/*/yaz-url.*
|
||||||
|
%{_mandir}/*/yaz-ztest.*
|
||||||
%{_mandir}/*/yaz-marcdump.*
|
%{_mandir}/*/yaz-marcdump.*
|
||||||
%{_mandir}/*/yaz-json-parse.*
|
%{_mandir}/*/yaz-json-parse.*
|
||||||
%{_mandir}/*/bib1-attr.*
|
%{_mandir}/*/bib1-attr.*
|
||||||
|
|
||||||
%files -n libyaz
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{DOCFILES}
|
|
||||||
%doc index.html html
|
|
||||||
# %doc doc/yaz.pdf
|
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%{_mandir}/*/yaz.*
|
|
||||||
%dir %{_datadir}/yaz
|
%dir %{_datadir}/yaz
|
||||||
%{_datadir}/yaz/etc
|
%{_datadir}/yaz/etc
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n libyaz-devel
|
%files -n libyaz-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/yaz-config
|
%{_bindir}/yaz-config
|
||||||
|
Loading…
Reference in New Issue
Block a user