]> git.pld-linux.org Git - packages/perl-Parse-RecDescent.git/blobdiff - perl-Parse-RecDescent.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Parse-RecDescent.git] / perl-Parse-RecDescent.spec
index 8a314d4da5e7ea4025740934b9d73bb1a2e5096e..6ffac5fc70159e6bfed5522ad099f0ec968a1793 100644 (file)
@@ -2,19 +2,17 @@
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    Parse
 %define                pnam    RecDescent
 Summary:       Parse::RecDescent - generate recursive-descent parsers
 Summary(pl.UTF-8):     Parse::RecDescent - generowanie zmniejszających rekurencyjnie analizatorów
 Name:          perl-Parse-RecDescent
-Version:       1.95.1
+Version:       1.967015
 Release:       1
 License:       Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-authors/id/D/DC/DCONWAY/%{pdir}-%{pnam}-v%{version}.tar.gz
-# Source0-md5: 122fa38d52a701897836370ae022f174
-Patch0:                %{name}-paths.patch
+Source0:       http://www.cpan.org/modules/by-module/Parse/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7a36d45d62a9b68603edcdbd276006cc
 URL:           http://search.cpan.org/dist/Parse-RecDescent/
 BuildRequires: perl-Text-Balanced
 BuildRequires: perl-devel >= 1:5.8.0
@@ -33,17 +31,15 @@ parsers from simple yacc-like grammar specifications. It provides:
 - Multiple (non-contiguous) productions for any rule,
 - Repeated, optional and alternate subrules within productions,
 - Late-bound (run-time dispatched) subrules,
-- Full access to Perl within actions specified as part of the
-  grammar,
+- Full access to Perl within actions specified as part of the grammar,
 - Simple automated error reporting during parser generation and
   parsing,
 - The ability to commit to, uncommit to, or reject particular
   productions during a parse,
-- Incremental extension of the parsing grammar (even during a
-  parse),
+- Incremental extension of the parsing grammar (even during a parse),
 - Precompilation of parser objects,
-- User-definable reduce-reduce conflict resolution via
-  "scoring" of matching productions.
+- User-definable reduce-reduce conflict resolution via "scoring" of
+  matching productions.
 
 %description -l pl.UTF-8
 RecDescent generuje przyrostowo zstępujące, zmniejszające
@@ -51,8 +47,7 @@ rekurencyjnie analizatory tekstu w oparciu o prostą specyfikację
 gramatyki, podobną do używanej przez yacca. Udostępnia on:
 - Wyrażenia regularne i łańcuchy literałów jako terminale (tokeny),
 - Wielokrotną (nieciągłą) produkcję dla każdej reguły,
-- Powtarzane, opcjonalne i alternatywne podreguły w obrębie
-  produkcji,
+- Powtarzane, opcjonalne i alternatywne podreguły w obrębie produkcji,
 - Podreguły późnego wiązania (wysyłane w chwili uruchomienia),
 - Pełen dostęp do Perla w obrębie akcji określonych jako część
   gramatyki,
@@ -67,8 +62,7 @@ gramatyki, podobną do używanej przez yacca. Udostępnia on:
   "reduce-reduce" poprzez ocenianie dopasowania produkcji.
 
 %prep
-%setup -q -n %{pdir}-%{pnam}-v%{version}
-%patch0 -p1
+%setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 %{__perl} Makefile.PL \
@@ -80,14 +74,16 @@ gramatyki, podobną do używanej przez yacca. Udostępnia on:
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} pure_install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/RecDescent/.packlist
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README Changes
-%{perl_vendorlib}/Parse/*.pm
-%{_mandir}/man3/*
+%{perl_vendorlib}/Parse/RecDescent.pm
+%{_mandir}/man3/Parse::RecDescent.3pm*
This page took 0.042442 seconds and 4 git commands to generate.