2005-11-21 18:30:47 +00:00
|
|
|
Name: perl-Parse-Yapp
|
|
|
|
Version: 1.05
|
2008-03-02 15:54:35 +00:00
|
|
|
Release: 38%{?dist}
|
2005-11-21 18:30:47 +00:00
|
|
|
Summary: Perl extension for generating and using LALR parsers
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
2007-10-17 02:20:50 +00:00
|
|
|
License: GPL+ or Artistic
|
2005-11-21 18:30:47 +00:00
|
|
|
URL: http://search.cpan.org/dist/Parse-Yapp/
|
|
|
|
Source0: http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl >= 1:5.6.1
|
2007-10-17 02:20:50 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2005-11-21 18:30:47 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of
|
|
|
|
modules that let you generate and use yacc like thread safe
|
|
|
|
(reentrant) parsers with perl object oriented interface. The script
|
|
|
|
yapp is a front-end to the Parse::Yapp module and let you easily
|
|
|
|
create a Perl OO parser from an input grammar file.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Parse-Yapp-%{version}
|
|
|
|
chmod 644 README lib/Parse/{*.pm,Yapp/*.pm}
|
|
|
|
|
|
|
|
%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 {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
2006-02-17 16:47:28 +00:00
|
|
|
%{_bindir}/yapp
|
2005-11-21 18:30:47 +00:00
|
|
|
%{perl_vendorlib}/Parse/
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-03-02 15:54:35 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-38
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-01-28 21:41:51 +00:00
|
|
|
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-37
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2007-10-17 02:20:50 +00:00
|
|
|
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-36.1
|
|
|
|
- correct license tag
|
|
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
|
2006-08-29 16:57:40 +00:00
|
|
|
* Tue Aug 29 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.05-36
|
|
|
|
- rebuild for FC6
|
|
|
|
|
2006-02-17 16:47:28 +00:00
|
|
|
* Fri Feb 17 2006 Patrice Dumas <dumas@centre-cired.fr> - 1.05-35
|
|
|
|
- rebuild for fc5
|
|
|
|
|
2005-11-21 18:30:47 +00:00
|
|
|
* Wed Nov 16 2005 Warren Togami <wtogami@redhat.com> - 1.05-34
|
|
|
|
- import into Extras
|
|
|
|
|
|
|
|
* Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-33
|
|
|
|
- #155467
|
|
|
|
- Bring up to date with current Fedora.Extras perl spec template.
|
|
|
|
|
|
|
|
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.05-32
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
|
|
|
|
- version bump and rebuild
|
|
|
|
|
|
|
|
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- automated release bump and build
|
|
|
|
|
|
|
|
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- properly claim directories owned by package so they are removed when package is removed
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Fri Dec 7 2001 root <root@redhat.com>
|
|
|
|
- Spec file was autogenerated.
|