be83daa
Name:           perl-XML-XPathEngine
fb671dd
Version:        0.12
d53ed17
Release:        3%{?dist}
be83daa
Summary:        Re-usable XPath engine for DOM-like trees
29028de
License:        GPL+ or Artistic
be83daa
Group:          Development/Libraries
be83daa
URL:            http://search.cpan.org/dist/XML-XPathEngine/
be83daa
Source0:        http://www.cpan.org/modules/by-module/XML/XML-XPathEngine-%{version}.tar.gz
be83daa
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
be83daa
BuildArch:      noarch
be83daa
BuildRequires:  perl(Test::Pod)
be83daa
BuildRequires:  perl(Test::Pod::Coverage)
be83daa
BuildRequires:  perl(ExtUtils::MakeMaker)
be83daa
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
be83daa
be83daa
%description
be83daa
This module provides an XPath engine, that can be re-used by other
be83daa
module/classes that implement trees.
be83daa
be83daa
%prep
be83daa
%setup -q -n XML-XPathEngine-%{version}
be83daa
be83daa
%build
be83daa
%{__perl} Makefile.PL INSTALLDIRS=vendor
be83daa
make %{?_smp_mflags}
be83daa
be83daa
%install
be83daa
rm -rf $RPM_BUILD_ROOT
be83daa
be83daa
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
be83daa
be83daa
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
be83daa
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
be83daa
be83daa
%{_fixperms} $RPM_BUILD_ROOT/*
be83daa
be83daa
%check
be83daa
make test
be83daa
be83daa
%clean
be83daa
rm -rf $RPM_BUILD_ROOT
be83daa
be83daa
%files
be83daa
%defattr(-,root,root,-)
be83daa
%doc Changes README
be83daa
%{perl_vendorlib}/*
be83daa
%{_mandir}/man3/*
be83daa
be83daa
%changelog
d53ed17
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.12-3
d53ed17
- rebuild against perl 5.10.1
d53ed17
3540eb6
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
3540eb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3540eb6
fb671dd
* Mon May  4 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.12-1
fb671dd
- Update to latest upstream (#499068)
fb671dd
49b9604
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
49b9604
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
49b9604
76ab809
* Wed Jun  4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11-1
76ab809
- Update to latest upstream (0.11)
76ab809
5594862
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08-4
5594862
- Rebuild for perl 5.10 (again)
5594862
1a10da0
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.08-3
1a10da0
- rebuild for new perl
1a10da0
29028de
* Tue Sep 04 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.08-2
29028de
- Clarified license terms: GPL+ or Artistic
29028de
be83daa
* Fri Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.08-1
be83daa
- Add BRs for Test::Pod and Test::Pod::Coverage
be83daa
- Specfile autogenerated by cpanspec 1.69.1.