summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 10:59:47 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 11:00:41 +0900
commit045fbe1d55137740c3bcc67bea95b07106c110c4 (patch)
tree9a21961c28863c36a8bf8104ce59c1feef870e77
parent61358f31279046be8d7c8d79911f35905a9e78d8 (diff)
downloadperl-XML-NamespaceSupport-accepted/tizen_7.0_unified.tar.gz
perl-XML-NamespaceSupport-accepted/tizen_7.0_unified.tar.bz2
perl-XML-NamespaceSupport-accepted/tizen_7.0_unified.zip
Change-Id: I04352412ba9768c0e2f4b00481392a86f9eb516f Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/perl-XML-NamespaceSupport.manifest5
-rw-r--r--packaging/perl-XML-NamespaceSupport.spec67
2 files changed, 72 insertions, 0 deletions
diff --git a/packaging/perl-XML-NamespaceSupport.manifest b/packaging/perl-XML-NamespaceSupport.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/perl-XML-NamespaceSupport.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/perl-XML-NamespaceSupport.spec b/packaging/perl-XML-NamespaceSupport.spec
new file mode 100644
index 0000000..65200eb
--- /dev/null
+++ b/packaging/perl-XML-NamespaceSupport.spec
@@ -0,0 +1,67 @@
+#
+# spec file for package perl-XML-NamespaceSupport
+#
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# 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 http://bugs.opensuse.org/
+#
+
+%define cpan_name XML-NamespaceSupport
+
+Name: perl-XML-NamespaceSupport
+Version: 1.12
+Release: 0
+Summary: Simple Generic Namespace Processor
+License: Artistic-1.0 or GPL-1.0+
+Group: Development/Libraries/Perl
+Url: http://search.cpan.org/dist/XML-NamespaceSupport/
+Source0: https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/%{cpan_name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+BuildArch: noarch
+
+BuildRequires: perl
+BuildRequires: perl-macros
+
+%description
+This module offers a simple to process namespaced XML names (unames) from
+within any application that may need them. It also helps maintain a prefix
+to namespace URI map, and provides a number of basic checks.
+
+The model for this module is SAX2's NamespaceSupport class, readable at
+http://www.saxproject.org/namespaces.html It adds a few perlisations where
+we thought it appropriate.
+
+%prep
+%setup -q -n XML-NamespaceSupport-%{version}
+cp %{SOURCE1001} .
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%manifest %{name}.manifest
+%defattr(-,root,root,755)
+%doc Changes README
+%license LICENSE
+
+%changelog
+