Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release-src > by-pkgid > 433072631bda21accdbae5e05c42247f > files > 1

perl-HTML-TextToHTML-2.510.0-1.mga1.src.rpm

%define upstream_name    txt2html
%define module_name      HTML-TextToHTML
%define upstream_version 2.51

Name:       perl-%{module_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Convert plain text file to HTML
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

Provides:   %{upstream_name}
BuildArch:  noarch
# dependencies of txt2html script, not gathered automatically because of #52267
Requires:   perl(Pod::Usage)
Requires:   perl(Getopt::Long)
Requires:   perl(File::Basename)
Requires:   perl(Getopt::ArgvFile)

%description
HTML::TextToHTML converts plain text files to HTML. The txt2html
script uses this module to do the same from the command-line.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc README Changes TODO META.yml
%{_bindir}/txt2html
%{_mandir}/man1/txt2html.1*
%{_mandir}/man3/HTML*
%perl_vendorlib/HTML*

%changelog
* Thu Jan 20 2011 jquelin <jquelin> 2.510.0-1.mga1
+ Revision: 26341
- mageia rebuild
- imported package perl-HTML-TextToHTML


* Tue Jul 14 2009 Anssi Hannula <anssi@mandriva.org> 2.510.0-1mdv2010.0
+ Revision: 395994
- initial Mandriva release