forked from pool/perl-HTML-SimpleParse
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-SimpleParse?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
HTML-SimpleParse-0.12.tar.bz2
Normal file
3
HTML-SimpleParse-0.12.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b41363ce2810a9025757ecfd4e59c4c82e4f1aecbea86f539f24fd4adbe0601b
|
||||
size 8216
|
59
perl-HTML-SimpleParse.changes
Normal file
59
perl-HTML-SimpleParse.changes
Normal file
@@ -0,0 +1,59 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:39:44 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 12:19:00 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 22 14:53:48 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- require the perl version we build with
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 13:18:19 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- update to 0.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 15:37:23 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- adapt to perl-5.8.1
|
||||
- use %perl_process_packlist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 12:40:37 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- update to 0.11
|
||||
- fix filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 22 18:31:08 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- package omited SuSEconfig file
|
||||
- dont package MANIFEST
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 12:40:09 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- remove unpackaged files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
|
||||
|
||||
- remove race in .packlist generation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 18 13:15:00 CET 2002 - rvasice@suse.cz
|
||||
|
||||
- spec file cleanup
|
||||
- bzip sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 17 14:22:55 MET 2000 - rolf@suse.de
|
||||
|
||||
- extracted from perlmod package
|
||||
|
104
perl-HTML-SimpleParse.spec
Normal file
104
perl-HTML-SimpleParse.spec
Normal file
@@ -0,0 +1,104 @@
|
||||
#
|
||||
# spec file for package perl-HTML-SimpleParse (Version 0.12)
|
||||
#
|
||||
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# usedforbuild aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils cracklib gcc gdbm gettext libtool perl rpm
|
||||
|
||||
Name: perl-HTML-SimpleParse
|
||||
Version: 0.12
|
||||
Release: 71
|
||||
Provides: HTML-SimpleParse
|
||||
Conflicts: perlmod
|
||||
Requires: perl = %{perl_version}
|
||||
Autoreqprov: on
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License
|
||||
URL: http://cpan.org/modules/by-module/HTML/
|
||||
Summary: a bare-bones HTML parser
|
||||
Source: HTML-SimpleParse-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This is the HTML::SimpleParse module. It is a bare-bones HTML parser,
|
||||
similar to HTML::Parser, but with a couple important distinctions:
|
||||
|
||||
First, HTML::Parser knows which tags can contain other tags, which
|
||||
start tags have corresponding end tags, which tags can exist only in
|
||||
the <HEAD> portion of the document, and so forth. HTML::SimpleParse
|
||||
does not know any of these things. It just finds tags and text in the
|
||||
HTML you give it, it does not care about the specific content of these
|
||||
tags (though it does distiguish between different _types_ of tags, such
|
||||
as comments, starting tags like <b>, ending tags like </b>, and so on).
|
||||
|
||||
Second, HTML::SimpleParse does not create a hierarchical tree of HTML
|
||||
content, but rather a simple linear list. It does not pay any
|
||||
attention to balancing start tags with corresponding end tags, or which
|
||||
pairs of tags are inside other pairs of tags.
|
||||
|
||||
Because of these characteristics, you can make a very effective HTML
|
||||
filter by sub-classing HTML::SimpleParse.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ken Williams <ken@forum.swarthmore.edu>
|
||||
|
||||
%prep
|
||||
%setup -n HTML-SimpleParse-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make all
|
||||
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
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/HTML
|
||||
%{perl_vendorarch}/auto/HTML
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog -n perl-HTML-SimpleParse
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Sun Jan 11 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Fri Aug 22 2003 - mjancar@suse.cz
|
||||
- require the perl version we build with
|
||||
* Thu Jul 24 2003 - mjancar@suse.cz
|
||||
- update to 0.12
|
||||
* Tue Jul 15 2003 - mjancar@suse.cz
|
||||
- adapt to perl-5.8.1
|
||||
- use %%perl_process_packlist
|
||||
* Wed Jun 18 2003 - mjancar@suse.cz
|
||||
- update to 0.11
|
||||
- fix filelist
|
||||
* Thu May 22 2003 - mjancar@suse.cz
|
||||
- package omited SuSEconfig file
|
||||
- dont package MANIFEST
|
||||
* Tue May 20 2003 - mjancar@suse.cz
|
||||
- remove unpackaged files
|
||||
* Tue Jul 02 2002 - mls@suse.de
|
||||
- remove race in .packlist generation
|
||||
* Fri Jan 18 2002 - rvasice@suse.cz
|
||||
- spec file cleanup
|
||||
- bzip sources
|
||||
* Fri Nov 17 2000 - rolf@suse.de
|
||||
- extracted from perlmod package
|
Reference in New Issue
Block a user