X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom-perl.spec;h=d0c32880e97e5db8ddbdd53a48aecf0a320b95c5;hb=8e01210e8b9e3db2ec7bd004bf17dbaca1f69c83;hp=2f685eefce9d4a2546403383de92de315406282e;hpb=2c2066134f28828afc7597bc0fa5c6b30127968a;p=ZOOM-Perl-moved-to-github.git diff --git a/zoom-perl.spec b/zoom-perl.spec index 2f685ee..d0c3288 100644 --- a/zoom-perl.spec +++ b/zoom-perl.spec @@ -1,18 +1,20 @@ Summary: Perl implementation of the ZOOM abstract API -Name: perl-zoom +Name: libnet-z3950-zoom-perl Version: 1.26 Release: 1.indexdata License: Perl Group: Applications/Internet Vendor: Index Data ApS -Source: perl-zoom-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Source: libnet-z3950-zoom-perl-%{version}.tar.gz +BuildRoot: %{_tmppath}/libnet-z3950-zoom-perl-%{version}-root BuildRequires: perl Packager: Mike Taylor URL: http://www.indexdata.com/masterkey/ Requires: libyaz4-devel -Requires: perl-marc-record +Requires: perl-MARC-Record +Requires: perl-XML-LibXML +Requires: perl-XML-LibXML-XPathContext %description This module provides a nice, Perlish implementation of the ZOOM @@ -38,15 +40,15 @@ 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 mkdir -p $DOCDIR -cp -p README $DOCDIR/ +cp -p README Changes $DOCDIR/ %clean rm -fr ${RPM_BUILD_ROOT} @@ -56,6 +58,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