diff --git a/Devel-Gladiator-0.08.tar.gz b/Devel-Gladiator-0.08.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4358016b00dad98e65cbd5729275894646cd9769 Binary files /dev/null and b/Devel-Gladiator-0.08.tar.gz differ diff --git a/perl-Devel-Gladiator.spec b/perl-Devel-Gladiator.spec new file mode 100644 index 0000000000000000000000000000000000000000..5263a0a1ca5aa8f782c7c01e191dacdc606a329c --- /dev/null +++ b/perl-Devel-Gladiator.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Devel-Gladiator +Version: 0.08 +Release: 1 +Summary: Walk Perl's arena +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-Gladiator/ +Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Devel-Gladiator-%{version}.tar.gz +BuildRequires: perl >= 0:5.006 +BuildRequires: perl-generators +BuildRequires: perl(Devel::Peek) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) +Requires: perl(Exporter) +Requires: perl(strict) +Requires: perl(warnings) +Requires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Devel::Gladiator iterates Perl's internal memory structures and can be used +to enumerate all the currently live SVs. + +%package help +Summary : Walk Perl's arena +Provides: perl-Devel-Gladiator-doc + +%description help +Devel::Gladiator iterates Perl's internal memory structures and can be used +to enumerate all the currently live SVs. + +%prep +%setup -q -n Devel-Gladiator-%{version} + +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes CONTRIBUTING dist.ini LICENCE META.json README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Devel* + +%files help +%{_mandir}/* + +%changelog +* Fri Jul 02 2021 Perl_Bot 0.08-1 +- Specfile autogenerated by Perl_Bot