From c6030bfa050a61f39b549c0d7f24afc60ad7e18b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 03:34:26 +0300 Subject: [PATCH] import perl-XML-Writer-0.900-5.el9 --- .gitignore | 1 + .perl-XML-Writer.metadata | 1 + SOURCES/perl-XML-Writer.rpmlintrc | 2 + SPECS/perl-XML-Writer.spec | 235 ++++++++++++++++++++++++++++++ 4 files changed, 239 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-XML-Writer.metadata create mode 100644 SOURCES/perl-XML-Writer.rpmlintrc create mode 100644 SPECS/perl-XML-Writer.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c1f9de --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/XML-Writer-0.900.tar.gz diff --git a/.perl-XML-Writer.metadata b/.perl-XML-Writer.metadata new file mode 100644 index 0000000..0375b4e --- /dev/null +++ b/.perl-XML-Writer.metadata @@ -0,0 +1 @@ +19af1d84dee77ef6419172b6f6148ea11ab4662c SOURCES/XML-Writer-0.900.tar.gz diff --git a/SOURCES/perl-XML-Writer.rpmlintrc b/SOURCES/perl-XML-Writer.rpmlintrc new file mode 100644 index 0000000..1e3d429 --- /dev/null +++ b/SOURCES/perl-XML-Writer.rpmlintrc @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* formedness"); diff --git a/SPECS/perl-XML-Writer.spec b/SPECS/perl-XML-Writer.spec new file mode 100644 index 0000000..b87c16a --- /dev/null +++ b/SPECS/perl-XML-Writer.spec @@ -0,0 +1,235 @@ +Name: perl-XML-Writer +Version: 0.900 +Release: 5%{?dist} +Summary: A simple Perl 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: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(overload) +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(Algorithm::Diff) +BuildRequires: perl(Encode) +BuildRequires: perl(Errno) +BuildRequires: perl(IO::File) +BuildRequires: perl(Test::More) >= 0.047 +BuildRequires: perl(warnings) +# Optional tests: +BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) +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. + +%prep +%setup -q -n XML-Writer-%{version} +find examples -type f -exec chmod -x {} + + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -a \( -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +%check +make test + +%files +%doc Changes examples README TODO +%license LICENSE +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.900-5 +- Rebuilt for MSVSphere 9.3 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.900-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 0.900-4 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.900-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Oct 12 2020 Xavier Bachelot - 0.900-2 +- Use %%license + +* Mon Oct 12 2020 Xavier Bachelot - 0.900-1 +- Update to 0.900 + +* Tue Jul 28 2020 Fedora Release Engineering - 0.625-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.625-17 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.625-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.625-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.625-14 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.625-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.625-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.625-11 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.625-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.625-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.625-8 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.625-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.625-6 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.625-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.625-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 0.625-3 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 0.625-2 +- Perl 5.20 rebuild + +* Mon Jun 09 2014 Petr Pisar - 0.625-1 +- 0.625 bump + +* Sat Jun 07 2014 Fedora Release Engineering - 0.624-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Feb 13 2014 Petr Pisar - 0.624-1 +- 0.624 bump + +* Sun Aug 04 2013 Fedora Release Engineering - 0.623-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 0.623-3 +- Perl 5.18 rebuild + +* Wed Jul 03 2013 Jitka Plesnikova - 0.623-2 +- Change license to CC0 + +* Fri Jun 14 2013 Petr Pisar - 0.623-1 +- 0.623 bump + +* Mon Apr 15 2013 Petr Šabata - 0.621-1 +- 0.621 bump +- Lots of bugfixes +- Packaging examples +- Fixing build-time deps and removing unneeded lines +- Fixing changelog issues + +* Thu Feb 14 2013 Fedora Release Engineering - 0.612-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Aug 17 2012 Jitka Plesnikova - 0.612-5 +- Specify all dependencies. + +* Fri Jul 20 2012 Fedora Release Engineering - 0.612-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.612-3 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.612-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 2 2011 Tom Callaway - 0.612-1 +- update to 0.612 + +* Mon Jun 20 2011 Marcela Mašláňová - 0.606-9 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.606-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 0.606-7 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 0.606-6 +- Mass rebuild with perl-5.12.0 + +* Thu Feb 25 2010 Marcela Mašláňová - 0.606-6 +- make rpmlint happy + +* Mon Dec 7 2009 Stepan Kasal - 0.606-4 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.606-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.606-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 2 2009 Alex Lancaster - 0.606-1 +- Update to upstream 0.606 +- Clarify license is MIT + +* Tue Mar 18 2008 Alex Lancaster - 0.604-1 +- New upstream release (0.604) + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.603-4 +- Rebuild for perl 5.10 (again) + +* Sun Jan 20 2008 Tom "spot" Callaway 0.603-3 +- rebuild for new perl + +* Thu Aug 23 2007 Alex Lancaster 0.603-2 +- License tag to "GPL+ or Artistic" as per new guidelines. + +* Sat Aug 18 2007 Alex Lancaster 0.603-1 +- Update to latest upstream + +* Mon Mar 26 2007 Alex Lancaster 0.602-3 +- Fixed %%check + +* Fri Mar 23 2007 Alex Lancaster 0.602-2 +- Update BR as per suggestions from review by Ralf Corsepius + +* Fri Mar 23 2007 Alex Lancaster 0.602-1 +- Update to 0.602 + +* Wed Apr 06 2005 Hunter Matthews 0.531-1 +- Review suggestions from José Pedro Oliveira + +* Tue Mar 22 2005 Hunter Matthews 0.531-1 +- Initial build.