auto-import perl-XML-XPath-1.13-2 on branch devel from
perl-XML-XPath-1.13-2.src.rpm
This commit is contained in:
parent
dde5a8bc73
commit
6cfda389b5
@ -0,0 +1 @@
|
||||
XML-XPath-1.13.tar.gz
|
||||
64
perl-XML-XPath.spec
Normal file
64
perl-XML-XPath.spec
Normal file
@ -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ä <ville.skytta at iki.fi> - 0:1.13-2
|
||||
- Bring up to date with current fedora.us Perl spec template.
|
||||
|
||||
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.13-0.fdr.1
|
||||
- First build.
|
||||
Loading…
Reference in New Issue
Block a user