upload code
This commit is contained in:
parent
df80d115fa
commit
5751fc6c1d
BIN
LaTeX-ToUnicode-0.05.tar.gz
Normal file
BIN
LaTeX-ToUnicode-0.05.tar.gz
Normal file
Binary file not shown.
71
perl-LaTeX-ToUnicode.spec
Normal file
71
perl-LaTeX-ToUnicode.spec
Normal file
@ -0,0 +1,71 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: perl-LaTeX-ToUnicode
|
||||
Version: 0.05
|
||||
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
|
||||
%setup -q -n LaTeX-ToUnicode-%{version}
|
||||
%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
|
||||
* Wed Jun 10 2020 Perl_Bot <Perl_Bot@openeuler.org> 0.05-1
|
||||
- Specfile autogenerated by Perl_Bot
|
||||
4
perl-LaTeX-ToUnicode.yaml
Normal file
4
perl-LaTeX-ToUnicode.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version-ctrl: metacpan
|
||||
src_repo: LaTeX-ToUnicode
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user