%define upstream_name HTML-Tiny %define upstream_version 1.05 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: 5 Summary: Lightweight, dependency free HTML/XML generation License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/HTML/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl-devel BuildRequires: perl(Test::More) BuildArch: noarch %description 'HTML::Tiny' is a simple, dependency free module for generating HTML (and XML). It concentrates on generating syntactically correct XHTML using a simple Perl notation. In addition to the HTML generation functions utility functions are provided to * * encode and decode URL encoded strings %prep %setup -q -n %{upstream_name}-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes README %{_mandir}/man3/* %{perl_vendorlib}/* %changelog * Mon Apr 18 2011 Funda Wang 1.50.0-2mdv2011.0 + Revision: 654974 - rebuild for updated spec-helper * Sun Nov 29 2009 Jérôme Quelin 1.50.0-1mdv2011.0 + Revision: 471168 - import perl-HTML-Tiny * Sun Nov 29 2009 cpan2dist 1.05-1mdv - initial mdv release, generated with cpan2dist