diff --git a/Set-Crontab-1.03.tar.gz b/Set-Crontab-1.03.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b9ccbfb460bb35d18f50b29646f608adfcb18b7a Binary files /dev/null and b/Set-Crontab-1.03.tar.gz differ diff --git a/perl-Set-Crontab.spec b/perl-Set-Crontab.spec new file mode 100644 index 0000000000000000000000000000000000000000..1d9bfa0a0db47861448dcbde39a51b5e21c9b052 --- /dev/null +++ b/perl-Set-Crontab.spec @@ -0,0 +1,71 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Set-Crontab +Version: 1.03 +Release: 1 +Summary: Expand crontab(5)-style integer lists +License: GPL-1.0-only or Artistic-1.0-Perl +Group: Development/Libraries +URL: http://search.cpan.org/dist/Set-Crontab/ +Source0: http://www.cpan.org/authors/id/A/AM/AMS/Set-Crontab-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +%description +Set::Crontab parses crontab-style lists of integers and defines some +utility functions to make it easier to deal with them. +%package help +Summary : Expand crontab(5)-style integer lists +Provides: perl-Set-Crontab-doc +%description help +Set::Crontab parses crontab-style lists of integers and defines some +utility functions to make it easier to deal with them. +%prep +%setup -q -n Set-Crontab-%{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 README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Sun May 23 2021 Perl_Bot 1.03-1 +- Specfile autogenerated by Perl_Bot