diff --git a/Unicode-String-2.10.tar.gz b/Unicode-String-2.10.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b7e6aebc3fc1360cc6a8ea26d4ca9f10a46de85b Binary files /dev/null and b/Unicode-String-2.10.tar.gz differ diff --git a/perl-Unicode-String.spec b/perl-Unicode-String.spec new file mode 100644 index 0000000000000000000000000000000000000000..8bd62268b231026f8cddccb2194c4ca16214795f --- /dev/null +++ b/perl-Unicode-String.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Unicode-String +Version: 2.10 +Release: 1 +Summary: String of Unicode characters (UTF-16BE) +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/Unicode-String/ +Source0: http://www.cpan.org/authors/id/G/GA/GAAS/GAAS/Unicode-String-%{version}.tar.gz +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(MIME::Base64) >= 2 +Requires: perl(MIME::Base64) >= 2 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +A Unicode::String object represents a sequence of Unicode characters. +Methods are provided to convert between various external formats +(encodings) and Unicode::String objects, and methods are provided for +common string manipulations. +%package help +Summary : String of Unicode characters (UTF-16BE) +Provides: perl-Unicode-String-doc +%description help +A Unicode::String object represents a sequence of Unicode characters. +Methods are provided to convert between various external formats +(encodings) and Unicode::String objects, and methods are provided for +common string manipulations. +%prep +%setup -q -n Unicode-String-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +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 -type f -name '*.bs' -size 0 -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 META.json README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Unicode* +%files help +%{_mandir}/* + +%changelog +* Wed Jun 23 2021 Perl_Bot 2.10-1 +- Specfile autogenerated by Perl_Bot