2011-04-12 19:53:26 +02:00
|
|
|
#
|
2012-11-29 10:08:43 +01:00
|
|
|
# spec file for package perl-HTML-Tidy
|
2011-04-12 19:53:26 +02:00
|
|
|
#
|
2013-09-26 10:32:39 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-04-12 19:53:26 +02:00
|
|
|
#
|
2011-04-12 20:16:37 +02:00
|
|
|
# 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.
|
|
|
|
|
2011-04-12 19:53:26 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-11-29 10:08:43 +01:00
|
|
|
|
2011-04-12 19:53:26 +02:00
|
|
|
Name: perl-HTML-Tidy
|
2013-09-26 10:32:39 +02:00
|
|
|
Version: 1.56
|
2012-11-29 10:08:43 +01:00
|
|
|
Release: 0
|
2011-04-12 20:16:37 +02:00
|
|
|
%define cpan_name HTML-Tidy
|
|
|
|
Summary: (X)HTML validation in a Perl object
|
2012-11-29 10:08:43 +01:00
|
|
|
License: Artistic-2.0
|
2011-04-12 19:53:26 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2012-11-29 10:08:43 +01:00
|
|
|
Url: http://search.cpan.org/dist/HTML-Tidy/
|
2011-04-12 20:16:37 +02:00
|
|
|
Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tidy-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
# MANUAL
|
|
|
|
BuildRequires: libtidyp-devel
|
2011-04-12 19:53:26 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-04-12 20:16:37 +02:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
BuildRequires: perl(Test::More)
|
2012-11-29 10:08:43 +01:00
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(overload)
|
2011-04-14 10:09:10 +02:00
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: perl(Alien::Tidyp)
|
|
|
|
Requires: perl(LWP::Simple)
|
|
|
|
BuildRequires: perl(LWP::Simple)
|
|
|
|
# MANUAL END
|
2011-04-12 20:16:37 +02:00
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
Requires: perl(Test::Builder)
|
|
|
|
Requires: perl(Test::More)
|
2012-11-29 10:08:43 +01:00
|
|
|
Requires: perl(constant)
|
|
|
|
Requires: perl(overload)
|
2011-04-12 19:53:26 +02:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2011-04-12 20:16:37 +02:00
|
|
|
'HTML::Tidy' is an HTML checker in a handy dandy object. It's meant as a
|
|
|
|
replacement for HTML::Lint. If you're currently an HTML::Lint user looking
|
|
|
|
to migrate, see the section the /Converting from HTML::Lint manpage.
|
2011-04-12 19:53:26 +02:00
|
|
|
|
|
|
|
%prep
|
2011-04-12 20:16:37 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-04-12 19:53:26 +02:00
|
|
|
|
|
|
|
%build
|
2011-04-12 20:16:37 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%{__make} %{?_smp_mflags}
|
2011-04-12 19:53:26 +02:00
|
|
|
|
2011-04-12 20:16:37 +02:00
|
|
|
%check
|
|
|
|
%{__make} test
|
2011-04-12 19:53:26 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2011-04-12 20:16:37 +02:00
|
|
|
%perl_gen_filelist
|
2011-04-12 19:53:26 +02:00
|
|
|
|
|
|
|
%clean
|
2011-04-12 20:16:37 +02:00
|
|
|
%{__rm} -rf %{buildroot}
|
2011-04-12 19:53:26 +02:00
|
|
|
|
2011-04-12 20:16:37 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2011-04-15 09:29:27 +02:00
|
|
|
%doc Changes README.markdown
|
2011-04-12 19:53:26 +02:00
|
|
|
|
|
|
|
%changelog
|