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

144 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-XML-DOM (Version 1.44)
#
# Copyright (c) 2009 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: 143
Requires: perl-XML-RegExp perl-libwww-perl
Provides: p_xmldom XML-DOM
Obsoletes: p_xmldom
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
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
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
* Thu Jan 15 2009 anicka@suse.cz
- do not ignore test results (bnc#465994)
* Thu Feb 09 2006 anicka@suse.cz
- require perl-libwww-perl (#149416)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 01 2005 mjancar@suse.cz
- update to 1.44
* Tue Mar 01 2005 mjancar@suse.cz
- require perl-XML-RegExp
* Mon Aug 16 2004 ro@suse.de
- ignore testsuite output for the moment
to build dependant packages
* Thu Feb 26 2004 mjancar@suse.cz
- update to 1.43
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Jul 18 2003 poeml@suse.de
- use install_vendor and new %%perl_process_packlist macro
* Mon Jun 16 2003 mjancar@suse.cz
- fix filelist
* Mon May 19 2003 ro@suse.de
- remove perllocal.pod
* Fri Dec 27 2002 prehak@suse.cz
- updated to version 1.42
- reenabled make test except fot one test
* Wed Jul 31 2002 mls@suse.de
- disable 'make test' for now as unicode stuff seems to be
incompatible with perl-5.8.0. Waiting for new release...
* Tue Jul 23 2002 prehak@suse.cz
- update to version 1.39
- enabled make test
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue Jan 15 2002 rvasice@suse.cz
- update to version 1.36
* Thu Aug 16 2001 rvasice@suse.cz
- update to 1.31
* Fri Nov 10 2000 cihlar@suse.cz
- renamed p_xmldom -> perl-XML-DOM
- bzipped sources
- fixed file list
* Mon Aug 21 2000 ro@suse.de
- adapted for perl-5.6
* Thu Apr 20 2000 cihlar@suse.cz
- added BuildRoot
* Fri Jan 21 2000 ro@suse.de
- fixed filelist: use macro for mandir
* Tue Jan 18 2000 ke@suse.de
- Fix %%files list.
* Mon Jan 10 2000 ke@suse.de
- Update: version 1.25.
- Use %%{version} instead %%{ver} (predefined).
* Mon Jan 10 2000 ke@suse.de
- Add missing DOM.pm to the %%files list (#1630).
- Use version macro.
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Aug 04 1999 ke@suse.de
- New package: version 1.23.