]> git.pld-linux.org Git - packages/perl-Parse-RecDescent.git/blame - perl-Parse-RecDescent.spec
- updated to 1.965001
[packages/perl-Parse-RecDescent.git] / perl-Parse-RecDescent.spec
CommitLineData
d78709d0 1#
2# Conditional build:
a5f19e7f 3%bcond_without tests # do not perform "make test"
d78709d0 4#
62d8abdd 5%include /usr/lib/rpm/macros.perl
23df566c 6%define pdir Parse
7%define pnam RecDescent
d4f943d6 8Summary: Parse::RecDescent - generate recursive-descent parsers
3557c889 9Summary(pl.UTF-8): Parse::RecDescent - generowanie zmniejszających rekurencyjnie analizatorów
4f193989 10Name: perl-Parse-RecDescent
a8786b54 11Version: 1.965001
3aa72b5c 12Release: 1
d4f943d6 13License: Artistic
4f193989 14Group: Development/Languages/Perl
3aa72b5c 15Source0: http://www.cpan.org/modules/by-authors/id/D/DC/DCONWAY/%{pdir}-%{pnam}-%{version}.tar.gz
a8786b54 16# Source0-md5: e91351ad179a3843fbe8e521b135acaf
75c1f355 17URL: http://search.cpan.org/dist/Parse-RecDescent/
d4f943d6 18BuildRequires: perl-Text-Balanced
10acfadd 19BuildRequires: perl-devel >= 1:5.8.0
14432588 20BuildRequires: rpm-perlprov >= 4.1-13
d4f943d6
JB
21# these versions included own copy of Text::Balanced
22BuildConflicts: perl-Parse-RecDescent < 1.92
bf99d160 23BuildArch: noarch
59df6fe4 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4f193989 25
14432588 26%define _noautoreq 'perl(Calc)'
7f5f0a8c 27
4f193989 28%description
d4f943d6
JB
29RecDescent incrementally generates top-down recursive-descent text
30parsers from simple yacc-like grammar specifications. It provides:
3839db85 31- Regular expressions or literal strings as terminals (tokens),
32- Multiple (non-contiguous) productions for any rule,
33- Repeated, optional and alternate subrules within productions,
34- Late-bound (run-time dispatched) subrules,
0d690e92 35- Full access to Perl within actions specified as part of the grammar,
3839db85 36- Simple automated error reporting during parser generation and
37 parsing,
38- The ability to commit to, uncommit to, or reject particular
39 productions during a parse,
0d690e92 40- Incremental extension of the parsing grammar (even during a parse),
3839db85 41- Precompilation of parser objects,
0d690e92
ER
42- User-definable reduce-reduce conflict resolution via "scoring" of
43 matching productions.
4f193989 44
51226666
JR
45%description -l pl.UTF-8
46RecDescent generuje przyrostowo zstępujące, zmniejszające
47rekurencyjnie analizatory tekstu w oparciu o prostą specyfikację
48gramatyki, podobną do używanej przez yacca. Udostępnia on:
49- Wyrażenia regularne i łańcuchy literałów jako terminale (tokeny),
50- Wielokrotną (nieciągłą) produkcję dla każdej reguły,
0d690e92 51- Powtarzane, opcjonalne i alternatywne podreguły w obrębie produkcji,
51226666
JR
52- Podreguły późnego wiązania (wysyłane w chwili uruchomienia),
53- Pełen dostęp do Perla w obrębie akcji określonych jako część
3839db85 54 gramatyki,
51226666 55- Proste, zautomatyzowane sygnalizowanie błędów podczas generacji
3839db85 56 analizatora i podczas analizy,
51226666 57- Możliwość zatwierdzenia, cofnięcia oraz odrzucania poszczególnych
3839db85 58 produkcji podczas analizy,
51226666 59- Przyrostowe rozszerzanie gramatyki podlegającej analizie (nawet
3839db85 60 podczas samej analizy),
51226666
JR
61- Prekompilację obiektów analizatora,
62- Definiowalne przez użytkownika rozpoznawanie konfliktów
3839db85 63 "reduce-reduce" poprzez ocenianie dopasowania produkcji.
4f193989
AF
64
65%prep
3aa72b5c 66%setup -q -n %{pdir}-%{pnam}-%{version}
4f193989
AF
67
68%build
d05e481c 69%{__perl} Makefile.PL \
aea9a6d4 70 INSTALLDIRS=vendor
e60af692 71%{__make}
a5f19e7f 72
10b9409c 73%{?with_tests:%{__make} test}
4f193989
AF
74
75%install
76rm -rf $RPM_BUILD_ROOT
4f193989 77
0d690e92 78%{__make} pure_install \
14432588 79 DESTDIR=$RPM_BUILD_ROOT
4f193989 80
0d690e92
ER
81rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/RecDescent/.packlist
82
4f193989
AF
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%files
87%defattr(644,root,root,755)
d78709d0 88%doc README Changes
d05e481c 89%{perl_vendorlib}/Parse/*.pm
4f193989 90%{_mandir}/man3/*
This page took 0.141829 seconds and 4 git commands to generate.