diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..53c3e96b20d19969670d3b47b740401c9321da24 --- /dev/null +++ b/LICENSE @@ -0,0 +1,17 @@ +The ISC License. + +---------------------------------------------------------------------------- +Copyright (c) 2002-2011, Anno Siegel +Copyright (c) 2011, Shlomi Fish + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 811ced067aee70fb99c05ece72faa4900f55168c..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# perl-Text-Table - -#### Description -Organize Data in Tables - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 73af62fa75cb46e48b8ee03df21761ed6021d5b0..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# perl-Text-Table - -#### 介绍 -Organize Data in Tables - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/Text-Table-1.134.tar.gz b/Text-Table-1.134.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8f73dac0b34f0683901b35a92184dbffb7abfd38 Binary files /dev/null and b/Text-Table-1.134.tar.gz differ diff --git a/perl-Text-Table.spec b/perl-Text-Table.spec new file mode 100644 index 0000000000000000000000000000000000000000..2d70a7e2a52d32efc8e0b756128af31d79d65730 --- /dev/null +++ b/perl-Text-Table.spec @@ -0,0 +1,69 @@ +#from https://fedoraproject.org to https://openeuler.org/ + +Name: perl-Text-Table +Version: 1.134 +Release: 1 +Summary: Organize Data in Tables +License: ISC + +URL: https://metacpan.org/release/Text-Table +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Text-Table-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(List::Util) +BuildRequires: perl(overload) +BuildRequires: perl(Text::Aligner) >= 0.05 +# Tests: +BuildRequires: perl(blib) +BuildRequires: perl(constant) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::More) +# Optional tests are skipped +Requires: perl(:MODULE_COMPAT_%(eval "$(/usr/bin/perl -V:version)"; echo $version)) +Requires: perl(Text::Aligner) >= 0.05 + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Text::Aligner\\)$ + +%description +Organization of data in table form is a time-honored and useful method of +data representation. While columns of data are trivially generated by +computer through formatted output, even simple tasks like keeping titles +aligned with the data columns are not trivial, and the one-shot solutions +one comes up with tend to be particularly hard to maintain. Text::Table +allows you to create and maintain tables that adapt to alignment +requirements as you use them. + +%prep +%setup -q -n Text-Table-%{version} + +%build +/usr/bin/perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Mar 29 2021 wangyueliang - 1.134-1 +- Package init diff --git a/perl-Text-Table.yaml b/perl-Text-Table.yaml new file mode 100644 index 0000000000000000000000000000000000000000..90370b7bfe9167823b262f7584a5c2acd9a8a40b --- /dev/null +++ b/perl-Text-Table.yaml @@ -0,0 +1,4 @@ +version_control: metacpan +src_repo: Text-Table +tag_prefix: "^Text-Table-" +separator: "."