8
0

Accepting request 45996 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-HTML-Parser via accept of submit request 45996 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/45996
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=18
This commit is contained in:
Christian Wittmer
2010-08-23 12:32:28 +00:00
committed by Git OBS Bridge
parent 9c4dce89e9
commit ee923a797b
2 changed files with 38 additions and 15 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
- added bcond_with opt
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 18 09:14:32 CEST 2010 - dmueller@suse.de Wed Aug 18 09:14:32 CEST 2010 - dmueller@suse.de

View File

@@ -1,5 +1,5 @@
# #
# spec file for package perl-HTML-Parser (Version 3.66) # spec file for package perl-HTML-Parser (Version 3.67)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@@ -17,32 +17,42 @@
# norootforbuild # norootforbuild
%bcond_with opt
Name: perl-HTML-Parser Name: perl-HTML-Parser
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name HTML-Parser
Summary: HTML parser class Summary: HTML parser class
Version: 3.67 Version: 3.67
Release: 1 Release: 1
License: Artistic License .. License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.org/dist/HTML-Parser Url: http://search.cpan.org/dist/HTML-Parser/
#Source: http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Test::More) %endif
%if %{with opt}
BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
%endif
BuildRequires: perl(HTML::Tagset) >= 3 BuildRequires: perl(HTML::Tagset) >= 3
BuildRequires: perl(Test::More)
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
#
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Requires: perl(HTML::Tagset) >= 3 Requires: perl(HTML::Tagset) >= 3
Requires: perl(XSLoader) Requires: perl(XSLoader)
Requires: perl(HTTP::Headers) #
Recommends: perl(HTTP::Headers)
%description %description
Objects of the HTML::Parser class will recognize markup and separate it from Objects of the HTML::Parser class will recognize markup and separate it
plain text (alias data content) in HTML documents. As different kinds of from plain text (alias data content) in HTML documents. As different
markup and text are recognized, the corresponding event handlers are invoked. kinds of markup and text are recognized, the corresponding event handlers
are invoked.
HTML::Parser is not a generic SGML parser. We have tried to make it able to HTML::Parser is not a generic SGML parser. We have tried to make it able to
deal with the HTML that is actually "out there", and it normally parses as deal with the HTML that is actually "out there", and it normally parses as
@@ -58,17 +68,23 @@ If event driven parsing does not feel right for your application, you might
want to use HTML::PullParser. This is an HTML::Parser subclass that allows want to use HTML::PullParser. This is an HTML::Parser subclass that allows
a more conventional program structure. a more conventional program structure.
Authors: libwww@perl.org Authors:
--------
libwww@perl.org
COPYRIGHT COPYRIGHT
© 1995-2008 Gisle Aas. All rights reserved. © 1995-2008 Gisle Aas. All rights reserved.
© 1999-2000 Michael A. Chase. All rights reserved. © 1999-2000 Michael A. Chase. All rights reserved.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# rpmlint: spurious-executable-perm
find ./eg -type f -exec %{__chmod} 0644 {} \;
%{__chmod} 0644 mkpfunc mkhctype
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@@ -83,7 +99,7 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(0644,root,root,0755) %defattr(-,root,root,-)
%doc Changes README TODO eg %doc Changes mkhctype mkpfunc README TODO eg
%changelog %changelog