forked from pool/perl-Parse-Yapp
Accepting request 506098 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/506098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Parse-Yapp?expand=0&rev=22
This commit is contained in:
commit
03f023ed5f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:228a6cfb483ade811720bb77647900ef359dfc3e071359eb73d39e4a1cc6f22b
|
|
||||||
size 47776
|
|
3
Parse-Yapp-1.2.tar.gz
Normal file
3
Parse-Yapp-1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4bd29f083c261253c6128303dc51bff88d6472c09c3846bd399e21f1f0c3e49a
|
||||||
|
size 108592
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
license: Artistic-1.0 or GPL-2.0+
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 15 06:05:04 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.2
|
||||||
|
see /usr/share/doc/packages/perl-Parse-Yapp/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 27 06:23:14 UTC 2013 - coolo@suse.com
|
Wed Feb 27 06:23:14 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Parse-Yapp
|
# spec file for package perl-Parse-Yapp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,54 +17,48 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Parse-Yapp
|
Name: perl-Parse-Yapp
|
||||||
Version: 1.05
|
Version: 1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://cpan.org/modules/by-module/Parse
|
#Upstream: The Parse::Yapp module and its related modules and shell scripts are You may use and distribute them under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. If you use the "standalone parser" option so people don't need to install
|
||||||
|
%define cpan_name Parse-Yapp
|
||||||
Summary: Perl extension for generating and using LALR parsers
|
Summary: Perl extension for generating and using LALR parsers
|
||||||
License: Artistic-1.0 or GPL-2.0+
|
License: Artistic-1.0 or GPL-2.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: Parse-Yapp-%{version}.tar.gz
|
Url: http://search.cpan.org/dist/Parse-Yapp/
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of
|
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules
|
||||||
modules that let you generate and use yacc like thread safe (reentrant)
|
that let you generate and use yacc like thread safe (reentrant) parsers
|
||||||
parsers with perl object oriented interface.
|
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.
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Francois Desarmenien <francois@fdesar.net>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n Parse-Yapp-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
chmod 644 README
|
%perl_gen_filelist
|
||||||
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/Parse/*.pm
|
|
||||||
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/Parse/Yapp/*.pm
|
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%defattr(-,root,root,755)
|
||||||
|
%doc Calc.yp Changes docs README README.md yapp YappParse.yp
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc Changes README
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorlib}/Parse
|
|
||||||
%{perl_vendorarch}/auto/Parse
|
|
||||||
%{_bindir}/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user