Blame SPECS/perl-XML-Grove.spec

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