|
|
483c996 |
Name: perl-HTML-Selector-XPath
|
|
|
164cf02 |
Version: 0.14
|
|
|
3040023 |
Release: 1%{?dist}
|
|
|
483c996 |
Summary: CSS Selector to XPath compiler
|
|
|
483c996 |
License: GPL+ or Artistic
|
|
|
483c996 |
Group: Development/Libraries
|
|
|
483c996 |
URL: http://search.cpan.org/dist/HTML-Selector-XPath/
|
|
|
0919faf |
Source0: http://www.cpan.org/authors/id/C/CO/CORION/HTML-Selector-XPath-%{version}.tar.gz
|
|
|
483c996 |
BuildArch: noarch
|
|
|
483c996 |
BuildRequires: perl >= 1:5.8.1
|
|
|
483c996 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
483c996 |
BuildRequires: perl(Test::Base)
|
|
|
483c996 |
BuildRequires: perl(Test::More)
|
|
|
483c996 |
|
|
|
483c996 |
# for improved tests
|
|
|
483c996 |
BuildRequires: perl(HTML::TreeBuilder::XPath)
|
|
|
483c996 |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
483c996 |
|
|
|
483c996 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
483c996 |
|
|
|
483c996 |
%description
|
|
|
483c996 |
HTML::Selector::XPath is a utility function to compile CSS2 selector to the
|
|
|
483c996 |
equivalent XPath expression.
|
|
|
483c996 |
|
|
|
483c996 |
%prep
|
|
|
483c996 |
%setup -q -n HTML-Selector-XPath-%{version}
|
|
|
483c996 |
|
|
|
483c996 |
%build
|
|
|
483c996 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
483c996 |
make %{?_smp_mflags}
|
|
|
483c996 |
|
|
|
483c996 |
%install
|
|
|
483c996 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
483c996 |
|
|
|
483c996 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
483c996 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
483c996 |
|
|
|
483c996 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
483c996 |
|
|
|
483c996 |
%check
|
|
|
483c996 |
make test
|
|
|
483c996 |
|
|
|
483c996 |
%files
|
|
|
483c996 |
%defattr(-,root,root,-)
|
|
|
483c996 |
%doc Changes README
|
|
|
483c996 |
%{perl_vendorlib}/*
|
|
|
483c996 |
%{_mandir}/man3/*
|
|
|
483c996 |
|
|
|
483c996 |
%changelog
|
|
|
164cf02 |
* Wed Jan 18 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.14-1
|
|
|
164cf02 |
- Upstream update.
|
|
|
164cf02 |
|
|
|
3e654e0 |
* Fri Nov 25 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.12-1
|
|
|
3e654e0 |
- Upstream update.
|
|
|
3e654e0 |
|
|
|
0919faf |
* Sat Oct 22 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.09-1
|
|
|
0919faf |
- Upstream update.
|
|
|
0919faf |
|
|
|
3040023 |
* Mon Sep 19 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.08-1
|
|
|
3040023 |
- Upstream update.
|
|
|
3040023 |
|
|
|
4f11aa1 |
* Sun Mar 27 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.07-1
|
|
|
4f11aa1 |
- Upstream update.
|
|
|
4f11aa1 |
|
|
|
3d44c85 |
* Fri Feb 18 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.06-2
|
|
|
3d44c85 |
- Fix bogus changelog entry.
|
|
|
3d44c85 |
|
|
|
3d44c85 |
* Fri Feb 18 2011 Ralf Corsépius <corsepiu@fedoraproject.org> 0.06-1
|
|
|
32afa04 |
- Upstream update.
|
|
|
32afa04 |
|
|
|
686fe26 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-2
|
|
|
686fe26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
686fe26 |
|
|
|
483c996 |
* Tue Dec 21 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 0.04-1
|
|
|
483c996 |
- Initial Fedora package.
|