%global _empty_manifest_terminate_build 0 Name: perl-LaTeX-ToUnicode Version: 0.11 Release: 1 Summary: Convert LaTeX commands to Unicode License: Perl_5 Group: Development/Libraries URL: http://search.cpan.org/dist/LaTeX-ToUnicode/ Source0: http://www.cpan.org/authors/id/B/BO/BORISV/LaTeX-ToUnicode-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-generators Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a method to convert LaTeX-style markups for accents etc. into their Unicode equivalents. It translates commands for special characters or accents into their Unicode equivalents and removes formatting commands. %package help Summary : Convert LaTeX commands to Unicode Provides: perl-LaTeX-ToUnicode-doc %description help This module provides a method to convert LaTeX-style markups for accents etc. into their Unicode equivalents. It translates commands for special characters or accents into their Unicode equivalents and removes formatting commands. %prep %autosetup -n LaTeX-ToUnicode-%{version} -p1 %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README weaver.ini %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Tue Jun 14 2022 SimpleUpdate Robot - 0.11-1 - Upgrade to version 0.11 * Wed Jun 10 2020 Perl_Bot 0.05-1 - Specfile autogenerated by Perl_Bot