Requires: perl-XML-LibXML
[ZOOM-Perl-moved-to-github.git] / zoom-perl.spec
index 6d041fd..6808b43 100644 (file)
@@ -13,6 +13,7 @@ URL: http://www.indexdata.com/masterkey/
 
 Requires: libyaz4-devel
 Requires: perl-marc-record
+Requires: perl-XML-LibXML
 
 %description
 This module provides a nice, Perlish implementation of the ZOOM
@@ -38,10 +39,10 @@ make
 
 %install
 make install
-#rm $RPM_BUILD_ROOT/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
+rm $RPM_BUILD_ROOT/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
 # Perl's make install seems to create both uncompressed AND compressed
 # versions of the manual pages, which confuses /usr/lib/rpm/brp-compress
-#find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \;
+find $RPM_BUILD_ROOT/usr/share/man -name '*.gz' -exec rm -f '{}' \;
 
 # Install documentation
 DOCDIR=$RPM_BUILD_ROOT%{_datadir}/doc/perl-zoom
@@ -56,6 +57,9 @@ rm -fr ${RPM_BUILD_ROOT}
 %doc %{_datadir}/doc/perl-zoom
 %{_bindir}/zselect
 %{_bindir}/zoomdump
+/usr/lib64/perl5/site_perl/5.8.8
+%doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz
+%doc %{_datadir}/man/man3/ZOOM.3pm.gz
 
 # Why is this file in such a silly location?  This is fragile.
 #/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Masterkey/Admin/.packlist