commit b2ff3a1950b40ab7cd3af5a7ad3e08a3ebe14c47 Author: Colin B. Macdonald <macdonald@xxxxxxxxxxxxxx> Date: Mon Nov 24 16:53:37 2014 +0000 Initial import (#1165627). .gitignore | 1 + perl-XML-LibXML-Simple.spec | 69 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..e933d6b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/XML-LibXML-Simple-0.94.tar.gz diff --git a/perl-XML-LibXML-Simple.spec b/perl-XML-LibXML-Simple.spec new file mode 100644 index 0000000..949686f --- /dev/null +++ b/perl-XML-LibXML-Simple.spec @@ -0,0 +1,69 @@ +Name: perl-XML-LibXML-Simple +Version: 0.94 +Release: 3%{?dist} +Summary: Read XML strings or files +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/XML-LibXML-Simple/ +Source0: http://www.cpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::File) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: perl(File::Slurp::Tiny) +BuildRequires: perl(Test::More) >= 0.54 +BuildRequires: perl(XML::LibXML) >= 1.64 +BuildRequires: perl(Test::More) >= 0.54 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(XML::LibXML) >= 1.64 + +# drop unversioned Requires on XML::LibXML +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(XML::LibXML\\)$ + +%description +This Perl module reads XML from strings or files. It is a blunt rewrite +of XML::Simple (by Grant McLean) to use the XML::LibXML parser for XML +structures, where the original uses plain Perl or SAX parsers. + +%prep +%setup -q -n XML-LibXML-Simple-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Nov 19 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.94-3 +- clean-up following further review. + +* Wed Nov 19 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.94-2 +- clean-up following review, better summary/description. + +* Thu Jun 26 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.94-1 +- Specfile autogenerated by cpanspec 1.78. + +* Wed Aug 22 2012 Mary Ellen Foster <mefoster@xxxxxxxxx> 0.91-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..a98ff44 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5be6726d9972be9f55bd646a464988d6 XML-LibXML-Simple-0.94.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel