diff --git a/perl-v6.spec b/perl-v6.spec new file mode 100644 index 0000000000000000000000000000000000000000..ab53ebf49721fed94147a6ca3a200fc2df3daa55 --- /dev/null +++ b/perl-v6.spec @@ -0,0 +1,74 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-v6 +Version: 0.047 +Release: 1 +Summary: Perl 6 implementation +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/v6/ +Source0: http://www.cpan.org/authors/id/F/FG/FGLOCK/v6-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(Encode) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Filter::Util::Call) +Requires: perl(Encode) +Requires: perl(Filter::Util::Call) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +The v6 module is a front-end to the "Perlito" Perl6 compiler. +%package help +Summary : Perl 6 implementation +Provides: perl-v6-doc +%description help +The v6 module is a front-end to the "Perlito" Perl6 compiler. +%prep +%setup -q -n v6-%{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 ChangeLog META.json README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Tue Jul 13 2021 Perl_Bot 0.047-1 +- Specfile autogenerated by Perl_Bot diff --git a/v6-0.047.tar.gz b/v6-0.047.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..68a9e1096e0c9ca1a92f77c47ca5e60081800e48 Binary files /dev/null and b/v6-0.047.tar.gz differ