diff --git a/Set-Infinite-0.65.tar.gz b/Set-Infinite-0.65.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d9fd7620d0ca80a1f01b9f3a0034b2121cb6c946 Binary files /dev/null and b/Set-Infinite-0.65.tar.gz differ diff --git a/perl-Set-Infinite.spec b/perl-Set-Infinite.spec new file mode 100644 index 0000000000000000000000000000000000000000..910c2cd4b3c0faaa6db874c0ed91d3a89d398b98 --- /dev/null +++ b/perl-Set-Infinite.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Set-Infinite +Version: 0.65 +Release: 1 +Summary: Sets of intervals +License: Distributable, see LICENSE +Group: Development/Libraries +URL: http://search.cpan.org/dist/Set-Infinite/ +Source0: http://www.cpan.org/authors/id/F/FG/FGLOCK/Set-Infinite-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Time::Local) +Requires: perl(Test::More) +Requires: perl(Time::Local) +%description +Set::Infinite is a Set Theory module for infinite sets. +%package help +Summary : Sets of intervals +Provides: perl-Set-Infinite-doc +%description help +Set::Infinite is a Set Theory module for infinite sets. +%prep +%setup -q -n Set-Infinite-%{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 LICENSE README TODO +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Sun May 23 2021 Perl_Bot 0.65-1 +- Specfile autogenerated by Perl_Bot