commit
a539c8e7dd
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# perl-Types-Serialiser
|
||||
|
||||
#### Description
|
||||
Simple data types for common serialization formats
|
||||
|
||||
#### 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-Types-Serialiser
|
||||
|
||||
#### 介绍
|
||||
Simple data types for common serialization formats
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
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/)
|
||||
12
Types-Serialiser-1.0-provides.patch
Normal file
12
Types-Serialiser-1.0-provides.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/Serialiser.pm
|
||||
+++ b/Serialiser.pm
|
||||
@@ -102,7 +102,8 @@ Returns false iff C<$value> is C<$Types:
|
||||
BEGIN {
|
||||
# for historical reasons, and to avoid extra dependencies in JSON::PP,
|
||||
# we alias *Types::Serialiser::Boolean with JSON::PP::Boolean.
|
||||
- package JSON::PP::Boolean;
|
||||
+ package # hide from rpm
|
||||
+ JSON::PP::Boolean;
|
||||
|
||||
*Types::Serialiser::Boolean:: = *JSON::PP::Boolean::;
|
||||
}
|
||||
BIN
Types-Serialiser-1.0.tar.gz
Normal file
BIN
Types-Serialiser-1.0.tar.gz
Normal file
Binary file not shown.
49
perl-Types-Serialiser.spec
Normal file
49
perl-Types-Serialiser.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: perl-Types-Serialiser
|
||||
Summary: Simple data types for common serialization formats
|
||||
Version: 1.0
|
||||
Release: 18
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Types-Serialiser
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-%{version}.tar.gz
|
||||
Patch0: Types-Serialiser-1.0-provides.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: make coreutils findutils perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Carp) perl(common::sense)
|
||||
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
||||
Requires: perl(Carp)
|
||||
|
||||
%description
|
||||
This module provides some extra data types that are used by common
|
||||
serialization formats such as JSON or CBOR. The idea is to have a
|
||||
repository of simple/small constants and containers that can be shared
|
||||
by different implementations so they become interoperable between each
|
||||
other.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Types-Serialiser-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{perl_vendorlib}/Types/
|
||||
|
||||
%files help
|
||||
%doc Changes README
|
||||
%{_mandir}/man3/Types::Serialiser.3*
|
||||
%{_mandir}/man3/Types::Serialiser::Error.3*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 5 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-18
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user