]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
perl-Class-Method-Modifieres: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 5 Mar 2023 15:44:53 +0000 (16:44 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Mar 2023 09:58:40 +0000 (09:58 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.nm [new file with mode: 0644]

diff --git a/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.nm b/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.nm
new file mode 100644 (file)
index 0000000..e90ef30
--- /dev/null
@@ -0,0 +1,48 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Class-Method-Modifiers
+version    = 2.14
+release    = 1
+thisapp    = Class-Method-Modifiers-%{version}
+arch       = noarch
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/Class-Method-Modifiers/
+license    = GPL+ or Artistic
+summary    = This module provides Moose-like method modifiers.
+
+description
+       Method modifiers are a convenient feature from the CLOS
+       (Common Lisp Object System) world.
+end
+
+source_dl  = https://cpan.metacpan.org/authors/id/E/ET/ETHER/
+
+build
+       requires
+               perl(B)
+               perl(Carp)
+               perl(ExtUtils::MakeMaker)
+               perl(Test::More)
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       perl(:MODULE_COMPAT_%{perl_version})
+               end
+       end
+end