diff --git a/.perl-XML-LibXML.metadata b/.perl-XML-LibXML.metadata new file mode 100644 index 0000000..be53dae --- /dev/null +++ b/.perl-XML-LibXML.metadata @@ -0,0 +1 @@ +3155bd8314b3284558622a8464e686653533fe76 SOURCES/XML-LibXML-2.0018.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-XML-LibXML.spec b/SPECS/perl-XML-LibXML.spec new file mode 100644 index 0000000..094e655 --- /dev/null +++ b/SPECS/perl-XML-LibXML.spec @@ -0,0 +1,331 @@ +Name: perl-XML-LibXML +# NOTE: also update perl-XML-LibXSLT to a compatible version, see +# https://bugzilla.redhat.com/show_bug.cgi?id=469480 +# it might not be needed anymore +# this module is maintained, the other is not +Version: 2.0018 +Release: 3%{?dist} +Epoch: 1 +Summary: Perl interface to the libxml2 library +Group: Development/Libraries +License: (GPL+ or Artistic) and MIT +URL: http://search.cpan.org/dist/XML-LibXML/ +Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-%{version}.tar.gz +BuildRequires: libxml2-devel +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(Devel::CheckLib) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(XML::NamespaceSupport) +BuildRequires: perl(XML::SAX::Base) +BuildRequires: perl(XML::SAX::DocumentLocator) +BuildRequires: perl(XML::SAX::Exception) +# Tests +BuildRequires: perl(Errno) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +BuildRequires: perl(XML::SAX) +# Optional tests +# Optional Test::Differences has a fall-back +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(threads) +BuildRequires: perl(threads::shared) +BuildRequires: perl(URI::file) +BuildRequires: perl(utf8) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +# threads and threads::shared are optional +Provides: perl-XML-LibXML-Common = %{version} +Obsoletes: perl-XML-LibXML-Common <= 0.13 + +%{?perl_default_filter} + +%description +This module implements a Perl interface to the GNOME libxml2 library +which provides interfaces for parsing and manipulating XML files. This +module allows Perl programmers to make use of the highly capable +validating XML parser and the high performance DOM implementation. + +%prep +%setup -q -n XML-LibXML-%{version} +chmod -x *.c +for i in Changes; do + /usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i +done +# Remove bundled modules +rm -r inc/* +sed -i -e '/^inc\// d' MANIFEST + +%build +perl Makefile.PL SKIP_SAX_INSTALL=1 INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +chmod -R u+w %{buildroot}/* + +%check +THREAD_TEST=1 make test + +%triggerin -- perl-XML-SAX +for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do + perl -MXML::SAX -e "XML::SAX->add_parser(q($p))->save_parsers()" \ + 2>/dev/null || : +done + +%preun +if [ $1 -eq 0 ] ; then + for p in XML::LibXML::SAX::Parser XML::LibXML::SAX ; do + perl -MXML::SAX -e "XML::SAX->remove_parser(q($p))->save_parsers()" \ + 2>/dev/null || : + done +fi + +%files +%doc Changes HACKING.txt LICENSE README TODO +%{perl_vendorarch}/auto/XML +%{perl_vendorarch}/XML +%{_mandir}/man3/*.3* + +%changelog +* Wed Jul 03 2013 Petr Pisar - 1:2.0018-3 +- Correct changelog entry + +* Wed Jul 03 2013 Jitka Plesnikova - 1:2.0018-2 +- Specify all dependencies + +* Tue May 14 2013 Petr Šabata - 1:2.0018-1 +- 2.0018 bump; revert the library version requirements + +* Mon May 13 2013 Jitka Plesnikova - 1:2.0017-1 +- 2.0017 bump + +* Mon Apr 15 2013 Petr Pisar - 1:2.0016-1 +- 2.0016 bump (disable XML_PARSE_HUGE by default to prevent from + CVE-2003-1564, a recursive XML entity expansion leads to memory exhaustion + in a XML parser) + +* Thu Feb 14 2013 Fedora Release Engineering - 1:2.0014-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Dec 05 2012 Jitka Plesnikova - 1:2.0014-1 +- 2.0014 bump + +* Mon Nov 12 2012 Petr Pisar - 1:2.0012-1 +- 2.0012 bump + +* Thu Nov 8 2012 Marcela Mašláňová - 1:2.0010-2 +- fix license field, under MIT is one example + +* Mon Nov 05 2012 Petr Šabata - 1:2.0010-1 +- 2.0010 bumpity + +* Tue Oct 23 2012 Petr Šabata - 1:2.0008-1 +- 2.0008 bump + +* Thu Oct 18 2012 Petr Šabata - 1:2.0007-1 +- 2.0007 bump + +* Mon Oct 15 2012 Jitka Plesnikova - 1:2.0006-1 +- 2.0006 bump +- Remove bundled library and add BR perl(Devel::CheckLib). + +* Mon Aug 27 2012 Jitka Plesnikova - 1:2.0004-2 +- Rebuild for the latest libxml2. + +* Thu Aug 09 2012 Petr Šabata - 1:2.0004-1 +- 2.0004 bump + +* Fri Aug 03 2012 Petr Pisar - 1:2.0003-2 +- Re-enable 12html test as the bug has been fixed (bug #769537) + +* Mon Jul 30 2012 Petr Šabata - 1:2.0003-1 +- 2.0003 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 1:2.0002-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 11 2012 Petr Pisar - 1:2.0002-2 +- Perl 5.16 rebuild + +* Tue Jul 10 2012 Jitka Plesnikova - 1:2.0002-1 +- 2.0002 bump + +* Thu Jun 28 2012 Petr Pisar - 1:2.0001-2 +- Perl 5.16 rebuild + +* Thu Jun 21 2012 Petr Šabata - 1:2.0001-1 +- 2.0001 bump + +* Tue Jun 12 2012 Petr Pisar - 1:1.99-2 +- Perl 5.16 rebuild + +* Mon Jun 04 2012 Petr Šabata - 1:1.99-1 +- 1.99 bump, test updates + +* Mon May 28 2012 Jitka Plesnikova - 1:1.98-1 +- 1.98 bump + +* Wed May 02 2012 Petr Šabata - 1:1.97-1 +- 1.97 bump + +* Mon Mar 19 2012 Marcela Mašláňová - 1:1.96-1 +- 1.96 bump + +* Wed Mar 14 2012 Petr Šabata - 1:1.95-1 +- 1.95 bump, tests bugfixes + +* Mon Feb 27 2012 Petr Šabata - 1:1.93-1 +- 1.93 bumpity, minor bugfix + +* Thu Feb 23 2012 Petr Pisar - 1:1.92-1 +- 1.92 bump +- Declare all dependencies +- Enable thread tests + +* Tue Jan 10 2012 Marcela Mašláňová - 1:1.90-1 +- update to 1.90 + +* Wed Dec 21 2011 Dan Horák - 1:1.88-3 +- use better workaround until rhbz#769537 is resolved + +* Tue Dec 20 2011 Karsten Hopp - 1:1.88-2 +- disable tests on ppc as most ppc buildmachines have only 2Gb + and the tests run out of memory + +* Sun Oct 2 2011 Tom Callaway - 1:1.88-1 +- update to 1.88 + +* Wed Jul 20 2011 Petr Sabata - 1:1.74-2 +- Perl mass rebuild + +* Fri Jun 24 2011 Marcela Mašláňová - 1:1.74-1 +- update to 1.74 + +* Wed Feb 09 2011 Fedora Release Engineering - 1:1.70-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Nov 5 2010 Paul Howarth - 1:1.70-6 +- Rebuild for libxml2 2.7.8 in Rawhide +- Move recoding of documentation from %%install to %%prep +- Use %%{?perl_default_filter} +- Use standard %%install idiom + +* Fri May 07 2010 Marcela Maslanova - 1:1.70-5 +- Mass rebuild with perl-5.12.0 + +* Fri Jan 8 2010 Marcela Mašláňová - 1:1.70-4 +- remove BR XML::LibXML::Common + +* Mon Nov 30 2009 Marcela Mašláňová - 1:1.70-3 +- corrected version of obsoletes + +* Thu Nov 26 2009 Marcela Mašláňová - 1:1.70-2 +- 541605 this package now contains XML::LibXML::Common + +* Fri Nov 20 2009 Marcela Mašláňová - 1:1.70-1 +- update to fix 539102 + +* Sun Jul 26 2009 Fedora Release Engineering - 1:1.69-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1:1.69-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Dec 11 2008 Marcela Mašláňová - 1:1.69-1 +- update to 1.69 + +* Fri Aug 01 2008 Lubomir Rintel - 1:1.66-2 +- Supress warning about nonexistent file in perl-XML-SAX install trigger + +* Mon Jun 23 2008 Marcela Maslanova - 1:1.66-1 +- upgrade to 1.66 + +* Wed Feb 27 2008 Tom "spot" Callaway - 1:1.65-5 +- Rebuild for perl 5.10 (again) + +* Mon Feb 11 2008 Robin Norwood - 1:1.65-4 +- Build for new perl + +* Mon Feb 11 2008 Robin Norwood - 1:1.65-3 +- Resolves: bz#432442 +- Use epoch to permit upgrade from 1.62001 -> 1.65 + +* Mon Jan 28 2008 Tom "spot" Callaway - 1.65-2 +- disable hacks, build normally + +* Thu Jan 24 2008 Tom "spot" Callaway - 1.65-1.1 +- rebuild for new perl, first pass, temporarily disable BR: XML::Sax, tests + +* Wed Oct 24 2007 Robin Norwood - 1.65-1 +- Update to latest CPAN release: 1.65 +- patch0 no longer needed +- various spec file cleanups + +* Wed Oct 17 2007 Tom "spot" Callaway - 1.62001-2.3 +- fix stupid test + +* Wed Oct 17 2007 Tom "spot" Callaway - 1.62001-2.2 +- add BR: perl(Test::More) + +* Wed Oct 17 2007 Tom "spot" Callaway - 1.62001-2.1 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + +* Thu Dec 07 2006 Robin Norwood - 1.62001-2 +- Rebuild + +* Sat Dec 02 2006 Robin Norwood - 1.62001 +- Build latest version from CPAN: 1.62001 + +* Wed Jul 12 2006 Jesse Keating - 1.58-2.2.2.1 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 1.58-2.2.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.58-2.2.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Feb 03 2006 Jason Vas Dias - 1.58-2.2 +- rebuild for new perl-5.8.8 + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcc + +* Fri Dec 16 2005 Jesse Keating +- rebuilt for new gcj + +* Sat Mar 19 2005 Joe Orton 1.58-2 +- rebuild + +* Sun Apr 18 2004 Ville Skyttä - 1.58-1 +- #121168 +- Update to 1.58. +- Require perl(:MODULE_COMPAT_*). +- Handle ParserDetails.ini parser registration. +- BuildRequires libxml2-devel. +- Own installed directories. + +* Fri Feb 27 2004 Chip Turner - 1.56-1 +- Specfile autogenerated.