diff --git a/Module-Starter-1.77.tar.gz b/Module-Starter-1.77.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b67214ab9b14b4f17ce8f254d8872dfb28b2ce08 Binary files /dev/null and b/Module-Starter-1.77.tar.gz differ diff --git a/perl-Module-Starter.spec b/perl-Module-Starter.spec new file mode 100644 index 0000000000000000000000000000000000000000..2ac910faa8e4e0b3a5671d4c70203df38a4430d7 --- /dev/null +++ b/perl-Module-Starter.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Module-Starter +Version: 1.77 +Release: 1 +Summary: Simple starter kit for any module +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Starter/ +Source0: http://www.cpan.org/authors/id/D/DB/DBOOK/Module-Starter-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.006001 +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(parent) +BuildRequires: perl(Pod::Usage) >= 1.21 +BuildRequires: perl(Software::License) >= 0.103005 +BuildRequires: perl(Test::Harness) >= 0.21 +BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(version) >= 0.77 +Requires: perl(File::Path) +Requires: perl(File::Spec) +Requires: perl(Getopt::Long) +Requires: perl(Module::Runtime) +Requires: perl(parent) +Requires: perl(Pod::Usage) >= 1.21 +Requires: perl(Software::License) >= 0.103005 +Requires: perl(Test::Harness) >= 0.21 +Requires: perl(Test::More) >= 0.94 +Requires: perl(version) >= 0.77 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +This is the core module for Module::Starter. If you're not looking to +extend or alter the behavior of this module, you probably want to look at +module-starter instead. +%package help +Summary : Simple starter kit for any module +Provides: perl-Module-Starter-doc +%description help +This is the core module for Module::Starter. If you're not looking to +extend or alter the behavior of this module, you probably want to look at +module-starter instead. +%prep +%setup -q -n Module-Starter-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor +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 -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.md dist.ini getting-started.html LICENSE META.json perlcritic.rc prereqs.yml README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Tue Jul 13 2021 Perl_Bot 1.77-1 +- Specfile autogenerated by Perl_Bot