Bump to 0.146 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen_unified_x_asan sandbox/perl-Path-Tiny_0.146 tizen accepted/tizen/unified/20241224.130113 accepted/tizen/unified/x/20241224.221622 accepted/tizen/unified/x/asan/20250113.002211
authorTizenOpenSource <tizenopensrc@samsung.com>
Fri, 20 Dec 2024 08:06:33 +0000 (17:06 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Fri, 20 Dec 2024 08:06:33 +0000 (17:06 +0900)
Change-Id: I55be90e2702dfb88b0c0f3976ae63f7e295aa0f8
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/perl-Path-Tiny.manifest [new file with mode: 0644]
packaging/perl-Path-Tiny.spec [new file with mode: 0644]

diff --git a/packaging/perl-Path-Tiny.manifest b/packaging/perl-Path-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-Path-Tiny.spec b/packaging/perl-Path-Tiny.spec
new file mode 100644 (file)
index 0000000..ae396b3
--- /dev/null
@@ -0,0 +1,78 @@
+#
+# spec file for package perl-Path-Tiny
+#
+# Copyright (c) 2022 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+%define cpan_name Path-Tiny
+Name:           perl-Path-Tiny
+Version:        0.146
+Release:        0
+License:        Apache-2.0
+Summary:        File path utility
+URL:            https://metacpan.org/release/%{cpan_name}
+Source:         %{cpan_name}-%{version}.tar.gz
+Source1001:     %{name}.manifest
+BuildRequires:  perl
+
+%description
+This module provides a small, fast utility for working with file paths. It
+is friendlier to use than File::Spec and provides easy access to functions
+from several other core file handling modules. It aims to be smaller and
+faster than many alternatives on CPAN, while helping people do many common
+things in consistent and less error-prone ways.
+
+Path::Tiny does not try to work for anything except Unix-like and Win32
+platforms. Even then, it might break if you try something particularly
+obscure or tortuous. (Quick! What does this mean:
+'///../../..//./././a//b/.././c/././'? And how does it differ on Win32?)
+
+All paths are forced to have Unix-style forward slashes. Stringifying the
+object gives you back the path (after some clean up).
+
+File input/output methods 'flock' handles before reading or writing, as
+appropriate (if supported by the platform and/or filesystem).
+
+The '*_utf8' methods ('slurp_utf8', 'lines_utf8', etc.) operate in raw
+mode. On Windows, that means they will not have CRLF translation from the
+':crlf' IO layer. Installing Unicode::UTF8 0.58 or later will speed up
+'*_utf8' situations in many cases and is highly recommended. Alternatively,
+installing PerlIO::utf8_strict 0.003 or later will be used in place of the
+default ':encoding(UTF-8)'.
+
+This module depends heavily on PerlIO layers for correct operation and thus
+requires Perl 5.008001 or later.
+
+%prep
+%setup -q -n Path-Tiny-%{version}
+cp %{SOURCE1001} .
+
+%build
+%{__perl} Makefile.PL 
+%{__make} %{?_smp_mflags}
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%check
+%{__make} test
+
+%files -f %{name}.files
+%manifest %{name}.manifest
+%license LICENSE
+
+