2024-01-06 09:27:32 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
%define with_MinimumVersion 0
|
|
|
|
Name: perl-PPI
|
2024-01-06 09:27:32 +01:00
|
|
|
Version: 1.277
|
2024-01-06 09:27:32 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: PPI - Parse, Analyze and Manipulate Perl (without perl)
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 09:27:32 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/PPI/PPI-%{version}.tar.gz
|
2024-01-06 09:27:32 +01:00
|
|
|
License: GPL, Artistic
|
2024-01-06 09:27:32 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-Clone
|
|
|
|
BuildRequires: perl-Params-Util
|
2024-01-06 09:27:32 +01:00
|
|
|
BuildRequires: perl-Scalar-List-Utils
|
2024-01-06 09:27:32 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:27:32 +01:00
|
|
|
BuildRequires: perl(Clone)
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(File::Find::Rule)
|
|
|
|
BuildRequires: perl(File::Remove)
|
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(Params::Util)
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Task::Weaken)
|
|
|
|
BuildRequires: perl(Test::ClassAPI)
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
|
%if %with_MinimumVersion
|
|
|
|
# TODO
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion)
|
|
|
|
BuildRequires: perl(Test::MinimumVersion)
|
|
|
|
%endif
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::NoWarnings)
|
|
|
|
BuildRequires: perl(Test::Object)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::SubCalls)
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
PPI - Parse, Analyze and Manipulate Perl (without perl)
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n PPI-%{version}
|
|
|
|
iconv -f iso8859-1 -t utf-8 < Changes > Changes.1
|
|
|
|
mv Changes.1 Changes
|
|
|
|
chmod -c 644 lib/PPI/Document/File.pm
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
|
|
|
|
%if %with_MinimumVersion
|
|
|
|
%make test TEST_FILES="xt/*.t" RELEASE_TESTING=1
|
|
|
|
%else
|
|
|
|
%make test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{perl_vendorlib}/PPI.pm
|
|
|
|
%{perl_vendorlib}/PPI/
|
2024-01-06 09:27:32 +01:00
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%doc LICENSE
|
2024-01-06 09:27:32 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:27:32 +01:00
|
|
|
* Sat Sep 23 2023 Automatic Build System <autodist@mambasoft.it> 1.277-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Thu Jul 21 2022 Automatic Build System <autodist@mambasoft.it> 1.276-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Tue Jul 19 2022 Automatic Build System <autodist@mambasoft.it> 1.275-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Thu May 05 2022 Automatic Build System <autodist@mambasoft.it> 1.274-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 1.273-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Sat Feb 05 2022 Automatic Build System <autodist@mambasoft.it> 1.272-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Wed Jan 26 2022 Automatic Build System <autodist@mambasoft.it> 1.271-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 1.270-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:32 +01:00
|
|
|
* Mon May 02 2011 Automatic Build System <autodist@mambasoft.it> 1.215-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 17 2011 gil <puntogil@libero.it> 1.213-1mamba
|
|
|
|
- package created by autospec
|