jvdias 60dd471
Name:           perl-XML-Grove
82b094a
# The version is against the guidelines. However adherence to the
82b094a
# guideline would imply using an epoch, which is very inconvenient.
82b094a
# Given that this package's development is stalled since Sep 1999, and
82b094a
# hoping that upstream skip one version to go straight to 0.47, it seems
82b094a
# better not to use an epoch. If 0.46 is ever released, the epoch way
82b094a
# would have to be used, but we are better avoiding that if possible.
jvdias 60dd471
Version:        0.46alpha
edbc3b9
Release:        46%{?dist}
jvdias 60dd471
Summary:        Simple access to infoset of parsed XML, HTML, or SGML instances
cvsdist 1dea87a
jvdias 60dd471
Group:          Development/Libraries
7c2959a
License:        GPL+ or Artistic
jvdias 60dd471
URL:            http://search.cpan.org/dist/XML-Grove/
877ed74
Source0:        http://www.cpan.org/authors/id/K/KM/KMACLEOD/XML-Grove-%{version}.tar.gz
5a74193
Patch1:         perl-XML-Grove-test.patch
877ed74
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
cvsdist e2de557
jvdias 60dd471
BuildArch:      noarch
jvdias 60dd471
BuildRequires:  perl-libxml-perl
3b318de
BuildRequires:  perl(ExtUtils::MakeMaker)
5a74193
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cvsdist 15c8029
cvsdist 15c8029
%description
cvsdist 1eb6096
XML::Grove is a tree-based object model for accessing the information
cvsdist 1eb6096
set of parsed or stored XML, HTML, or SGML instances. XML::Grove
cvsdist 1eb6096
objects are Perl hashes and arrays where you access the properties of
cvsdist 1eb6096
the objects using normal Perl syntax.
cvsdist 15c8029
jvdias 60dd471
7b2e498
# Remove bogus and redundant provides
7b2e498
%global provfilt /bin/sh -c "%{__perl_provides} | grep -Evx 'perl[(](My(HTML|Visitor)|XML::Grove)[)]'"
7b2e498
%define __perl_provides %{provfilt}
7b2e498
cvsdist 15c8029
%prep
jvdias 60dd471
%setup -q -n XML-Grove-%{version}
4e472ad
%patch1 -p1 -b .test
cvsdist 15c8029
cvsdist 15c8029
%build
jvdias 60dd471
%{__perl} Makefile.PL INSTALLDIRS=vendor
jvdias 60dd471
make %{?_smp_mflags}
cvsdist 15c8029
cvsdist 15c8029
cvsdist 15c8029
%install
cvsdist 15c8029
rm -rf $RPM_BUILD_ROOT
jvdias 60dd471
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
jvdias 60dd471
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
7b2e498
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
jvdias 60dd471
chmod -R u+w $RPM_BUILD_ROOT/*
jvdias 60dd471
cvsdist 15c8029
jvdias 60dd471
%check
82b094a
make test
cvsdist 1dea87a
cvsdist 1eb6096
jvdias 60dd471
%clean
jvdias 60dd471
rm -rf $RPM_BUILD_ROOT
jvdias 60dd471
jvdias 60dd471
jvdias 60dd471
%files
jvdias 60dd471
%defattr(-,root,root,-)
c471cbb
%doc ChangeLog Changes COPYING DOM README examples/
7127fd5
%doc %{perl_vendorlib}/XML/DOM-ecmascript.pod
7127fd5
%{perl_vendorlib}/XML/Grove*
jvdias 60dd471
%{_mandir}/man3/*.3*
jvdias 60dd471
cvsdist 15c8029
cvsdist 15c8029
%changelog
edbc3b9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46alpha-46
edbc3b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
edbc3b9
Petr Sabata 77c96ba
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.46alpha-45
Petr Sabata 77c96ba
- Perl mass rebuild
Petr Sabata 77c96ba
7e02327
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.46alpha-44
7e02327
- Perl mass rebuild
7e02327
67afe96
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46alpha-43
67afe96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
67afe96
92e1e54
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.46alpha-42
92e1e54
- 661697 rebuild for fixing problems with vendorach/lib
92e1e54
c8f4398
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.46alpha-41
c8f4398
- Mass rebuild with perl-5.12.0
c8f4398
420ec38
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.46alpha-40
420ec38
- rebuild against perl 5.10.1
420ec38
01a52d6
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46alpha-39
01a52d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
01a52d6
d3ec713
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46alpha-38
d3ec713
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d3ec713
c471cbb
* Fri Oct 17 2008 Stepan Kasal <skasal@redhat.com> - 0.46alpha-37
c471cbb
- avoid packing DOM-ecmascript.pod twice
c471cbb
7127fd5
* Thu Oct 16 2008 Stepan Kasal <skasal@redhat.com> - 0.46alpha-36
7127fd5
- flag DOM-ecmascript.pod as doc
7127fd5
82b094a
* Tue Oct 14 2008 Stepan Kasal <skasal@redhat.com> - 0.46alpha-35
82b094a
- re-enable check, it seems to work
7b2e498
- improved the explanation of the non-standard Version tag (Patrice Dumas)
7b2e498
- filter out bogus and redundant reuires (Paul Howarth)
7b2e498
- move -depth to the right place on find cmd line (Paul Howarth)
82b094a
877ed74
* Tue Oct 14 2008 Stepan Kasal <skasal@redhat.com> - 0.46alpha-34
5a74193
- cleaned up universe vs. tab conflict
5a74193
- added an explanation why the Version tag does not conform to the rules
877ed74
- fixed the source tarball (bz2->gz), to match the upstream exactly
877ed74
- improved BuildRoot tag
5a74193
4e472ad
* Tue Jul 22 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.46alpha-33
4e472ad
- use utf8 in test -> all are passing
4e472ad
7c2959a
* Sun Jul 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.46alpha-32
7c2959a
- fix license tag with upstream confirmation
7c2959a
  see: http://perl-xml.cvs.sourceforge.net/perl-xml/XML-Grove/COPYING?revision=1.2&view=markup
7c2959a
1b64e78
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.46alpha-31
1b64e78
- rebuild for new perl
1b64e78
3b318de
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.46alpha-30
3b318de
- add BR: perl(ExtUtils::MakeMaker)
3b318de
b179fbe
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
b179fbe
- rebuild
b179fbe
jvdias 5225bc9
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.46alpha-29.1
jvdias 5225bc9
- rebuild for new perl-5.8.8
jvdias 5225bc9
jvdias 60dd471
* Fri Jan  6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.46alpha-29
jvdias 60dd471
- Rewrite specfile using fedora-rpmdevtools' spec template, fixes #176889.
jvdias 60dd471
- Fix License, include docs.
jvdias 60dd471
3c1e756
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
0a62fa8
- rebuilt for new gcc
0a62fa8
0a62fa8
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
3c1e756
- rebuilt for new gcj
3c1e756
427218e
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
427218e
- remove brp-compress
427218e
cturner 11b098d
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.46alpha-26
cturner 11b098d
- rebuild
cturner 11b098d
cvsdist 7be3d73
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 0.46alpha-26
cvsdist 7be3d73
- bump
cvsdist 7be3d73
cvsdist e2de557
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
cvsdist e2de557
- automated release bump and build
cvsdist e2de557
cvsdist 1eb6096
* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
cvsdist 1eb6096
- properly claim directories owned by package so they are removed when package is removed
cvsdist 1eb6096
cvsdist d937a6e
* Sat Jan 26 2002 Jeff Johnson <jbj@redhat.com>
cvsdist d937a6e
- add internal provides.
cvsdist d937a6e
cvsdist d937a6e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist d937a6e
- automated rebuild
cvsdist d937a6e
cvsdist 15c8029
* Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.46alpha-2
cvsdist 15c8029
- imported from mandrake
cvsdist 15c8029
cvsdist 15c8029
* Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.46alpha-1mdk
cvsdist 15c8029
- Newly introduced for Foomatic.