summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 11:04:35 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 11:05:13 +0900
commit89a2fbc844e13da1fcf9947ef8fdeaeae92adb57 (patch)
tree9a0c0ec79abd2ed0ec6c7ce2afcbe1440463a624
parentf228e79b87b7c5271c468f709e82c3f7d3305a3d (diff)
downloadperl-XML-LibXML-89a2fbc844e13da1fcf9947ef8fdeaeae92adb57.tar.gz
perl-XML-LibXML-89a2fbc844e13da1fcf9947ef8fdeaeae92adb57.tar.bz2
perl-XML-LibXML-89a2fbc844e13da1fcf9947ef8fdeaeae92adb57.zip
Change-Id: I43941146dc85f386eab7b511f302f88af4af6dfb Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/perl-XML-LibXML.manifest5
-rw-r--r--packaging/perl-XML-LibXML.spec70
2 files changed, 75 insertions, 0 deletions
diff --git a/packaging/perl-XML-LibXML.manifest b/packaging/perl-XML-LibXML.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/perl-XML-LibXML.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/perl-XML-LibXML.spec b/packaging/perl-XML-LibXML.spec
new file mode 100644
index 0000000..f3fb2b5
--- /dev/null
+++ b/packaging/perl-XML-LibXML.spec
@@ -0,0 +1,70 @@
+#
+# spec file for package perl-XML-LibXML (Version 1.70)
+#
+# 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/
+#
+
+%define cpan_name XML-LibXML
+Name: perl-XML-LibXML
+Summary: Perl Binding for libxml2
+Version: 2.0134
+Release: 0
+Group: Development/Libraries/Perl
+License: Artistic License ..
+Url: http://search.cpan.org/dist/XML-LibXML/
+Source: %{cpan_name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
+
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: libxml2-devel
+BuildRequires: perl(XML::SAX) >= 0.11
+
+Requires: perl(XML::SAX) >= 0.11
+Provides: perl-XML-LibXML-Common = %{version}
+Obsoletes: perl-XML-LibXML-Common < %{version}
+
+%description
+This module implements a Perl interface to the Gnome libxml2 library which
+provides interfaces for parsing and manipulating XML files. This module allows
+Perl programmers to make use of the highly capable validating XML parser and
+the high performance DOM implementation.
+
+Authors:
+ Matt Sergeant, Christian Glahn, Petr Pajas
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
+%{__make} %{?_smp_mflags}
+
+%check
+# %{__make} test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%doc Changes LICENSE README
+
+%changelog