1 Star 0 Fork 2

liliang/perl-Scalar-String

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Scalar-String.spec 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
liliang 提交于 2021-07-12 11:06 . 添加perl-Scalar-String
Name: perl-Scalar-String
Version: 0.003
Release: 19
Summary: String aspects of scalars
License: GPL+ or Artistic
URL: https://github.com/clearlinux-pkgs/perl-Scalar-String
Source0: https://github.com/clearlinux-pkgs/perl-Scalar-String/archive/0.003-19/perl-Scalar-String-0.003-19.tar.gz
BuildRequires: gcc
BuildRequires: perl-devel
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::CBuilder) >= 0.15
BuildRequires: perl(if)
BuildRequires: perl(Module::Build)
BuildRequires: perl(parent)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Carp)
Requires: perl(XSLoader)
%description
This module is about the string part of plain Perl scalars. A scalar has a
string value, which is notionally a sequence of Unicode codepoints, but
may be internally encoded in either ISO-8859-1 or UTF-8. In places, and
more so in older versions of Perl, the internal encoding shows through. To
fully understand Perl strings it is necessary to understand these
implementation details.
%prep
%autosetup -n perl-Scalar-String-0.003-19
%build
%{__perl} Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"
./Build
%install
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Scalar*
%{_mandir}/man3/*
%changelog
* Mon Jul 012 2021 liliang <liliang@kylinos.cn> - 0.003-19
- Init project
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/LiLiang602/perl-Scalar-String.git
git@gitee.com:LiLiang602/perl-Scalar-String.git
LiLiang602
perl-Scalar-String
perl-Scalar-String
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385