67 lines
1.8 KiB
RPMSpec
67 lines
1.8 KiB
RPMSpec
Name: perl-XML-Writer
|
|
Version: 0.900
|
|
Release: 1
|
|
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)
|
|
BuildRequires: perl(warnings) perl(Test::More) >= 0.047 perl(Test::Pod) >= 1.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
|
|
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 0.900-1
|
|
- upgrade version to 0.900
|
|
|
|
* 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)
|
|
|
|
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.625-13
|
|
- Package init
|