8
0
Christian Wittmer
2010-09-06 09:36:50 +00:00
committed by Git OBS Bridge
parent c0dbb6703a
commit 5c5ae7b1af
2 changed files with 44 additions and 34 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 6 09:35:03 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
- fix deps
o Recommends HTTP::Headers not HTML::Headers
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -15,34 +15,37 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# vim: set sw=4 ts=4 et nu:
# norootforbuild # norootforbuild
%bcond_with opt %bcond_with opt
Name: perl-HTML-Parser Name: perl-HTML-Parser
Version: 3.68 %define cpan_name HTML-Parser
Release: 0
Summary: HTML parser class Summary: HTML parser class
Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.bz2 Version: 3.68
URL: http://search.cpan.org/dist/HTML-Parser Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License Url: http://search.cpan.org/dist/HTML-Parser/
BuildRoot: %{_tmppath}/build-%{name}-%{version} #Source: http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{version}.tar.gz
Requires: perl = %{perl_version} Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: make %if 0%{?suse_version} < 1120
BuildRequires: perl(Test::More) BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) %endif
BuildRequires: perl(XSLoader)
BuildRequires: perl(HTML::Tagset) >= 3
Requires: perl(XSLoader)
Requires: perl(HTML::Tagset) >= 3
Recommends: perl(HTML::Headers)
%if %{with opt} %if %{with opt}
BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
%endif %endif
BuildRequires: perl(Test::More)
BuildRequires: perl(HTML::Tagset) >= 3
BuildRequires: perl(XSLoader)
#
Requires: perl = %{perl_version}
Requires: perl(HTML::Tagset) >= 3
Requires: perl(XSLoader)
Recommends: perl(HTTP::Headers)
%description %description
Objects of the HTML::Parser class will recognize markup and separate it Objects of the HTML::Parser class will recognize markup and separate it
@@ -64,36 +67,36 @@ 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
COPYRIGHT
© 1995-2008 Gisle Aas. All rights reserved.
© 1999-2000 Michael A. Chase. All rights reserved.
%prep %prep
%setup -q -n "HTML-Parser-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL
# rpmlint: spurious-executable-perm # rpmlint: spurious-executable-perm
find ./eg -type f -exec %__chmod 0644 {} \; find ./eg -type f -exec %__chmod 0644 {} \;
%__chmod 0644 mkpfunc mkhctype %__chmod 0644 mkpfunc mkhctype
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean %clean
%{?buildroot:%__rm -rf "%{buildroot}"} %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc Changes mkhctype mkpfunc README TODO eg %doc Changes mkhctype mkpfunc README TODO
%dir %{perl_vendorarch}/HTML
%{perl_vendorarch}/HTML/*.pm
%dir %{perl_vendorarch}/auto/HTML
%{perl_vendorarch}/auto/HTML/Parser
%doc %{perl_man3dir}/HTML::*.%{perl_man3ext}%{ext_man}
/var/adm/perl-modules/%{name}
%changelog