You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.3 KiB
75 lines
2.3 KiB
3 months ago
|
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
|
||
|
* Wed Aug 14 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.05-5
|
||
|
- Rebuilt for MSVSphere 8.10
|
||
|
|
||
|
* 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.
|