X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=zoom-perl.spec;h=e2439cc6a69b724e404146fe96b7ec045602d139;hb=56f58a1e6f21e71facf27d29d216bca76e2d0d05;hp=6d041fdd25d7d69ba8d8665609e988560348ecb8;hpb=5b29d7492ee162e5411bb9c383c2dd219fcbc631;p=ZOOM-Perl-moved-to-github.git diff --git a/zoom-perl.spec b/zoom-perl.spec index 6d041fd..e2439cc 100644 --- a/zoom-perl.spec +++ b/zoom-perl.spec @@ -1,6 +1,6 @@ Summary: Perl implementation of the ZOOM abstract API Name: libnet-z3950-zoom-perl -Version: 1.26 +Version: 1.27 Release: 1.indexdata License: Perl Group: Applications/Internet @@ -12,7 +12,9 @@ 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 @@ -33,15 +35,16 @@ code is running is reassuring.) %setup %build -perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr -make +%{__perl} Makefile.PL PREFIX=/usr INSTALLDIRS=vendor +%{__make} %install -make install -#rm $RPM_BUILD_ROOT/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod +%{__rm} -rf %{buildroot} +%{__make} pure_install DESTDIR=%{buildroot} + # 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,10 +59,13 @@ rm -fr ${RPM_BUILD_ROOT} %doc %{_datadir}/doc/perl-zoom %{_bindir}/zselect %{_bindir}/zoomdump - -# 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 +%doc %{_datadir}/man/man3/Net::Z3950::ZOOM.3pm.gz +%doc %{_datadir}/man/man3/ZOOM.3pm.gz +%{perl_vendorarch} %changelog * Mon Jul 12 2010 Mike Taylor - First Red Hat packaged version. + +All versions follow the upstream changelog "Changes". +