commit 913c402d6c76af3572977bcd0c8a5e63bab59556 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed May 9 17:03:29 2012 +0200 Import .gitignore | 1 + perl-v6.spec | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 128 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..9fbc8c6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/v6-0.044.tar.gz diff --git a/perl-v6.spec b/perl-v6.spec new file mode 100644 index 0000000..ee5b530 --- /dev/null +++ b/perl-v6.spec @@ -0,0 +1,126 @@ +# Inhibit python compilation +%global __python %{nil} + +Name: perl-v6 +Version: 0.044 +Release: 1%{?dist} +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(ExtUtils::MakeMaker) +# Run-time +BuildRequires: perl(Encode) +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Scalar::Util) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Do not export private modules +%global __provides_exclude %{!?__provides_exclude:^$} +%global __provides_exclude %__provides_exclude|^perl\\(Apply\\) +%global __provides_exclude %__provides_exclude|^perl\\(ARRAY\\) +%global __provides_exclude %__provides_exclude|^perl\\(Bind\\) +%global __provides_exclude %__provides_exclude|^perl\\(Call\\) +%global __provides_exclude %__provides_exclude|^perl\\(CompUnit\\) +%global __provides_exclude %__provides_exclude|^perl\\(Decl\\) +%global __provides_exclude %__provides_exclude|^perl\\(Do\\) +%global __provides_exclude %__provides_exclude|^perl\\(For\\) +%global __provides_exclude %__provides_exclude|^perl\\(GLOBAL\\) +%global __provides_exclude %__provides_exclude|^perl\\(HASH\\) +%global __provides_exclude %__provides_exclude|^perl\\(If\\) +%global __provides_exclude %__provides_exclude|^perl\\(Index\\) +%global __provides_exclude %__provides_exclude|^perl\\(IO\\) +%global __provides_exclude %__provides_exclude|^perl\\(Javascript\\) +%global __provides_exclude %__provides_exclude|^perl\\(Lit::Array\\) +%global __provides_exclude %__provides_exclude|^perl\\(Lit::Block\\) +%global __provides_exclude %__provides_exclude|^perl\\(Lit::Code\\) +%global __provides_exclude %__provides_exclude|^perl\\(Lit::Hash\\) +%global __provides_exclude %__provides_exclude|^perl\\(Lit::Object\\) +%global __provides_exclude %__provides_exclude|^perl\\(Lookup\\) +%global __provides_exclude %__provides_exclude|^perl\\(Main\\) +%global __provides_exclude %__provides_exclude|^perl\\(Method\\) +%global __provides_exclude %__provides_exclude|^perl\\(Pair\\) +%global __provides_exclude %__provides_exclude|^perl\\(Perl5\\) +%global __provides_exclude %__provides_exclude|^perl\\(Proto\\) +%global __provides_exclude %__provides_exclude|^perl\\(Python\\) +%global __provides_exclude %__provides_exclude|^perl\\(Return\\) +%global __provides_exclude %__provides_exclude|^perl\\(Ruby\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::After\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Before\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Block\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Capture\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::CaptureResult\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::CharClass\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Concat\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Constant\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Dot\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::InterpolateVar\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::NamedCapture\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::NegateCharClass\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::NotBefore\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Or\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Quantifier\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::SpecialChar\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Subrule\\) +%global __provides_exclude %__provides_exclude|^perl\\(Rul::Var\\) +%global __provides_exclude %__provides_exclude|^perl\\(Sig\\) +%global __provides_exclude %__provides_exclude|^perl\\(Sub\\) +%global __provides_exclude %__provides_exclude|^perl\\(Use\\) +%global __provides_exclude %__provides_exclude|^perl\\(Val::Bit\\) +%global __provides_exclude %__provides_exclude|^perl\\(Val::Buf\\) +%global __provides_exclude %__provides_exclude|^perl\\(Val::Int\\) +%global __provides_exclude %__provides_exclude|^perl\\(Val::Num\\) +%global __provides_exclude %__provides_exclude|^perl\\(Val::Object\\) +%global __provides_exclude %__provides_exclude|^perl\\(Val::Undef\\) +%global __provides_exclude %__provides_exclude|^perl\\(Var\\) +%global __provides_exclude %__provides_exclude|^perl\\(When\\) +%global __provides_exclude %__provides_exclude|^perl\\(While\\) +# Do not require private modules +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^$ +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Emitter::Token\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Go::Emitter\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Grammar::Control\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Javascript::Emitter\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Lisp::Emitter\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Macro\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Parrot::Emitter\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Perl5::Emitter\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Perl5::Prelude\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Perl5::Runtime\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Python::Emitter\\) +%global __requires_exclude %__requires_exclude|^perl\\(Perlito::Ruby::Emitter\\) + +%description +The v6 module is a front-end to the "Perlito" compiler. + +%prep +%setup -q -n v6-%{version} +%fix_shbang_line scripts/perlito +chmod -x lib/Perlito/Python/Prelude.pm + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +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/* +rm $RPM_BUILD_ROOT%{perl_vendorlib}/hello_world.pl + +%check +make test + +%files +%doc ChangeLog README hello_world.pl +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 17 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.044-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..bfebe2b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7ab81e9b6c2fbfe352dfef799cc9b16f v6-0.044.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel