doc sub-package
OBS-URL: https://build.opensuse.org/package/show/Publishing/yaz?expand=0&rev=80
This commit is contained in:
parent
c5397fa6a9
commit
d72101b744
23
yaz.spec
23
yaz.spec
@ -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
|
||||
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}
|
||||
|
||||
Summary: Z39.50 Library
|
||||
@ -51,7 +65,7 @@ Provides: libyaz = %{version}-%{release}
|
||||
Obsoletes: libyaz < %{version}
|
||||
|
||||
%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.
|
||||
|
||||
%package -n libyaz-devel
|
||||
@ -65,7 +79,7 @@ Requires: openssl-devel
|
||||
Requires: tcpd-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.
|
||||
|
||||
%prep
|
||||
@ -119,7 +133,6 @@ rm -f %{buildroot}%{_libdir}/*.la
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{DOCFILES} ChangeLog
|
||||
%doc index.html html
|
||||
%{_bindir}/yaz-client*
|
||||
%{_bindir}/yaz-iconv
|
||||
%{_bindir}/yaz-icu
|
||||
@ -144,6 +157,10 @@ rm -f %{buildroot}%{_libdir}/*.la
|
||||
%dir %{_datadir}/yaz
|
||||
%{_datadir}/yaz/etc
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc index.html html
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user