summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-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