Bump to 0.48 sandbox/perl-Capture-Tiny_0.48 accepted/tizen/unified/20240228.013646 accepted/tizen/unified/x/20240229.013804
authorTizenOpenSource <tizenopensrc@samsung.com>
Thu, 8 Feb 2024 07:54:01 +0000 (16:54 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Thu, 8 Feb 2024 07:54:01 +0000 (16:54 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/perl-Capture-Tiny.manifest [new file with mode: 0644]
packaging/perl-Capture-Tiny.spec [new file with mode: 0644]

diff --git a/packaging/perl-Capture-Tiny.manifest b/packaging/perl-Capture-Tiny.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-Capture-Tiny.spec b/packaging/perl-Capture-Tiny.spec
new file mode 100644 (file)
index 0000000..c544194
--- /dev/null
@@ -0,0 +1,36 @@
+Name:           perl-Capture-Tiny
+Version:        0.48
+Release:        0
+License:        Apache-2.0
+Summary:        Capture STDOUT and STDERR from Perl, XS or external programs
+Url:            https://metacpan.org/pod/Capture::Tiny
+Group:          Development/Libraries
+Source0:        Capture-Tiny-%{version}.tar.gz
+Source1001:    perl-Capture-Tiny.manifest
+BuildRequires:  perl
+BuildRequires:  perl(MIME::Base64)
+BuildArch:      noarch
+
+%description
+Capture::Tiny provides a simple, portable way to capture almost anything
+sent to STDOUT or STDERR, regardless of whether it comes from Perl, 
+from XS code or from an external program. Optionally, output can be teed 
+so that it is captured while being passed through to the original filehandles. 
+ Yes, it even works on Windows (usually). Stop guessing which of a dozen 
+capturing modules to use in any particular situation and just use this one.
+
+%prep
+%setup -q
+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