From bf601c86302a41e9e8a5fd750ddd9e9009208538 Mon Sep 17 00:00:00 2001 From: gerd Date: Thu, 28 Oct 2010 12:49:51 +0200 Subject: [PATCH] initial upload for this package --- .gitignore | 1 + perl-Pegex.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 perl-Pegex.spec diff --git a/.gitignore b/.gitignore index e69de29..ded0162 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +Pegex-0.11.tar.gz diff --git a/perl-Pegex.spec b/perl-Pegex.spec new file mode 100644 index 0000000..56c7e82 --- /dev/null +++ b/perl-Pegex.spec @@ -0,0 +1,53 @@ +Name: perl-Pegex +Version: 0.11 +Release: 1%{?dist} +Summary: Pegex Parser Generator +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Pegex/ +Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(YAML::XS) +BuildRequires: perl(Test::Builder) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Pegex is a Acmeist parser framework. It is a PEG parser grammar syntax, +combined with PCRE compatible regular expressions as the match tokens. +Pegex draws heavily from Perl 6 rules, but works equivalently in many +modern programming languages. + +%prep +%setup -q -n Pegex-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +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 {} \; + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Oct 27 2010 Gerd Pokorra 0.11-1 +- remove unnecessary BuildRequires + +* Sun Oct 03 2010 Gerd Pokorra 0.10-1 +- BuildRequires perl(Test::Builder) added +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..29fbae7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +13b5924949d3e468420f41ee1fff1d58 Pegex-0.11.tar.gz