2007-01-15 23:32:17 +00:00
|
|
|
#
|
2007-12-14 16:21:04 +00:00
|
|
|
# spec file for package perl-XML-SAX (Version 0.16)
|
2007-01-15 23:32:17 +00:00
|
|
|
#
|
2007-06-03 20:00:46 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:17 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
|
#
|
2007-06-03 20:00:46 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:32:17 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2007-06-03 20:00:46 +00:00
|
|
|
Name: perl-XML-SAX
|
|
|
|
|
BuildRequires: libxml2-devel perl-XML-NamespaceSupport
|
2007-12-14 16:21:04 +00:00
|
|
|
Version: 0.16
|
|
|
|
|
Release: 1
|
2007-06-03 20:00:46 +00:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
|
Requires: perl-XML-NamespaceSupport
|
2007-12-14 16:21:04 +00:00
|
|
|
AutoReqProv: on
|
2007-06-03 20:00:46 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
License: Artistic License
|
2007-12-14 16:21:04 +00:00
|
|
|
Url: http://www.cpan.org/modules/by-module/XML/
|
2007-06-03 20:00:46 +00:00
|
|
|
Summary: XML::SAX Perl Module
|
|
|
|
|
Source: XML-SAX-%{version}.tar.bz2
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:32:17 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
XML::SAX consists of several framework classes for using and building
|
|
|
|
|
Perl SAX2 XML parsers, filters, and drivers. It is designed around the
|
|
|
|
|
need to be able to "plug in" different SAX parsers to an application
|
|
|
|
|
without requiring programmer intervention. Those of you familiar with
|
|
|
|
|
the DBI will be right at home. Some of the designs come from the Java
|
|
|
|
|
JAXP specification (SAX part), only without the javaness.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n XML-SAX-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL
|
|
|
|
|
make
|
|
|
|
|
#make test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
|
cat << EOF > $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/ParserDetails.ini
|
|
|
|
|
[XML::SAX::PurePerl]
|
|
|
|
|
http://xml.org/sax/features/namespaces = 1
|
|
|
|
|
EOF
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
#rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
|
%{perl_vendorlib}/XML
|
|
|
|
|
%config(noreplace) %{perl_vendorlib}/XML/SAX/ParserDetails.ini
|
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
2007-06-03 20:00:46 +00:00
|
|
|
%changelog
|
2007-12-14 16:21:04 +00:00
|
|
|
* Fri Dec 14 2007 - anicka@suse.cz
|
|
|
|
|
- update to 0.16
|
|
|
|
|
* Applied patch for PI handling from RT#19173
|
|
|
|
|
* Fixed handling of entities in attribute values
|
|
|
|
|
* Cleaned up some benign warnings
|
|
|
|
|
* Fixed CDATA section parsing
|
|
|
|
|
* Fix Makefile.PL for VMS
|
|
|
|
|
* Support calling set_handler() mid-parse
|
|
|
|
|
* Fix for when random modules overload UNIVERSAL::AUTOLOAD()
|
|
|
|
|
* Fix case when ParserDetails.ini isn't being updated but
|
|
|
|
|
we are doing an upgrade.
|
|
|
|
|
* Complete re-write of XML::SAX::PurePerl for performance
|
|
|
|
|
* Support Encoding & XMLVersion in DocumentLocator interface
|
|
|
|
|
* A few conformance tweaks to match perl SAX 2.1.
|
2007-06-03 20:00:46 +00:00
|
|
|
* Fri Jun 01 2007 - coolo@suse.de
|
|
|
|
|
- remove libxml2-test from buildrequires
|
2007-01-15 23:32:17 +00:00
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
|
* Mon Nov 15 2004 - ro@suse.de
|
|
|
|
|
- added perl-XML-NamespaceSupport to nfb and requires
|
|
|
|
|
* Thu Jul 29 2004 - ro@suse.de
|
|
|
|
|
- initial version 0.12
|