!1 perl-MIME-Lite: Package init

Merge pull request !1 from gnaygnil/master
This commit is contained in:
openeuler-ci-bot 2020-03-06 22:17:56 +08:00 committed by Gitee
commit 34eba6a178
4 changed files with 54 additions and 73 deletions

BIN
MIME-Lite-3.030.tar.gz Normal file

Binary file not shown.

View File

@ -1,36 +0,0 @@
# perl-MIME-Lite
#### Description
MIME::Lite - low-calorie MIME generator
#### 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/)

View File

@ -1,37 +0,0 @@
# perl-MIME-Lite
#### 介绍
MIME::Lite - low-calorie MIME generator
#### 软件架构
软件架构说明
#### 安装教程
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/)

54
perl-MIME-Lite.spec Normal file
View File

@ -0,0 +1,54 @@
Name: perl-MIME-Lite
Version: 3.030
Release: 14
Summary: MIME::Lite - low-calorie MIME generator
License: GPL+ or Artistic
URL: https://metacpan.org/release/MIME-Lite
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/MIME-Lite-3.030.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators perl(Carp) perl(Email::Date::Format)
BuildRequires: perl(ExtUtils::MakeMaker) perl(File::Basename) perl(File::Spec) perl(FileHandle)
BuildRequires: perl(lib) perl(Mail::Address) perl(MIME::Types) >= 1.28 perl(Net::SMTP) perl(strict)
BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage) perl(vars) perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Email::Date::Format) perl(MIME::Types) >= 1.28
%description
MIME::Lite is a simple, standalone module which can generate (not parse) MIME messages.
Specifically, you can use it to output a simple, decent single- or multi-part message which
may have text or binary attachments. And you do not have to install Mail:: or MIME:: modules.
%package help
Summary: Documentation for perl-MIME-Lite
BuildArch: noarch
%description help
The package contains manual documentation files for perl-MIME-Lite.
%prep
%autosetup -n MIME-Lite-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%check
%if %{?_with_check:1}%{!?_with_check:0}
%make_build test
%endif
%files
%doc changes.pod README examples contrib COPYING LICENSE
%exclude %{perl_vendorlib}/MIME/changes.pod
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*.3*
%changelog
* Fri Mar 06 2020 yinzhenling <yinzhenling2@huawei.com> - 3.030-14
- Package init