perl-XML-Writer/perl-XML-Writer.spec

64 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:13:41 -04:00
Name: perl-XML-Writer
Version: 0.625
2019-11-06 19:47:18 +08:00
Release: 14
2019-09-30 11:13:41 -04:00
Summary: Module for writing XML documents
License: CC0
URL: https://metacpan.org/release/XML-Writer
Source0: https://cpan.metacpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gcc perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) perl(Carp) perl(IO::Handle) perl(overload) perl(vars)
BuildRequires: perl(Algorithm::Diff) perl(Encode) perl(IO::File) perl(Errno)
2019-11-06 19:47:18 +08:00
BuildRequires: perl(warnings) perl(Test::More) >= 0.047 perl(Test::Pod) >= 1.00
2019-09-30 11:13:41 -04:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
XML::Writer is a simple Perl module for writing XML documents: it
takes care of constructing markup and escaping data correctly, and by
default, it also performs a significant amount of well-formedness
checking on the output, to make certain (for example) that start and
end tags match, that there is exactly one document element, and that
there are not duplicate attribute names.
%package_help
%prep
%autosetup -n XML-Writer-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
%check
make test
%pre
%preun
%post
%postun
%files
%doc Changes examples LICENSE README TODO
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*.3*
%changelog
2019-11-06 19:47:18 +08:00
* Mon Oct 28 2019 shenyangyang <shenyangyang4@huawei.com> - 0.625-14
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete unneeded build requires of perl(IO::Scalar) and perl(Test::Pod::Coverage)
2019-09-30 11:13:41 -04:00
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.625-13
- Package init