forked from pool/perl-XML-Parser
Accepting request 19031 from devel:languages:perl
Copy from devel:languages:perl/perl-XML-Parser based on submit request 19031 from user coolo OBS-URL: https://build.opensuse.org/request/show/19031 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
aa4393e1c0
commit
cd9bfa9758
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 19:46:23 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
* removed ^----------
|
||||||
|
* removed ^#---------
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 14 14:49:26 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- some spec mods
|
||||||
|
o fixed summary, description
|
||||||
|
- added perl-macros
|
||||||
|
o autogen filelist with perl_gen_filelist
|
||||||
|
- some rpmlint fixes
|
||||||
|
o file permissions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 21 10:46:59 CET 2007 - anicka@suse.cz
|
Wed Nov 21 10:46:59 CET 2007 - anicka@suse.cz
|
||||||
|
|
||||||
|
|||||||
@@ -19,115 +19,71 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-XML-Parser
|
Name: perl-XML-Parser
|
||||||
BuildRequires: libexpat-devel
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
|
Summary: A perl module for parsing XML documents
|
||||||
Version: 2.36
|
Version: 2.36
|
||||||
Release: 60
|
Release: 61
|
||||||
|
License: Artistic License .. ; GPL v2 or later
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
AutoReqProv: on
|
||||||
|
Url: http://cpan.org/dist/XML-Parser
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
Patch: %{cpan_name}-%{version}.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
Provides: p_xmlpar
|
Provides: p_xmlpar
|
||||||
Obsoletes: p_xmlpar
|
Obsoletes: p_xmlpar
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
Url: http://cpan.org/modules/by-module/XML/
|
|
||||||
License: Artistic License; GPL v2 or later
|
|
||||||
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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a Perl extension interface to James Clark's XML parser, expat.
|
This module provides ways to parse XML documents. It is built on top of
|
||||||
|
XML::Parser::Expat, which is a lower level interface to James Clark's expat
|
||||||
|
library. Each call to one of the parsing methods creates a new instance of
|
||||||
|
XML::Parser::Expat which is then used to parse the document. Expat options may
|
||||||
|
be provided when the XML::Parser object is created. These options are then
|
||||||
|
passed on to the Expat object on each parse call. They can also be given as
|
||||||
|
extra arguments to the parse methods, in which case they override options
|
||||||
|
given at XML::Parser creation time.
|
||||||
|
|
||||||
|
The behavior of the parser is controlled either by "Style" and/or "Handlers"
|
||||||
|
options, or by "setHandlers" method. These all provide mechanisms for
|
||||||
|
XML::Parser to set the handlers needed by XML::Parser::Expat. If neither
|
||||||
|
Style nor Handlers are specified, then parsing just checks the document
|
||||||
|
for being well-formed.
|
||||||
|
|
||||||
|
When underlying handlers get called, they receive as their first parameter
|
||||||
|
the Expat object, not the Parser object.
|
||||||
|
|
||||||
You will find examples in
|
You will find examples in
|
||||||
/usr/share/doc/packages/perl-XML-Parser/samples. For documentation
|
/usr/share/doc/packages/perl-XML-Parser/samples. For documentation
|
||||||
read the XML::Parser and XML::Parser::Expat man pages.
|
read the XML::Parser and XML::Parser::Expat man pages.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
Larry Wall <larry@wall.org>
|
||||||
Larry Wall <larry@wall.org>
|
Clark Cooper <coopercc@netheaven.com>
|
||||||
Clark Cooper <coopercc@netheaven.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n XML-Parser-%{version} -q
|
%setup -n XML-Parser-%{version} -q
|
||||||
%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
make
|
%{__make}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(0644,root,root,0755)
|
||||||
%doc Changes README samples
|
%doc Changes README samples
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorarch}/auto/XML
|
|
||||||
%{perl_vendorarch}/XML
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* 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
|
|
||||||
* Thu Jul 19 2007 coolo@suse.de
|
|
||||||
- remove explicit lib requires
|
|
||||||
* Mon Jul 16 2007 anicka@suse.cz
|
|
||||||
- change dependency on expat to libexpat
|
|
||||||
* Fri Apr 27 2007 aj@suse.de
|
|
||||||
- Add libexpat-devel to BuildRequires.
|
|
||||||
* 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.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user