doc sub-package

OBS-URL: https://build.opensuse.org/package/show/Publishing/yaz?expand=0&rev=80
This commit is contained in:
Karl Eichwalder 2012-10-22 15:09:40 +00:00 committed by Git OBS Bridge
parent c5397fa6a9
commit d72101b744

View File

@ -43,6 +43,20 @@ 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 doc
Summary: Documenation for %{name} (Z39.50 Library)
Group: Documenation/HTML
%if 0%{?suse_version} >= 1140
BuildArch: noarch
%endif
%description doc
YAZ is a C library for developing client and server applications
using the ANSI/NISO Z39.50 protocol for Information Retrieval.
This package contains the documentation.
%package -n %{libname} %package -n %{libname}
Summary: Z39.50 Library Summary: Z39.50 Library
@ -51,7 +65,7 @@ Provides: libyaz = %{version}-%{release}
Obsoletes: libyaz < %{version} Obsoletes: libyaz < %{version}
%description -n %{libname} %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.
%package -n libyaz-devel %package -n libyaz-devel
@ -65,7 +79,7 @@ Requires: openssl-devel
Requires: tcpd-devel Requires: tcpd-devel
%description -n libyaz-devel %description -n libyaz-devel
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.
%prep %prep
@ -119,7 +133,6 @@ rm -f %{buildroot}%{_libdir}/*.la
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc %{DOCFILES} ChangeLog %doc %{DOCFILES} ChangeLog
%doc index.html html
%{_bindir}/yaz-client* %{_bindir}/yaz-client*
%{_bindir}/yaz-iconv %{_bindir}/yaz-iconv
%{_bindir}/yaz-icu %{_bindir}/yaz-icu
@ -144,6 +157,10 @@ rm -f %{buildroot}%{_libdir}/*.la
%dir %{_datadir}/yaz %dir %{_datadir}/yaz
%{_datadir}/yaz/etc %{_datadir}/yaz/etc
%files doc
%defattr(-,root,root)
%doc index.html html
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/*.so.*