Bump to 0.31 sandbox/perl-Params-ValidationCompiler_0.31 accepted/tizen/unified/20240228.013739 accepted/tizen/unified/x/20240229.013858
authorTizenOpenSource <tizenopensrc@samsung.com>
Wed, 14 Feb 2024 04:51:19 +0000 (13:51 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Wed, 14 Feb 2024 04:51:19 +0000 (13:51 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/perl-Params-ValidationCompiler.manifest [new file with mode: 0644]
packaging/perl-Params-ValidationCompiler.spec [new file with mode: 0644]

diff --git a/packaging/perl-Params-ValidationCompiler.manifest b/packaging/perl-Params-ValidationCompiler.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/perl-Params-ValidationCompiler.spec b/packaging/perl-Params-ValidationCompiler.spec
new file mode 100644 (file)
index 0000000..14cfdd4
--- /dev/null
@@ -0,0 +1,38 @@
+Name:           perl-Params-ValidationCompiler
+Version:        0.31
+Release:        1
+License:        Artistic-2.0
+Summary:        Build an optimized subroutine parameter validator once, use it forever
+Url:            https://metacpan.org/pod/Params::ValidationCompiler
+Group:          Development/Libraries
+Source0:        %{name}-%{version}.tar.gz
+Source1001:    perl-Params-ValidationCompiler.manifest
+BuildRequires:  perl
+BuildRequires:  perl(MIME::Base64)
+BuildArch:      noarch
+
+%description
+This module creates a customized, highly efficient 
+parameter checking subroutine. It can handle named 
+or positional parameters, and can return the 
+parameters as key/value pairs or a list of values.
+
+In addition to type checks, it also supports 
+parameter defaults, optional parameters, and 
+extra "slurpy" parameters.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%license LICENSE