8
0
Christian Wittmer
2010-11-11 11:03:06 +00:00
committed by Git OBS Bridge
parent 0e9c3c5731
commit 18cb8de1da
2 changed files with 82 additions and 54 deletions

View File

@@ -1,32 +1,39 @@
-------------------------------------------------------------------
Wed Jun 21 00:00:00 UTC 2006 - jfunk@funktronics.ca
Thu Nov 11 10:56:08 UTC 2010 - chris@computersalat.de
- Update
- recreated by cpanspec 1.78.02
o fix deps
- move changelog to changes file
-------------------------------------------------------------------
Fri Nov 11 00:00:00 UTC 2005 - jfunk@funktronics.ca
Wed Jun 21 21:14:41 UTC 2006 - jfunk@funktronics.ca
- Update
- Update to 3.15
-------------------------------------------------------------------
Fri Nov 11 23:44:24 UTC 2005 - jfunk@funktronics.ca
- Update to 3.14
- Build for SL10
-------------------------------------------------------------------
Thu May 12 00:00:00 UTC 2005 - jfunk@funktronics.ca
Thu May 12 14:33:16 UTC 2005 - jfunk@funktronics.ca
- Build for SL93
-------------------------------------------------------------------
Fri Nov 19 00:00:00 UTC 2004 - jfunk@funktronics.ca
Fri Nov 19 18:28:27 UTC 2004 - jfunk@funktronics.ca
- Update
- Update to 3.13
- Build for SL92
-------------------------------------------------------------------
Tue May 11 00:00:00 UTC 2004 - jfunk@funktronics.ca
Tue May 11 10:50:41 UTC 2004 - jfunk@funktronics.ca
- Build for SL91
-------------------------------------------------------------------
Wed Apr 14 00:00:00 UTC 2004 - jfunk@funktronics.ca
Wed Apr 14 17:48:20 UTC 2004 - jfunk@funktronics.ca
- Initial release
- Initial release 2.2

View File

@@ -1,14 +1,55 @@
%define modname HTML-TokeParser-Simple
Name: perl-%{modname}
Version: 3.15
Release: 1
#
# spec file for package perl-HTML-TokeParser-Simple (Version 3.15)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with pod
Name: perl-HTML-TokeParser-Simple
%define cpan_name HTML-TokeParser-Simple
Summary: Easy to use HTML::TokeParser interface
Requires: perl = %{perl_version} perl-HTML-Parser perl-Sub-Override
BuildRequires: perl perl-HTML-Parser perl-Sub-Override
License: GPL/Artistic
Version: 3.15
Release: 2
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
Url: http://search.cpan.org/dist/HTML-TokeParser-Simple/
#Source: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/HTML-TokeParser-Simple-3.15.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage)
%endif
BuildRequires: perl(Test::More)
#
BuildRequires: perl(HTML::Parser) >= 3.25
BuildRequires: perl(HTML::TokeParser) >= 2.24
BuildRequires: perl(Sub::Override)
#
Requires: perl = %{perl_version}
Requires: perl(HTML::Parser) >= 3.25
Requires: perl(HTML::TokeParser) >= 2.24
Requires: perl(Sub::Override)
%description
HTML::TokeParser::Simple is a subclass of HTML::TokeParser that uses
@@ -27,47 +68,27 @@ Authors:
Curtis "Ovid" Poe <poec@yahoo.com>
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n %{cpan_name}-%{version}
### rpmlint:
# wrong-file-end-of-line-encoding
%{__perl} -pi -e 's|\r\n|\n|' Changes README
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
rm -rf %{buildroot}
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README Changes
%doc %{_mandir}/man?/*
%{perl_vendorlib}/HTML/TokeParser
%{perl_vendorarch}/auto/HTML/TokeParser
/var/adm/perl-modules/%{name}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README
%changelog
* Wed Jun 21 2006 - James Oakley <jfunk@funktronics.ca> - 3.15-1
- Update
* Fri Nov 11 2005 - James Oakley <jfunk@funktronics.ca> - 3.14-ft.1
- Update
- Build for SL10
* Thu May 12 2005 - James Oakley <jfunk@funktronics.ca> - 3.13-ft.2
- Build for SL93
* Fri Nov 19 2004 - James Oakley <jfunk@funktronics.ca> - 3.13-ft.1
- Update
- Build for SL92
* Tue May 11 2004 - James Oakley <jfunk@funktronics.ca> - 2.2-2
- Build for SL91
* Wed Apr 14 2004 - James Oakley <jfunk@funktronics.ca> - 2.2-1
- Initial release