2007-01-15 23:32:16 +00:00
|
|
|
#
|
2007-11-23 00:58:45 +00:00
|
|
|
# spec file for package perl-XML-Parser (Version 2.36)
|
2007-01-15 23:32:16 +00:00
|
|
|
#
|
2007-04-27 18:11:17 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:16 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2007-04-27 18:11:17 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:32:16 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2007-04-27 18:11:17 +00:00
|
|
|
Name: perl-XML-Parser
|
|
|
|
BuildRequires: libexpat-devel
|
2007-11-23 00:58:45 +00:00
|
|
|
Version: 2.36
|
|
|
|
Release: 1
|
2007-04-27 18:11:17 +00:00
|
|
|
Provides: p_xmlpar
|
|
|
|
Obsoletes: p_xmlpar
|
|
|
|
Requires: perl = %{perl_version}
|
2007-11-23 00:58:45 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
Url: http://cpan.org/modules/by-module/XML/
|
|
|
|
License: Artistic License; GPL v2 or later
|
2007-04-27 18:11:17 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Summary: XML Parser (Perl Module)
|
|
|
|
Source: XML-Parser-%{version}.tar.bz2
|
|
|
|
Patch: XML-Parser-%{version}.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:32:16 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is a Perl extension interface to James Clark's XML parser, expat.
|
|
|
|
|
|
|
|
You will find examples in
|
|
|
|
/usr/share/doc/packages/perl-XML-Parser/samples. For documentation
|
|
|
|
read the XML::Parser and XML::Parser::Expat man pages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Larry Wall <larry@wall.org>
|
|
|
|
Clark Cooper <coopercc@netheaven.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n XML-Parser-%{version} -q
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README samples
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
%{perl_vendorarch}/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-04-27 18:11:17 +00:00
|
|
|
%changelog
|
2007-11-23 00:58:45 +00:00
|
|
|
* Wed Nov 21 2007 - anicka@suse.cz
|
|
|
|
- update to 2.36
|
|
|
|
* Fix for Carp::Heavy bugs
|
|
|
|
* Added license in Makefile.PL
|
|
|
|
* Makefile.PL also searches for expat in C:/lib/Expat-2.0.0
|
|
|
|
* No longer uses variable named 'namespace' in Expat.xs
|
2007-07-19 08:04:20 +00:00
|
|
|
* Thu Jul 19 2007 - coolo@suse.de
|
|
|
|
- remove explicit lib requires
|
2007-07-18 20:22:11 +00:00
|
|
|
* Mon Jul 16 2007 - anicka@suse.cz
|
|
|
|
- change dependency on expat to libexpat
|
2007-04-27 18:11:17 +00:00
|
|
|
* Fri Apr 27 2007 - aj@suse.de
|
|
|
|
- Add libexpat-devel to BuildRequires.
|
2007-01-15 23:32:16 +00:00
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Thu Feb 26 2004 - mjancar@suse.cz
|
|
|
|
- update to 2.34
|
|
|
|
* Sun Jan 11 2004 - adrian@suse.de
|
|
|
|
- build as user
|
|
|
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
|
|
|
- require the perl version we build with
|
|
|
|
* Tue Jul 15 2003 - mjancar@suse.cz
|
|
|
|
- adapt to perl-5.8.1
|
|
|
|
- use %%perl_process_packlist
|
|
|
|
* Mon Jun 16 2003 - mjancar@suse.cz
|
|
|
|
- use $RPM_OPT_FLAGS
|
|
|
|
- fix filelist
|
|
|
|
* Mon May 19 2003 - ro@suse.de
|
|
|
|
- remove perllocal.pod
|
|
|
|
* Tue Jul 23 2002 - prehak@suse.cz
|
|
|
|
- update to version 2.31
|
|
|
|
* Tue Jul 02 2002 - mls@suse.de
|
|
|
|
- remove race in .packlist generation
|
|
|
|
* Tue Nov 20 2001 - rvasice@suse.cz
|
|
|
|
- fixed requires
|
|
|
|
* Tue Sep 04 2001 - rvasice@suse.cz
|
|
|
|
- fixed Group tag to Development/Libraries/Perl
|
|
|
|
* Thu Aug 16 2001 - rvasice@suse.cz
|
|
|
|
- update to version 2.30
|
|
|
|
* Fri Nov 10 2000 - cihlar@suse.cz
|
|
|
|
- renamed p_xmlpar -> perl-XML-Parser
|
|
|
|
- bzipped sources
|
|
|
|
- fixed copyright tag
|
|
|
|
* Mon Aug 21 2000 - ro@suse.de
|
|
|
|
- adapted for perl-5.6
|
|
|
|
* Thu Apr 20 2000 - cihlar@suse.cz
|
|
|
|
- added BuildRoot
|
|
|
|
* Thu Jan 20 2000 - ro@suse.de
|
|
|
|
- use macro for mandir
|
|
|
|
* Mon Jan 10 2000 - ke@suse.de
|
|
|
|
- Update: version 2.27.
|
|
|
|
- Use version macro.
|
|
|
|
* Mon Sep 13 1999 - bs@suse.de
|
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
|
|
* Mon Aug 23 1999 - ro@suse.de
|
|
|
|
- added missing Parser.pm to filelist
|
|
|
|
* Wed Aug 04 1999 - ke@suse.de
|
|
|
|
- New package: version 1.23.
|