8
0
forked from pool/perl-XML-DOM
Files
perl-XML-DOM/perl-XML-DOM.spec

84 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-XML-DOM (Version 1.44)
#
# 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/
#
# norootforbuild
Name: perl-XML-DOM
BuildRequires: perl-Parse-Yapp perl-XML-RegExp perl-libwww-perl perl-libxml-perl
Version: 1.44
Release: 145
Requires: perl-XML-RegExp perl-libwww-perl
Provides: p_xmldom XML-DOM
Obsoletes: p_xmldom
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/XML/
Summary: Perl Extension to XML::Parser
Source: XML-DOM-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
http://www.w3.org/DOM/
This is a Perl extension to XML::Parser. It adds a new 'Style' to
XML::Parser, called 'Dom,' that allows XML::Parser to build an Object
Oriented datastructure with a DOM Level 1 compliant interface.
This is a beta version and although there will not be any major API
changes, minor changes may occur as we get feedback from the people on
the perl-xml mailing list. [You can subscribe to this list by sending a
message to subscribe-perl-xml@lyris.activestate.com.]
For documentation read the manpages XML::Dom and XML::DOM::UTF8.
Authors:
--------
Enno Derksen <enno@att.com>
Clark Cooper <coopercc@netheaven.com>
%prep
%setup -n XML-DOM-%{version} -q
%build
perl Makefile.PL
make %{?_smp_mflags}
mv t/dom_jp_print.t t/dom_jp_print.tt # test rejected due to problems with UTF-8
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc BUGS Changes FAQ.xml README samples
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/XML-DOM
%{perl_vendorlib}/XML
/var/adm/perl-modules/perl-XML-DOM
%changelog