import perl-XML-Spice-0.05-5.el8

This commit is contained in:
CentOS Sources 2019-05-07 09:56:32 -04:00 committed by Andrew Lukoshko
commit 9845ee7199
3 changed files with 73 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/XML-Spice-0.05.tar.gz

1
.perl-XML-Spice.metadata Normal file
View File

@ -0,0 +1 @@
2a5504d33827e76535053563748d6fa07733ef47 SOURCES/XML-Spice-0.05.tar.gz

71
SPECS/perl-XML-Spice.spec Normal file
View File

@ -0,0 +1,71 @@
Name: perl-XML-Spice
Version: 0.05
Release: 5%{?dist}
Summary: Generating XML in Perl way
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-Spice/
Source0: http://www.cpan.org/authors/id/R/RO/ROBN/XML-Spice-%{version}.tar.gz
BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(:VERSION) >= 5.8.0
# CPAN::Meta::Requirements 2.120620 not used
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(:VERSION) >= 5.8.0
BuildRequires: perl(Carp)
BuildRequires: perl(overload)
# Optional run-time:
# XML::Tidy::Tiny not used at tests
# Tests:
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::XML)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Suggests: perl(XML::Tidy::Tiny)
%description
XML::Spice is yet another XML generation Perl module. It tries to take some of
the pain out of generating XML by making it more like Perl.
%prep
%setup -q -n XML-Spice-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor </dev/null
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Nov 11 2016 Petr Pisar <ppisar@redhat.com> 0.05-1
- Specfile autogenerated by cpanspec 1.78.