diff --git a/STD-20101111.tar.gz b/STD-20101111.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..95b649cec004fbb684b1f1534c6d682706dcc624 Binary files /dev/null and b/STD-20101111.tar.gz differ diff --git a/perl-STD.spec b/perl-STD.spec new file mode 100644 index 0000000000000000000000000000000000000000..0bb62de98a6958358cd493cde4dac26e8e589b9f --- /dev/null +++ b/perl-STD.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-STD +Version: 20101111 +Release: 1 +Summary: STD Perl module +License: Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/STD/ +Source0: http://www.cpan.org/authors/id/S/SO/SOREAR/STD-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:v5.10 +BuildRequires: perl-generators +BuildRequires: perl(File::ShareDir) >= 1.02 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Moose) +BuildRequires: perl(YAML::XS) +Requires: perl(File::ShareDir) >= 1.02 +Requires: perl(Moose) +Requires: perl(YAML::XS) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +STD Perl module +%package help +Summary : STD Perl module +Provides: perl-STD-doc +%description help +STD Perl module +%prep +%setup -q -n STD-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Build.PL --installdirs=vendor +./Build + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +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 +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc data LICENSE +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Tue Jul 13 2021 Perl_Bot 20101111-1 +- Specfile autogenerated by Perl_Bot