114 Star 0 Fork 2

src-openEuler / perl-IO-String

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-IO-String.spec 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
sigui 提交于 2019-12-14 17:20 . add perl-IO-String source
Name: perl-IO-String
Version: 1.08
Release: 34
Summary: Emulate file interface for in-core strings
License: GPL+ and Artistic
URL: http://search.cpan.org/dist/IO-String/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators perl(ExtUtils::MakeMaker) perl(Data::Dumper)
BuildRequires: perl(IO::Handle) perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Data::Dumper) perl(IO::Handle)
%description
The IO-String provides the IO::File interface for in-core strings.
An IO::String object can be attached to a string, and makes it
just like normal file for reading and writing.
%package help
Summary: Provides man-pages and help docs for perl-IO-String
Requires: perl-IO-String = %{version}-%{release}
%description help
This package provides man-pages and help docs for perl-IO-String
%prep
%autosetup -n IO-String-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*
%check
make test
%files
%doc Changes
%{perl_vendorlib}/IO/
%files help
%doc README
%{_mandir}/man3/*.3*
%changelog
* Fri Nov 22 2019 sunguoshuai <sunguoshuai@huawei.com> - 1.08-34
- Package init.
1
https://gitee.com/src-openeuler/perl-IO-String.git
git@gitee.com:src-openeuler/perl-IO-String.git
src-openeuler
perl-IO-String
perl-IO-String
openEuler-20.03-LTS

搜索帮助