Ai
5 Star 0 Fork 4

src-openEuler/perl-Unicode-String
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Unicode-String.spec 2.60 KB
一键复制 编辑 原始数据 按行查看 历史
sqfu 提交于 2025-02-07 15:01 +08:00 . drop useless perl(:MODULE_COMPAT) requirement
%global _empty_manifest_terminate_build 0
Name: perl-Unicode-String
Version: 2.10
Release: 3
Summary: String of Unicode characters (UTF-16BE)
License: GPL-1.0-or-later or Artistic-1.0
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-devel
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(MIME::Base64) >= 2
Requires: perl(MIME::Base64) >= 2
%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
* Fri Feb 07 2025 sqfu <dev01203@linx-info.com> - 2.10-3
- drop useless perl(:MODULE_COMPAT) requirement
* Fri Aug 12 2022 Shinwell_Hu <micromotive@qq.com> - 2.10-2
- Add BuildRequires for perl-devel
- License compliance rectification
* Wed Jun 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 2.10-1
- Specfile autogenerated by Perl_Bot
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Unicode-String.git
git@gitee.com:src-openeuler/perl-Unicode-String.git
src-openeuler
perl-Unicode-String
perl-Unicode-String
master

搜索帮助