[perl-Pegex/f13/master] initial updoad for this branch

Gerd Pokorra gerd at fedoraproject.org
Thu Oct 28 12:57:24 UTC 2010


commit aad8a0801c208f43cc4afa95541160e59c609ee0
Author: gerd <gp at zimt.uni-siegen.de>
Date:   Thu Oct 28 14:57:25 2010 +0200

    initial updoad for this branch

 .gitignore      |    1 +
 perl-Pegex.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
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 <gp at zimt.uni-siegen.de> 0.11-1
+- remove unnecessary BuildRequires
+
+* Sun Oct 03 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> 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


More information about the scm-commits mailing list