commit e3d63f46cd550016700456e8f4914c1979126beb Author: Colin B. Macdonald <macdonald@xxxxxxxxxxxxxx> Date: Mon Nov 24 16:51:13 2014 +0000 Initial import (#1165625). .gitignore | 1 + perl-XML-Writer-String.spec | 56 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..12b92e1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/XML-Writer-String-0.1.tar.gz diff --git a/perl-XML-Writer-String.spec b/perl-XML-Writer-String.spec new file mode 100644 index 0000000..a0564a1 --- /dev/null +++ b/perl-XML-Writer-String.spec @@ -0,0 +1,56 @@ +Name: perl-XML-Writer-String +Version: 0.1 +Release: 5%{?dist} +Summary: Capture output from XML::Writer module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/XML-Writer-String/ +Source0: http://www.cpan.org/authors/id/S/SO/SOLIVER/XML-Writer-String-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(Test) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(XML::Writer) + +%description +This Perl module implements a bare-bones class specifically for the purpose +of capturing data from the XML::Writer module. XML::Writer expects an +IO::Handle object and writes XML data to the specified object (or STDOUT) +via its print() method. This module simulates such an object for the +specific purpose of providing the required print() method. + +%prep +%setup -q -n XML-Writer-String-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} +sed -i 's/\r$//' String.pm README Changes example/* + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README example +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Nov 19 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.1-5 +- minor edits from review. + +* Wed Nov 19 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.1-4 +- clean-up following review, added dep on XML::Writer. + +* Tue Nov 18 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.1-3 +- rev bump to force copr rebuild on Fedora 21. + +* Wed Aug 22 2012 Mary Ellen Foster <mefoster@xxxxxxxxx> 0.1-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..bb19861 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +528b3ac5ec9d161fd28ff2ddfe65d3b9 XML-Writer-String-0.1.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