]> git.pld-linux.org Git - packages/perl-Parse-Yapp.git/blame - perl-Parse-Yapp.spec
- up to 1.21
[packages/perl-Parse-Yapp.git] / perl-Parse-Yapp.spec
CommitLineData
8a4e2a44 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
cacb62d0 5%define pdir Parse
6%define pnam Yapp
11c11e37
JB
7Summary: Parse::Yapp Perl module - Yet Another Perl Parser compiler
8Summary(pl.UTF-8): Moduł Perla Parse::Yapp - jeszcze jeden kompilator parserów perlowych
02fdd885 9Name: perl-Parse-Yapp
a8a70bd1
AO
10Version: 1.21
11Release: 1
8a4e2a44 12License: GPL or Artistic
02fdd885 13Group: Development/Languages/Perl
11c11e37 14Source0: http://www.cpan.org/modules/by-module/Parse/%{pdir}-%{pnam}-%{version}.tar.gz
a8a70bd1 15# Source0-md5: 69584d5b0f0304bb2a23cffcd982c5de
97a23ed0 16Patch0: %{name}-man.patch
11c11e37 17URL: http://search.cpan.org/dist/Parse-Yapp/
489df6f5 18BuildRequires: perl-devel >= 1:5.8.0
59ad299f 19BuildRequires: rpm-perlprov >= 4.1-13
aafbb09b 20BuildArch: noarch
e4006a7b 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
02fdd885 22
23%description
11c11e37
JB
24Parse::Yapp (Yet Another Perl Parser compiler) compiles yacc-like LALR
25grammars to generate Perl OO parser modules.
02fdd885 26
2cdf908d 27%description -l pl.UTF-8
11c11e37
JB
28Parse::Yapp (Yet Another Perl Parser compiler - jeszcze jeden
29kompilator perlowych analizatorów składniowych) kompiluje gramatyki
30LALR w stylu narzędzia yacc, aby wygenerować analizatory w postaci
31obiektowo zorientowanych modułów Perla.
02fdd885 32
33%prep
e78fdd68 34%setup -q -n %{pdir}-%{pnam}-%{version}
97a23ed0 35%patch0 -p1
02fdd885 36
37%build
59ad299f 38%{__perl} Makefile.PL \
c2fe766f 39 INSTALLDIRS=vendor
e5e882d3 40%{__make}
02fdd885 41
8a4e2a44 42%{?with_tests:%{__make} test}
43
02fdd885 44%install
45rm -rf $RPM_BUILD_ROOT
02fdd885 46
8a4e2a44 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
02fdd885 49
02fdd885 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
11c11e37 55%doc Changes
02fdd885 56%attr(755,root,root) %{_bindir}/yapp
59ad299f 57%{perl_vendorlib}/Parse/Yapp.pm
58%{perl_vendorlib}/Parse/Yapp
11c11e37
JB
59%{_mandir}/man1/yapp.1p*
60%{_mandir}/man3/Parse::Yapp.3*
This page took 0.083969 seconds and 4 git commands to generate.