Bump to perl-XML-Twig 3.52 66/278666/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_9.0_unified accepted/tizen_unified sandbox/dh0128.kwak/perl-XML-Twig-3.52-20220725 tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_9.0 accepted/tizen/7.0/unified/20221110.060403 accepted/tizen/7.0/unified/hotfix/20221116.111251 accepted/tizen/8.0/unified/20231005.095347 accepted/tizen/9.0/unified/20241030.232118 accepted/tizen/unified/20220726.012236 submit/tizen/20220725.051025 submit/tizen/20220725.052254 tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 25 Jul 2022 02:39:07 +0000 (11:39 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 25 Jul 2022 02:39:27 +0000 (11:39 +0900)
Change-Id: Iffb7bf2c3e1e0f94c99dc2c365422219fb64959e

packaging/perl-XML-Twig.manifest [new file with mode: 0644]
packaging/perl-XML-Twig.spec [new file with mode: 0644]

diff --git a/packaging/perl-XML-Twig.manifest b/packaging/perl-XML-Twig.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-XML-Twig.spec b/packaging/perl-XML-Twig.spec
new file mode 100644 (file)
index 0000000..a84433a
--- /dev/null
@@ -0,0 +1,53 @@
+Name:           perl-XML-Twig
+Version:        3.52
+Release:        1
+License:        GPL-1.0+ or Artistic-1.0
+Summary:        Tree interface to XML documents
+Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/XML::Twig
+# http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz
+Source:         XML-Twig-%{version}.tar.gz
+Source1001:    perl-XML-Twig.manifest
+
+BuildRequires:  perl-XML-Parser
+BuildRequires:  perl-macros
+
+Requires:       perl-XML-Parser
+
+%description
+XML::Twig is (yet another!) XML transformation module.
+
+Its strong points: can be used to process huge documents while still
+being in tree mode; not bound by DOM or SAX, so it is very perlish and
+offers a very comprehensive set of methods; simple to use; DWIMs as
+much as possible
+
+What it doesn't offer: full SAX support (it can export SAX, but only
+reads XML), full XPath support (unless you use XML::Twig::XPath), nor
+DOM support.
+
+Other drawbacks: it is a big module, and with over 500 methods
+available it can be a bit overwhelming. A good starting point is the
+tutorial at http://xmltwig.com/xmltwig/tutorial/index.html. In fact the
+whole XML::Twig page at http://xmltwig.com/xmltwig/ has plenty of
+information to get you started with XML::Twig
+
+%prep
+%setup -q -n XML-Twig-%{version}
+cp %{SOURCE1001} .
+
+%build
+perl Makefile.PL
+make
+
+# %check
+# make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%remove_docs
+%perl_gen_filelist
+
+%files -f %{name}.files
+%manifest %{name}.manifest