From b2bbeecbc657f1d094ce65d0df8d823c48003638 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 01 2019 07:45:21 +0000 Subject: import perl-XML-Grove-0.46alpha-52.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d253aa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/XML-Grove-0.46alpha.tar.gz diff --git a/.perl-XML-Grove.metadata b/.perl-XML-Grove.metadata new file mode 100644 index 0000000..84ef9a4 --- /dev/null +++ b/.perl-XML-Grove.metadata @@ -0,0 +1 @@ +f1ef0cffe51933e2262e719e42b34abc8c43dd8e SOURCES/XML-Grove-0.46alpha.tar.gz diff --git a/SOURCES/perl-XML-Grove-fix-COPYING.patch b/SOURCES/perl-XML-Grove-fix-COPYING.patch new file mode 100644 index 0000000..8311324 --- /dev/null +++ b/SOURCES/perl-XML-Grove-fix-COPYING.patch @@ -0,0 +1,41 @@ +Fix COPYING based on upstream +see: +http://perl-xml.cvs.sourceforge.net/perl-xml/XML-Grove/COPYING?revision=1.2&view=markup + +diff -up XML-Grove-0.46alpha/COPYING.orig XML-Grove-0.46alpha/COPYING +--- XML-Grove-0.46alpha/COPYING.orig 1998-04-02 21:30:20.000000000 +0200 ++++ XML-Grove-0.46alpha/COPYING 2012-11-22 14:11:18.393645467 +0100 +@@ -1,22 +1,3 @@ + Copyright (C) 1998 Ken MacLeod. All rights reserved. +- +-XML-Grove is free software; you can redistribute it and/or modify it +-under the terms of the Artistic License distributed with Perl version +-5.000 or (at your option) any later version. Please refer to the +-Artistic License that came with your Perl distribution for more +-details. +- +-The Artistic License should have been included in your distribution of +-Perl. It resides in the file named "Artistic" at the top-level of the +-Perl source tree (where Perl was downloaded/unpacked -- ask your +-system administrator if you dont know where this is). Alternatively, +-the current version of the Artistic License distributed with Perl can +-be viewed on-line on the World-Wide Web (WWW) from the following URL: +- +- http://www.perl.com/perl/misc/Artistic.html +- +-The latest version of Perl can be obtained on the World-Wide web (WWW) +-from the following URL: +- +- http://www.perl.com/CPAN/src/latest.tar.gz +- ++This program is free software; you can redistribute it and/or ++modify it under the same terms as Perl itself. +diff -U0 XML-Grove-0.46alpha/ChangeLog.orig XML-Grove-0.46alpha/ChangeLog +--- XML-Grove-0.46alpha/ChangeLog.orig 1999-09-03 23:41:00.000000000 +0200 ++++ XML-Grove-0.46alpha/ChangeLog 2012-11-22 14:11:18.394645472 +0100 +@@ -0,0 +1,5 @@ ++2008-07-20 Ken MacLeod ++ ++ * COPYING: Use same license statement as used in individual ++ modules (same terms as perl). ++ diff --git a/SOURCES/perl-XML-Grove-test.patch b/SOURCES/perl-XML-Grove-test.patch new file mode 100644 index 0000000..3b7c1b8 --- /dev/null +++ b/SOURCES/perl-XML-Grove-test.patch @@ -0,0 +1,11 @@ +diff -up XML-Grove-0.46alpha/t/grove.t.old XML-Grove-0.46alpha/t/grove.t +--- XML-Grove-0.46alpha/t/grove.t.old 2008-07-22 14:47:27.000000000 +0200 ++++ XML-Grove-0.46alpha/t/grove.t 2008-07-22 14:46:42.000000000 +0200 +@@ -13,6 +13,7 @@ use XML::Parser::PerlSAX; + use XML::Grove::Builder; + use XML::Grove::AsString; + use XML::Grove::AsCanonXML; ++use utf8; + + $loaded = 1; + print "ok 1\n"; diff --git a/SPECS/perl-XML-Grove.spec b/SPECS/perl-XML-Grove.spec new file mode 100644 index 0000000..1ba27f0 --- /dev/null +++ b/SPECS/perl-XML-Grove.spec @@ -0,0 +1,198 @@ +Name: perl-XML-Grove +# The version is against the guidelines. However adherence to the +# guideline would imply using an epoch, which is very inconvenient. +# Given that this package's development is stalled since Sep 1999, and +# hoping that upstream skip one version to go straight to 0.47, it seems +# better not to use an epoch. If 0.46 is ever released, the epoch way +# would have to be used, but we are better avoiding that if possible. +Version: 0.46alpha +Release: 52%{?dist} +Summary: Simple access to infoset of parsed XML, HTML, or SGML instances + +Group: Development/Libraries + +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/XML-Grove/ +Source0: http://www.cpan.org/authors/id/K/KM/KMACLEOD/XML-Grove-%{version}.tar.gz +Patch1: perl-XML-Grove-test.patch +# Patch is based on upstream changes +# see http://perl-xml.cvs.sourceforge.net/perl-xml/XML-Grove/COPYING?revision=1.2&view=markup +Patch2: perl-XML-Grove-fix-COPYING.patch + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Data::Grove) +BuildRequires: perl(Data::Grove::Visitor) +# Tests +BuildRequires: perl(XML::Parser::PerlSAX) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +XML::Grove is a tree-based object model for accessing the information +set of parsed or stored XML, HTML, or SGML instances. XML::Grove +objects are Perl hashes and arrays where you access the properties of +the objects using normal Perl syntax. + + +# Remove bogus and redundant provides +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(My(HTML|Visitor)\\)|^perl\\(XML::Grove\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Parser::PerlSAX\\)$ + +%prep +%setup -q -n XML-Grove-%{version} +%patch1 -p1 -b .test +%patch2 -p1 + +%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 -depth -type d -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 ChangeLog Changes COPYING DOM README examples/ +%doc %{perl_vendorlib}/XML/DOM-ecmascript.pod +%{perl_vendorlib}/XML/Grove* +%{_mandir}/man3/*.3* + + +%changelog +* Fri Dec 27 2013 Daniel Mach - 0.46alpha-52 +- Mass rebuild 2013-12-27 + +* Fri Nov 23 2012 Petr Pisar - 0.46alpha-51 +- Provide versioned perl(XML::Grove) + +* Thu Nov 22 2012 Jitka Plesnikova - 0.46alpha-50 +- Update filters for provides/requires +- Patch COPYING due to upstream changes + +* Mon Aug 27 2012 Jitka Plesnikova - 0.46alpha-49 +- Specify all dependencies. + +* Fri Jul 20 2012 Fedora Release Engineering - 0.46alpha-48 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 0.46alpha-47 +- Perl 5.16 rebuild +- Depend on modules instead on perl-libxml-perl package + +* Fri Jan 13 2012 Fedora Release Engineering - 0.46alpha-46 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 21 2011 Petr Sabata - 0.46alpha-45 +- Perl mass rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 0.46alpha-44 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.46alpha-43 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 0.46alpha-42 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 0.46alpha-41 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.46alpha-40 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.46alpha-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.46alpha-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Oct 17 2008 Stepan Kasal - 0.46alpha-37 +- avoid packing DOM-ecmascript.pod twice + +* Thu Oct 16 2008 Stepan Kasal - 0.46alpha-36 +- flag DOM-ecmascript.pod as doc + +* Tue Oct 14 2008 Stepan Kasal - 0.46alpha-35 +- re-enable check, it seems to work +- improved the explanation of the non-standard Version tag (Patrice Dumas) +- filter out bogus and redundant reuires (Paul Howarth) +- move -depth to the right place on find cmd line (Paul Howarth) + +* Tue Oct 14 2008 Stepan Kasal - 0.46alpha-34 +- cleaned up universe vs. tab conflict +- added an explanation why the Version tag does not conform to the rules +- fixed the source tarball (bz2->gz), to match the upstream exactly +- improved BuildRoot tag + +* Tue Jul 22 2008 Marcela Maslanova - 0.46alpha-33 +- use utf8 in test -> all are passing + +* Sun Jul 20 2008 Tom "spot" Callaway - 0.46alpha-32 +- fix license tag with upstream confirmation + see: http://perl-xml.cvs.sourceforge.net/perl-xml/XML-Grove/COPYING?revision=1.2&view=markup + +* Wed Mar 5 2008 Tom "spot" Callaway - 0.46alpha-31 +- rebuild for new perl + +* Wed Oct 17 2007 Tom "spot" Callaway - 0.46alpha-30 +- add BR: perl(ExtUtils::MakeMaker) + +* Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control +- rebuild + +* Fri Feb 03 2006 Jason Vas Dias - 0.46alpha-29.1 +- rebuild for new perl-5.8.8 + +* Fri Jan 6 2006 Ville Skyttä - 0.46alpha-29 +- Rewrite specfile using fedora-rpmdevtools' spec template, fixes #176889. +- Fix License, include docs. + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcc + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcj + +* Wed Mar 30 2005 Warren Togami +- remove brp-compress + +* Wed Sep 22 2004 Chip Turner 0.46alpha-26 +- rebuild + +* Fri Apr 23 2004 Chip Turner 0.46alpha-26 +- bump + +* Tue Aug 6 2002 Chip Turner +- automated release bump and build + +* Tue Jun 4 2002 Chip Turner +- properly claim directories owned by package so they are removed when package is removed + +* Sat Jan 26 2002 Jeff Johnson +- add internal provides. + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Mon Jul 23 2001 Crutcher Dunnavant 0.46alpha-2 +- imported from mandrake + +* Mon Jun 18 2001 Till Kamppeter 0.46alpha-1mdk +- Newly introduced for Foomatic.