2007-01-15 23:32:12 +00:00
|
|
|
#
|
2010-01-14 15:36:07 +00:00
|
|
|
# spec file for package perl-XML-LibXML (Version 1.70)
|
2007-01-15 23:32:12 +00:00
|
|
|
#
|
2010-01-14 15:36:07 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:12 +00:00
|
|
|
#
|
2009-01-22 15:52:24 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:32:12 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-01-22 15:52:24 +00:00
|
|
|
|
2007-01-15 23:32:12 +00:00
|
|
|
Name: perl-XML-LibXML
|
2008-02-08 19:25:45 +00:00
|
|
|
BuildRequires: libxml2-devel perl-XML-LibXML-Common perl-XML-SAX
|
2010-01-14 15:36:07 +00:00
|
|
|
Version: 1.70
|
2008-02-08 19:25:45 +00:00
|
|
|
Release: 1
|
2007-01-15 23:32:12 +00:00
|
|
|
Requires: perl = %{perl_version} perl-XML-LibXML-Common perl-XML-SAX
|
2008-02-08 19:25:45 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:32:12 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-01-14 15:36:07 +00:00
|
|
|
License: Artistic License ..
|
2008-02-08 19:25:45 +00:00
|
|
|
Url: http://www.cpan.org/modules/by-module/XML/
|
2007-01-15 23:32:12 +00:00
|
|
|
Summary: XML::LibXML Perl Module
|
|
|
|
Source: XML-LibXML-%{version}.tar.bz2
|
2009-01-22 15:52:24 +00:00
|
|
|
Patch: %{name}-utf16.diff
|
2007-01-15 23:32:12 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module implements a Perl interface to the GNOME libxml2 library.
|
|
|
|
The libxml2 library 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-02-08 19:25:45 +00:00
|
|
|
%setup -q -n XML-LibXML-%{version}
|
2009-01-22 15:52:24 +00:00
|
|
|
%patch
|
2007-01-15 23:32:12 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-14 15:36:07 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-02-08 19:25:45 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-01-15 23:32:12 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
%{perl_vendorarch}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-06-03 20:00:10 +00:00
|
|
|
%changelog
|