diff --git a/.cvsignore b/.cvsignore index e69de29..d0a2057 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Parse-Yapp-1.05.tar.gz diff --git a/perl-Parse-Yapp.spec b/perl-Parse-Yapp.spec new file mode 100644 index 0000000..03259ff --- /dev/null +++ b/perl-Parse-Yapp.spec @@ -0,0 +1,82 @@ +Name: perl-Parse-Yapp +Version: 1.05 +Release: 34%{?dist} +Summary: Perl extension for generating and using LALR parsers + +Group: Development/Libraries +License: GPL or Artistic +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 +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 +%{_bindir}/* +%{perl_vendorlib}/Parse/ +%{_mandir}/man1/*.1* +%{_mandir}/man3/*.3* + + +%changelog +* Wed Nov 16 2005 Warren Togami - 1.05-34 +- import into Extras + +* Wed Apr 20 2005 Jose Pedro Oliveira - 1.05-33 +- #155467 +- Bring up to date with current Fedora.Extras perl spec template. + +* Wed Sep 22 2004 Chip Turner 1.05-32 +- rebuild + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Mon Jan 27 2003 Chip Turner +- version bump and rebuild + +* Tue Aug 6 2002 Chip Turner +- automated release bump and build + +* Tue Jun 4 2002 Chip Turner +- properly claim directories owned by package so they are removed when package is removed + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Fri Dec 7 2001 root +- Spec file was autogenerated. diff --git a/sources b/sources index e69de29..27ef457 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7bfca736d6af36c51edf7a97111a8f3b Parse-Yapp-1.05.tar.gz