summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 11:01:51 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 11:01:51 +0900
commit83fab94a2f9aec86fcefe829787657fdad55137e (patch)
tree5a9a08f111c14968977aa7a190831f103d622baa
parent8dddb7a28de5ffaaa5aa18bb5b2b70df7af35249 (diff)
downloadperl-XML-SAX-accepted/tizen_7.0_unified.tar.gz
perl-XML-SAX-accepted/tizen_7.0_unified.tar.bz2
perl-XML-SAX-accepted/tizen_7.0_unified.zip
Change-Id: I9a94e6840c16e30e0ed3c56ccb8b21eff0221b84 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/perl-XML-SAX.manifest5
-rw-r--r--packaging/perl-XML-SAX.spec74
2 files changed, 79 insertions, 0 deletions
diff --git a/packaging/perl-XML-SAX.manifest b/packaging/perl-XML-SAX.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/perl-XML-SAX.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/perl-XML-SAX.spec b/packaging/perl-XML-SAX.spec
new file mode 100644
index 0000000..e94b2f6
--- /dev/null
+++ b/packaging/perl-XML-SAX.spec
@@ -0,0 +1,74 @@
+#
+# spec file for package perl-XML-SAX (Version 0.96)
+#
+# Copyright (c) 2010 SUSE LINUX Products 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/
+#
+
+Name: perl-XML-SAX
+Version: 1.02
+Release: 6
+Group: Development/Libraries/Perl
+License: Artistic License ..
+Url: http://www.cpan.org/modules/by-module/XML/
+Summary: XML::SAX Perl Module
+Source: XML-SAX-%{version}.tar.bz2
+Source1001: %{name}.manifest
+
+BuildRequires: libxml2-devel
+BuildRequires: perl-XML-NamespaceSupport
+BuildRequires: perl-macros
+
+Requires: perl-XML-NamespaceSupport
+
+%description
+XML::SAX consists of several framework classes for using and building
+Perl SAX2 XML parsers, filters, and drivers. It is designed around the
+need to be able to "plug in" different SAX parsers to an application
+without requiring programmer intervention. Those of you familiar with
+the DBI will be right at home. Some of the designs come from the Java
+JAXP specification (SAX part), only without the javaness.
+
+%prep
+%setup -q -n XML-SAX-%{version}
+cp %{SOURCE1001} .
+
+%build
+perl Makefile.PL
+make %{?_smp_mflags}
+
+%check
+# make test
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install_vendor
+cat << EOF > $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/ParserDetails.ini
+[XML::SAX::PurePerl]
+http://xml.org/sax/features/namespaces = 1
+EOF
+%perl_process_packlist
+
+%remove_docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license LICENSE
+%{perl_vendorlib}/XML
+%config(noreplace) %{perl_vendorlib}/XML/SAX/ParserDetails.ini
+%{perl_vendorarch}/auto/XML
+
+%changelog