2007-01-15 23:32:11 +00:00
|
|
|
#
|
2011-11-17 15:56:29 +00:00
|
|
|
# spec file for package perl-XML-DOM
|
2007-01-15 23:32:11 +00:00
|
|
|
#
|
2011-11-17 15:56:29 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:11 +00:00
|
|
|
#
|
2009-01-16 00:51:50 +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:11 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-01-16 00:51:50 +00:00
|
|
|
|
2007-01-15 23:32:11 +00:00
|
|
|
Name: perl-XML-DOM
|
2010-08-01 15:17:56 +00:00
|
|
|
%define cpan_name XML-DOM
|
|
|
|
Summary: Perl module for building DOM Level 1 compliant document structures
|
2007-01-15 23:32:11 +00:00
|
|
|
Version: 1.44
|
2011-11-11 11:24:27 +00:00
|
|
|
Release: 153
|
2010-01-11 15:22:15 +00:00
|
|
|
License: Artistic
|
2010-08-01 15:17:56 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/XML-DOM/
|
|
|
|
#Source: http://www.cpan.org/modules/by-module/XML/XML-DOM-%{version}.tar.gz
|
2011-11-17 15:56:29 +00:00
|
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
2010-08-01 15:17:56 +00:00
|
|
|
BuildArch: noarch
|
2007-01-15 23:32:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:55:57 +00:00
|
|
|
%{perl_requires}
|
2010-08-01 15:17:56 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
|
|
|
BuildRequires: perl(XML::Parser) >= 2.30
|
|
|
|
BuildRequires: perl(XML::Parser::PerlSAX) >= 0.07
|
|
|
|
BuildRequires: perl(XML::RegExp)
|
|
|
|
Requires: perl(LWP::UserAgent)
|
|
|
|
Requires: perl(XML::Parser) >= 2.30
|
|
|
|
Requires: perl(XML::Parser::PerlSAX) >= 0.07
|
|
|
|
Requires: perl(XML::RegExp)
|
|
|
|
# Provides: p_xmldom XML-DOM
|
|
|
|
# Obsoletes: p_xmldom
|
2007-01-15 23:32:11 +00:00
|
|
|
|
|
|
|
%description
|
2010-08-01 15:17:56 +00:00
|
|
|
This module extends the XML::Parser module by Clark Cooper. The XML::Parser
|
|
|
|
module is built on top of XML::Parser::Expat, which is a lower level
|
|
|
|
interface to James Clark's expat library.
|
2007-01-15 23:32:11 +00:00
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Enno Derksen <enno@att.com>
|
|
|
|
Clark Cooper <coopercc@netheaven.com>
|
|
|
|
|
|
|
|
%prep
|
2010-08-01 15:17:56 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:32:11 +00:00
|
|
|
|
|
|
|
%build
|
2010-08-01 15:17:56 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
2009-01-16 00:51:50 +00:00
|
|
|
|
|
|
|
%check
|
2010-08-01 15:17:56 +00:00
|
|
|
%{__make} test
|
2007-01-15 23:32:11 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2010-08-01 15:17:56 +00:00
|
|
|
# do not perl_process_packlist (noarch)
|
|
|
|
# remove .packlist file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
|
|
# remove perllocal.pod file
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
|
|
%perl_gen_filelist
|
2007-01-15 23:32:11 +00:00
|
|
|
|
|
|
|
%clean
|
2010-08-01 15:17:56 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-15 23:32:11 +00:00
|
|
|
|
2010-08-01 15:17:56 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc BUGS Changes FAQ.xml README XML-Parser-2.31.patch
|
2007-01-15 23:32:11 +00:00
|
|
|
|
2009-01-16 00:51:50 +00:00
|
|
|
%changelog
|