forked from pool/perl-HTML-TokeParser-Simple
cpanspec, fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-TokeParser-Simple?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
0e9c3c5731
commit
18cb8de1da
@@ -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
|
- 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
|
- 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
|
- 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
|
- 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
|
||||||
|
|
||||||
|
@@ -1,14 +1,55 @@
|
|||||||
%define modname HTML-TokeParser-Simple
|
#
|
||||||
Name: perl-%{modname}
|
# spec file for package perl-HTML-TokeParser-Simple (Version 3.15)
|
||||||
Version: 3.15
|
#
|
||||||
Release: 1
|
# 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
|
Summary: Easy to use HTML::TokeParser interface
|
||||||
Requires: perl = %{perl_version} perl-HTML-Parser perl-Sub-Override
|
Version: 3.15
|
||||||
BuildRequires: perl perl-HTML-Parser perl-Sub-Override
|
Release: 2
|
||||||
License: GPL/Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: %{modname}-%{version}.tar.bz2
|
Url: http://search.cpan.org/dist/HTML-TokeParser-Simple/
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
#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
|
%description
|
||||||
HTML::TokeParser::Simple is a subclass of HTML::TokeParser that uses
|
HTML::TokeParser::Simple is a subclass of HTML::TokeParser that uses
|
||||||
@@ -27,47 +68,27 @@ Authors:
|
|||||||
Curtis "Ovid" Poe <poec@yahoo.com>
|
Curtis "Ovid" Poe <poec@yahoo.com>
|
||||||
|
|
||||||
%prep
|
%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
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Build.PL installdirs=vendor
|
||||||
make
|
./Build build flags=%{?_smp_mflags}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_gen_filelist
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%doc README Changes
|
%doc Changes README
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorlib}/HTML/TokeParser
|
|
||||||
%{perl_vendorarch}/auto/HTML/TokeParser
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%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
|
|
||||||
|
Reference in New Issue
Block a user