From 6cfda389b5221c4d7978dd8762a43a224c4537cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 10 Feb 2005 20:29:37 +0000 Subject: [PATCH] auto-import perl-XML-XPath-1.13-2 on branch devel from perl-XML-XPath-1.13-2.src.rpm --- .cvsignore | 1 + perl-XML-XPath.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+) create mode 100644 perl-XML-XPath.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b59f1b4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +XML-XPath-1.13.tar.gz diff --git a/perl-XML-XPath.spec b/perl-XML-XPath.spec new file mode 100644 index 0000000..2d75c30 --- /dev/null +++ b/perl-XML-XPath.spec @@ -0,0 +1,64 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-XML-XPath +Version: 1.13 +Release: 2 +Epoch: 0 +Summary: XPath parser and evaluator for Perl + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/XML-XPath/ +Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-XPath-1.13.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1, perl(XML::Parser) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module aims to comply exactly to the XPath specification at +http://www.w3.org/TR/xpath and yet allow extensions to be added in the +form of functions. Modules such as XSLT and XPointer may need to do +this as they support functionality beyond XPath. + + +%prep +%setup -q -n XML-XPath-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README TODO +%{_bindir}/xpath +%{perl_vendorlib}/XML +%{_mandir}/man3/*.3* + + +%changelog +* Sun Jul 11 2004 Ville Skyttä - 0:1.13-2 +- Bring up to date with current fedora.us Perl spec template. + +* Sun Oct 12 2003 Ville Skyttä - 0:1.13-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..816ca7b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b5919d9220d83982feb6e2321850c5d7 XML-XPath-1.13.tar.gz