From 89a2fbc844e13da1fcf9947ef8fdeaeae92adb57 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 20 Jan 2020 11:04:35 +0900 Subject: Bump to perl-XML-LibXML 2.0134 Change-Id: I43941146dc85f386eab7b511f302f88af4af6dfb Signed-off-by: DongHun Kwak --- packaging/perl-XML-LibXML.manifest | 5 +++ packaging/perl-XML-LibXML.spec | 70 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 packaging/perl-XML-LibXML.manifest create mode 100644 packaging/perl-XML-LibXML.spec 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 @@ + + + + + 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 -- cgit v1.2.3