Blob Blame History Raw
Name:		perl-TeX-Encode
Version:	1.3
Release:	2%{?dist}
Summary:	Encoding to LaTeX escapes
License:	GPL+ or Artistic
Group:		Development/Libraries
BuildArch:	noarch
BuildRequires:	coreutils, findutils, make, perl
BuildRequires:	perl(Carp), perl(Encode), perl(strict), perl(vars)
BuildRequires:	perl(ExtUtils::MakeMaker)
BuildRequires:	perl(Pod::LaTeX) >= 0.56
BuildRequires:	perl(HTML::Parser) >= 3.35
BuildRequires:	perl(Test::More) >= 0.1
BuildRequires:	perl(Test::Pod) >= 1.00
BuildRequires:	perl(Test::Pod::Coverage)
BuildRequires:	perl(Encode::Encoding) >= 0.1
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

This module provides encoding to LaTeX escapes from utf8 using mapping tables
in Pod::LaTeX and HTML::Entities. This covers only a subset of the Unicode 
character table (undefined warnings will occur for non-mapped chars).

Mileage will vary when decoding (converting LaTeX to utf8), as LaTeX is in
essence a programming language, and this module does not implement LaTeX.

%setup -q -n TeX-Encode-%{version}

perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*

make test

%doc Changes README

* Tue Sep 15 2015 Tom Callaway <> - 1.3-2
- minor specfile cleanups

* Mon Sep 14 2015 Tom Callaway <> - 1.3-1
- initial package