From 82d88c9e38261aa75680e461d22587648c21cf97 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:30:01 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.05-5mamba;Mon Nov 12 2012] --- README.md | 4 +++ perl-Parse-Yapp.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 perl-Parse-Yapp.spec diff --git a/README.md b/README.md index 8ee697a..7ec7cc5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Parse-Yapp +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. + diff --git a/perl-Parse-Yapp.spec b/perl-Parse-Yapp.spec new file mode 100644 index 0000000..f038c50 --- /dev/null +++ b/perl-Parse-Yapp.spec @@ -0,0 +1,64 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Parse-Yapp +Version: 1.05 +Release: 5mamba +Summary: Parse::Yapp - Perl extension for generating and using LALR parsers +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/F/FD/FDESAR/Parse-Yapp-%{version}.tar.gz +License: Artistic, GPL +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 1.05-5mamba +- perl 5.16 mass rebuild + +* Sun Jul 01 2012 Silvan Calarco 1.05-4mamba +- specfile and maintainer updated + +* Wed Nov 05 2008 Silvan Calarco 1.05-3mamba +- automatic rebuild by autodist + +* Wed Jul 26 2006 Stefano Cotta Ramusino 1.05-2qilnx +- specfile fixed and updated + +* Thu Oct 28 2004 Alessandro Ramazzina 1.05-1qilnx +- package created by autospec