|
|
1201352 |
Name: perl-TeX-Encode
|
|
|
1201352 |
Version: 1.3
|
|
|
1201352 |
Release: 2%{?dist}
|
|
|
1201352 |
Summary: Encoding to LaTeX escapes
|
|
|
1201352 |
License: GPL+ or Artistic
|
|
|
1201352 |
URL: http://search.cpan.org/dist/TeX-Encode/
|
|
|
1201352 |
Source0: http://search.cpan.org/CPAN/authors/id/T/TI/TIMBRODY/TeX-Encode-%{version}.tar.gz
|
|
|
1201352 |
Group: Development/Libraries
|
|
|
1201352 |
BuildArch: noarch
|
|
|
1201352 |
BuildRequires: coreutils, findutils, make, perl
|
|
|
1201352 |
BuildRequires: perl(Carp), perl(Encode), perl(strict), perl(vars)
|
|
|
1201352 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
1201352 |
BuildRequires: perl(Pod::LaTeX) >= 0.56
|
|
|
1201352 |
BuildRequires: perl(HTML::Parser) >= 3.35
|
|
|
1201352 |
BuildRequires: perl(Test::More) >= 0.1
|
|
|
1201352 |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
1201352 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
1201352 |
BuildRequires: perl(Encode::Encoding) >= 0.1
|
|
|
1201352 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
1201352 |
|
|
|
1201352 |
%description
|
|
|
1201352 |
This module provides encoding to LaTeX escapes from utf8 using mapping tables
|
|
|
1201352 |
in Pod::LaTeX and HTML::Entities. This covers only a subset of the Unicode
|
|
|
1201352 |
character table (undefined warnings will occur for non-mapped chars).
|
|
|
1201352 |
|
|
|
1201352 |
Mileage will vary when decoding (converting LaTeX to utf8), as LaTeX is in
|
|
|
1201352 |
essence a programming language, and this module does not implement LaTeX.
|
|
|
1201352 |
|
|
|
1201352 |
%prep
|
|
|
1201352 |
%setup -q -n TeX-Encode-%{version}
|
|
|
1201352 |
|
|
|
1201352 |
%build
|
|
|
1201352 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
1201352 |
make %{?_smp_mflags}
|
|
|
1201352 |
|
|
|
1201352 |
%install
|
|
|
1201352 |
make pure_install DESTDIR=%{buildroot}
|
|
|
1201352 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
1201352 |
chmod -R u+w %{buildroot}/*
|
|
|
1201352 |
|
|
|
1201352 |
%check
|
|
|
1201352 |
make test
|
|
|
1201352 |
|
|
|
1201352 |
%files
|
|
|
1201352 |
%doc Changes README
|
|
|
1201352 |
%{perl_vendorlib}/TeX/
|
|
|
1201352 |
%{_mandir}/man3/*.3pm*
|
|
|
1201352 |
|
|
|
1201352 |
%changelog
|
|
|
1201352 |
* Tue Sep 15 2015 Tom Callaway <spot@fedoraproject.org> - 1.3-2
|
|
|
1201352 |
- minor specfile cleanups
|
|
|
1201352 |
|
|
|
1201352 |
* Mon Sep 14 2015 Tom Callaway <spot@fedoraproject.org> - 1.3-1
|
|
|
1201352 |
- initial package
|