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
|
|
|
#
|
2009-06-18 15:16:10 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:16 +00:00
|
|
|
#
|
2009-06-18 15:16:10 +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-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
|
|
|
|
|
2009-06-18 15:16:10 +00:00
|
|
|
|
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
|
2009-06-18 15:16:10 +00:00
|
|
|
Release: 60
|
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
|
2009-06-18 15:16:10 +00:00
|
|
|
* Wed Nov 21 2007 anicka@suse.cz
|
2007-11-23 00:58:45 +00:00
|
|
|
- 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
|
2009-06-18 15:16:10 +00:00
|
|
|
* Thu Jul 19 2007 coolo@suse.de
|
2007-07-19 08:04:20 +00:00
|
|
|
- remove explicit lib requires
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon Jul 16 2007 anicka@suse.cz
|
2007-07-18 20:22:11 +00:00
|
|
|
- change dependency on expat to libexpat
|
2009-06-18 15:16:10 +00:00
|
|
|
* Fri Apr 27 2007 aj@suse.de
|
2007-04-27 18:11:17 +00:00
|
|
|
- Add libexpat-devel to BuildRequires.
|
2009-06-18 15:16:10 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:16:10 +00:00
|
|
|
* Thu Feb 26 2004 mjancar@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- update to 2.34
|
2009-06-18 15:16:10 +00:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- build as user
|
2009-06-18 15:16:10 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- require the perl version we build with
|
2009-06-18 15:16:10 +00:00
|
|
|
* Tue Jul 15 2003 mjancar@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- adapt to perl-5.8.1
|
|
|
|
- use %%perl_process_packlist
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon Jun 16 2003 mjancar@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- use $RPM_OPT_FLAGS
|
|
|
|
- fix filelist
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon May 19 2003 ro@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- remove perllocal.pod
|
2009-06-18 15:16:10 +00:00
|
|
|
* Tue Jul 23 2002 prehak@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- update to version 2.31
|
2009-06-18 15:16:10 +00:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- remove race in .packlist generation
|
2009-06-18 15:16:10 +00:00
|
|
|
* Tue Nov 20 2001 rvasice@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- fixed requires
|
2009-06-18 15:16:10 +00:00
|
|
|
* Tue Sep 04 2001 rvasice@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- fixed Group tag to Development/Libraries/Perl
|
2009-06-18 15:16:10 +00:00
|
|
|
* Thu Aug 16 2001 rvasice@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- update to version 2.30
|
2009-06-18 15:16:10 +00:00
|
|
|
* Fri Nov 10 2000 cihlar@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- renamed p_xmlpar -> perl-XML-Parser
|
|
|
|
- bzipped sources
|
|
|
|
- fixed copyright tag
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon Aug 21 2000 ro@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- adapted for perl-5.6
|
2009-06-18 15:16:10 +00:00
|
|
|
* Thu Apr 20 2000 cihlar@suse.cz
|
2007-01-15 23:32:16 +00:00
|
|
|
- added BuildRoot
|
2009-06-18 15:16:10 +00:00
|
|
|
* Thu Jan 20 2000 ro@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- use macro for mandir
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon Jan 10 2000 ke@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- Update: version 2.27.
|
|
|
|
- Use version macro.
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2009-06-18 15:16:10 +00:00
|
|
|
* Mon Aug 23 1999 ro@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- added missing Parser.pm to filelist
|
2009-06-18 15:16:10 +00:00
|
|
|
* Wed Aug 04 1999 ke@suse.de
|
2007-01-15 23:32:16 +00:00
|
|
|
- New package: version 1.23.
|