From 545e20836a0ddb06097696f0f56a67e16a2d486f Mon Sep 17 00:00:00 2001
From: Bill Pemberton <wf...@virginia.edu>
Date: Thu, 13 Sep 2012 09:40:39 -0400
Subject: Initial import (#851734).

---
 .gitignore                |  1 +
 perl-Regexp-Grammars.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                   |  1 +
 3 files changed, 68 insertions(+)
 create mode 100644 perl-Regexp-Grammars.spec

diff --git a/.gitignore b/.gitignore
index e69de29..f9f11f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Regexp-Grammars-1.021.tar.gz
diff --git a/perl-Regexp-Grammars.spec b/perl-Regexp-Grammars.spec
new file mode 100644
index 0000000..bc59572
--- /dev/null
+++ b/perl-Regexp-Grammars.spec
@@ -0,0 +1,66 @@
+Name:          perl-Regexp-Grammars
+Version:       1.021
+Release:       4%{?dist}
+Summary:       Add grammatical parsing features to perl regular expressions
+License:       GPL+ or Artistic
+Group:         Development/Libraries
+URL:           http://search.cpan.org/dist/Regexp-Grammars/
+Source0:       
http://www.cpan.org/authors/id/D/DC/DCONWAY/Regexp-Grammars-%{version}.tar.gz
+BuildArch:     noarch
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(List::Util)
+BuildRequires: perl(Moose)
+BuildRequires: perl(Moose::Util::TypeConstraints)
+Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%filter_from_provides /perl(Regexp)/d
+%filter_provides_in %{_docdir}
+%filter_setup
+
+
+%description
+This module adds a small number of new regular expressions constructs that
+can be used to implement complete recursive-descent parsing.
+
+These constructs use the grammar patterns that were added to perl's
+regular expressions in perl 5.10.
+
+%prep
+%setup -q -n Regexp-Grammars-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}
+
+%check
+./Build test
+
+%files
+%doc Changes README demo/
+%{perl_vendorlib}/Regexp/
+%{_mandir}/man3/Regexp::Grammars.3pm*
+
+%changelog
+* Thu Sep 13 2012 Bill Pemberton <wf...@virginia.edu> - 1.021-4
+- remove explict requires for Data::Dumper and Scalar::Util
+
+* Wed Sep 12 2012 Bill Pemberton <wf...@virginia.edu> - 1.021-3
+- update Requires and BuildRequires
+- remove filter_from_requires
+- filter out requirements of the demo scripts
+- filter out perl(Regexp) from provides
+
+* Mon Aug 27 2012 Bill Pemberton <wf...@virginia.edu> - 1.021-2
+- Remove BuildRoot
+
+* Fri Aug 24 2012 Bill Pemberton <wf...@virginia.edu> - 1.021-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..80517ba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6d09cd8c12f638e8e8e5e3dd586c3b8c  Regexp-Grammars-1.021.tar.gz
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Regexp-Grammars.git/commit/?h=epel7&id=545e20836a0ddb06097696f0f56a67e16a2d486f
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to