commit
a4b9e47f42
BIN
Path-Class-0.37.tar.gz
Normal file
BIN
Path-Class-0.37.tar.gz
Normal file
Binary file not shown.
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# perl-Path-Class
|
||||
|
||||
#### Description
|
||||
Cross-platform path specification manipulation
|
||||
|
||||
#### 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/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# perl-Path-Class
|
||||
|
||||
#### 介绍
|
||||
Cross-platform path specification manipulation
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
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/)
|
||||
62
perl-Path-Class.spec
Normal file
62
perl-Path-Class.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%define perl_bootstrap 1
|
||||
|
||||
Name: perl-Path-Class
|
||||
Version: 0.37
|
||||
Release: 14
|
||||
Summary: Cross-platform path specification manipulation
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Path-Class
|
||||
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils make perl-interpreter perl-generators perl(Module::Build) > 0.36 perl(Carp)
|
||||
BuildRequires: perl(Cwd) perl(Exporter) perl(File::Copy) perl(File::Path) perl(File::Spec) >= 3.26
|
||||
BuildRequires: perl(File::stat) perl(File::Temp) perl(IO::Dir) perl(IO::File) perl(overload)
|
||||
BuildRequires: perl(parent) perl(Perl::OSType) perl(Scalar::Util) perl(strict) perl(Test)
|
||||
BuildRequires: perl(Test::More) >= 0.88 perl(warnings)
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(English) perl(Test::Perl::Critic)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(File::Copy) perl(Perl::OSType)
|
||||
|
||||
%description
|
||||
Path::Class is a module for manipulation of file and directory specifications (strings describing
|
||||
their locations, like '/home/ken/foo.txt' or 'C:\Windows\Foo.txt') in a cross-platform manner. It
|
||||
supports pretty much every platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin,
|
||||
OS/2, and NetWare.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Path-Class-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
AUTHOR_TESTING=1 ./Build test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%license LICENSE
|
||||
%{perl_vendorlib}/Path/
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc Changes
|
||||
%{_mandir}/man3/Path::Class.3*
|
||||
%{_mandir}/man3/Path::Class::Dir.3*
|
||||
%{_mandir}/man3/Path::Class::Entity.3*
|
||||
%{_mandir}/man3/Path::Class::File.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.37-14
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user