%global _empty_manifest_terminate_build 0 Name: perl-Lingua-Translit Version: 0.28 Release: 1 Summary: Transliterates text between writing systems License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: http://search.cpan.org/dist/Lingua-Translit/ Source0: http://www.cpan.org/authors/id/A/AL/ALINKE/Lingua-Translit-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) %description Lingua::Translit can be used to convert text from one writing system to another, based on national or international transliteration tables. Where possible a reverse transliteration is supported. %package help Summary : Transliterates text between writing systems Provides: perl-Lingua-Translit-doc %description help Lingua::Translit can be used to convert text from one writing system to another, based on national or international transliteration tables. Where possible a reverse transliteration is supported. %prep %setup -q -n Lingua-Translit-%{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 if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -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 README translit %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Sun May 23 2021 Perl_Bot 0.28-1 - Specfile autogenerated by Perl_Bot