1 Summary: Perl implementation of the ZOOM abstract API
2 Name: libnet-z3950-zoom-perl
6 Group: Applications/Internet
7 Vendor: Index Data ApS <info@indexdata.com>
8 Source: libnet-z3950-zoom-perl-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/libnet-z3950-zoom-perl-%{version}-root
11 Packager: Mike Taylor <mike@indexdata.com>
12 URL: http://www.indexdata.com/masterkey/
14 Requires: libyaz4-devel
15 Requires: perl-marc-record
16 Requires: perl-XML-LibXML
19 This module provides a nice, Perlish implementation of the ZOOM
20 Abstract API described and documented at http://zoom.z3950.org/api/
22 the ZOOM module is implemented as a set of thin classes on top of the
23 non-OO functions provided by this distribution's Net::Z3950::ZOOM
24 module, which in turn is a thin layer on top of the ZOOM-C code
25 supplied as part of Index Data's YAZ Toolkit. Because ZOOM-C is also
26 the underlying code that implements ZOOM bindings in C++, Visual
27 Basic, Scheme, Ruby, .NET (including C#) and other languages, this
28 Perl module works compatibly with those other implementations. (Of
29 course, the point of a public API such as ZOOM is that all
30 implementations should be compatible anyway; but knowing that the same
31 code is running is reassuring.)
37 perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr
42 rm $RPM_BUILD_ROOT/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
43 # Perl's make install seems to create both uncompressed AND compressed
44 # versions of the manual pages, which confuses /usr/lib/rpm/brp-compress
45 find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \;
47 # Install documentation
48 DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/perl-zoom
50 cp -p README Changes $DOCDIR/
53 rm -fr ${RPM_BUILD_ROOT}
57 %doc %{_datadir}/doc/perl-zoom
60 /usr/lib64/perl5/site_perl/5.8.8
61 %doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz
62 %doc %{_datadir}/man/man3/ZOOM.3pm.gz
64 # Why is this file in such a silly location? This is fragile.
65 #/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Masterkey/Admin/.packlist
68 * Mon Jul 12 2010 Mike Taylor <mike@indexdata.com>
69 - First Red Hat packaged version.