diff --git a/HTML-Parser-3.67.tar.bz2 b/HTML-Parser-3.67.tar.bz2
deleted file mode 100644
index e570633..0000000
--- a/HTML-Parser-3.67.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18
-size 75523
diff --git a/HTML-Parser-3.68.tar.gz b/HTML-Parser-3.68.tar.gz
new file mode 100644
index 0000000..0d2a4f8
--- /dev/null
+++ b/HTML-Parser-3.68.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:430e852cd4e6c5f178e7d60f05fc17419de7cf3192d5ed75df01c47d318e16c2
+size 89289
diff --git a/perl-HTML-Parser.changes b/perl-HTML-Parser.changes
index c6db7ba..e8de8fb 100644
--- a/perl-HTML-Parser.changes
+++ b/perl-HTML-Parser.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org
+
+- replaced auto-generated spec file
+- update to 3.68:
+ * declare the encoding of the POD to be utf8
+
-------------------------------------------------------------------
Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de
diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec
index 95f9905..724169c 100644
--- a/perl-HTML-Parser.spec
+++ b/perl-HTML-Parser.spec
@@ -1,5 +1,5 @@
#
-# spec file for package perl-HTML-Parser (Version 3.67)
+# spec file for package perl-HTML-Parser (Version 3.68)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,38 +15,34 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+# vim: set sw=4 ts=4 et nu:
# norootforbuild
%bcond_with opt
Name: perl-HTML-Parser
-%define cpan_name HTML-Parser
+Version: 3.68
+Release: 0
Summary: HTML parser class
-Version: 3.67
-Release: 1
-License: GPL+ or Artistic
+Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz
+URL: http://search.cpan.org/dist/HTML-Parser
Group: Development/Libraries/Perl
-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
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+License: Perl License
+BuildRoot: %{_tmppath}/build-%{name}-%{version}
+Requires: perl = %{perl_version}
BuildRequires: perl
-%if 0%{?suse_version} < 1120
-BuildRequires: perl-macros
-%endif
+BuildRequires: make
+BuildRequires: perl(Test::More)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(XSLoader)
+BuildRequires: perl(HTML::Tagset) >= 3
+Requires: perl(XSLoader)
+Requires: perl(HTML::Tagset) >= 3
+Recommends: perl(HTML::Headers)
%if %{with opt}
BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(Test::Pod) >= 1.00
%endif
-BuildRequires: perl(HTML::Tagset) >= 3
-BuildRequires: perl(Test::More)
-BuildRequires: perl(XSLoader)
-#
-Requires: perl = %{perl_version}
-Requires: perl(HTML::Tagset) >= 3
-Requires: perl(XSLoader)
-#
-Recommends: perl(HTTP::Headers)
%description
Objects of the HTML::Parser class will recognize markup and separate it
@@ -55,51 +51,49 @@ 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
- deal with the HTML that is actually "out there", and it normally parses as
- closely as possible to the way the popular web browsers do it instead of
- strictly following one of the many HTML specifications from W3C. Where
- there is disagreement, there is often an option that you can enable to
- get the official behaviour.
+deal with the HTML that is actually "out there", and it normally parses as
+closely as possible to the way the popular web browsers do it instead of
+strictly following one of the many HTML specifications from W3C. Where
+there is disagreement, there is often an option that you can enable to
+get the official behaviour.
The document to be parsed may be supplied in arbitrary chunks. This makes
- on-the-fly parsing as documents are received from the network possible.
+on-the-fly parsing as documents are received from the network possible.
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
- a more conventional program structure.
+want to use HTML::PullParser. This is an HTML::Parser subclass that allows
+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
-%setup -q -n %{cpan_name}-%{version}
+%setup -q -n "HTML-Parser-%{version}"
+%__sed -i '/^auto_install/d' Makefile.PL
+
# rpmlint: spurious-executable-perm
-find ./eg -type f -exec %{__chmod} 0644 {} \;
-%{__chmod} 0644 mkpfunc mkhctype
+find ./eg -type f -exec %__chmod 0644 {} \;
+%__chmod 0644 mkpfunc mkhctype
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
-%{__make} %{?_smp_mflags}
-
-%check
-%{__make} test
+%__perl Makefile.PL PREFIX="%{_prefix}"
+%__make %{?jobs:-j%{jobs}}
%install
%perl_make_install
%perl_process_packlist
-%perl_gen_filelist
+
+%check
+%__make test
%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{?buildroot:%__rm -rf "%{buildroot}"}
-%files -f %{name}.files
-%defattr(-,root,root,-)
+%files
+%defattr(-,root,root)
%doc Changes mkhctype mkpfunc README TODO eg
+%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