initial upload for this branch
This commit is contained in:
parent
b02205c7c7
commit
d5da4bba76
53
perl-Pegex.spec
Normal file
53
perl-Pegex.spec
Normal file
@ -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@zimt.uni-siegen.de> 0.11-1
|
||||||
|
- remove unnecessary BuildRequires
|
||||||
|
|
||||||
|
* Sun Oct 03 2010 Gerd Pokorra <gp@zimt.uni-siegen.de> 0.10-1
|
||||||
|
- BuildRequires perl(Test::Builder) added
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user