perl-Parse-Yapp: New package.

Message ID 20230215194707.357124-1-stefan.schantl@ipfire.org
State Accepted
Commit 29b2659d106b97df43f5e46b483209b6f2c3f28a
Headers
Series perl-Parse-Yapp: New package. |

Commit Message

Stefan Schantl Feb. 15, 2023, 7:47 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 perl-Parse-Yapp/perl-Parse-Yapp.nm | 51 ++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 perl-Parse-Yapp/perl-Parse-Yapp.nm
  

Comments

Michael Tremer Feb. 16, 2023, 9:18 a.m. UTC | #1
You are leaving a lot of trailing whitespaces in your patches recently...

> On 15 Feb 2023, at 20:47, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> perl-Parse-Yapp/perl-Parse-Yapp.nm | 51 ++++++++++++++++++++++++++++++
> 1 file changed, 51 insertions(+)
> create mode 100644 perl-Parse-Yapp/perl-Parse-Yapp.nm
> 
> diff --git a/perl-Parse-Yapp/perl-Parse-Yapp.nm b/perl-Parse-Yapp/perl-Parse-Yapp.nm
> new file mode 100644
> index 000000000..4a48f3eea
> --- /dev/null
> +++ b/perl-Parse-Yapp/perl-Parse-Yapp.nm
> @@ -0,0 +1,51 @@
> +###############################################################################
> +# IPFire.org    - An Open Source Firewall Solution                            #
> +# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
> +###############################################################################
> +
> +name       = perl-Parse-Yapp
> +version    = 1.21
> +release    = 1
> +
> +groups     = Development/Libratries
> +url        = http://search.cpan.org/dist/Parse-Yapp/
> +license    = GPL+ or Artistic
> +summary    = Perl extension for generating and using LALR parsers. 
> +
> +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.
> +end
> +
> +source_dl  = https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/
> +
> +thisapp    = Parse-Yapp-%{version}
> +
> +build
> + requires
> + perl(ExtUtils::MakeMaker)
> + perl(Test::More)
> + end
> +
> + build
> + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
> + make %{PARALLELISMFLAGS}
> + end
> +
> + test
> + make test
> + end
> +end
> +
> +packages
> + package %{name}
> + requires
> + perl(:MODULE_COMPAT_%{perl_version})
> + end
> + end
> +
> + package %{name}-debuginfo
> + template DEBUGINFO
> + end
> +end
> -- 
> 2.30.2
>
  

Patch

diff --git a/perl-Parse-Yapp/perl-Parse-Yapp.nm b/perl-Parse-Yapp/perl-Parse-Yapp.nm
new file mode 100644
index 000000000..4a48f3eea
--- /dev/null
+++ b/perl-Parse-Yapp/perl-Parse-Yapp.nm
@@ -0,0 +1,51 @@ 
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Parse-Yapp
+version    = 1.21
+release    = 1
+
+groups     = Development/Libratries
+url        = http://search.cpan.org/dist/Parse-Yapp/
+license    = GPL+ or Artistic
+summary    = Perl extension for generating and using LALR parsers. 
+
+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.
+end
+
+source_dl  = https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/
+
+thisapp    = Parse-Yapp-%{version}
+
+build
+	requires
+		perl(ExtUtils::MakeMaker)
+		perl(Test::More)
+	end
+
+	build
+		perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+		make %{PARALLELISMFLAGS}
+	end
+
+	test
+		make test
+	end
+end
+
+packages
+	package %{name}
+		requires
+			perl(:MODULE_COMPAT_%{perl_version})
+		end
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end