package init
This commit is contained in:
parent
558b3747e0
commit
ba044c706f
BIN
Mojolicious-7.94.tar.gz
Normal file
BIN
Mojolicious-7.94.tar.gz
Normal file
Binary file not shown.
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# perl-Mojolicious
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
A next generation web framework for Perl
|
|
||||||
|
|
||||||
#### 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-Mojolicious
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
A next generation web framework for Perl
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
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/)
|
|
||||||
74
perl-Mojolicious.spec
Normal file
74
perl-Mojolicious.spec
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
Name: perl-Mojolicious
|
||||||
|
Version: 7.94
|
||||||
|
Release: 2
|
||||||
|
Summary: A next generation web framework for Perl
|
||||||
|
License: Artistic 2.0
|
||||||
|
|
||||||
|
URL: https://metacpan.org/release/Mojolicious
|
||||||
|
Source0: http://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl-interpreter >= 0:5.010001 perl-generators perl(Compress::Raw::Zlib) perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
BuildRequires: perl(Data::Dumper) perl(Digest::MD5) perl(Digest::SHA) perl(IO::Compress::Gzip) perl(IO::Socket::IP)
|
||||||
|
BuildRequires: perl(JSON::PP) perl(Role::Tiny) perl(Test::Builder) perl(Test::Harness) perl(Test::More) perl(Time::HiRes)
|
||||||
|
BuildRequires: perl(Time::Local) perl(experimental)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
%global __requires_exclude perl\\(VMS|perl\\(Win32|perl\\(EV
|
||||||
|
|
||||||
|
%package -n perl-Test-Mojo
|
||||||
|
Summary: Test::Mojo perl Module
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description -n perl-Test-Mojo
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Back in the early days of the web there was this wonderful Perl library
|
||||||
|
called CGI, many people only learned Perl because of it. It was simple
|
||||||
|
enough to get started without knowing much about the language and powerful
|
||||||
|
enough to keep you going, learning by doing was much fun. While most of the
|
||||||
|
techniques used are outdated now, the idea behind it is not. Mojolicious is
|
||||||
|
a new attempt at implementing this idea using state of the art technology.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Help document for perl-Mojolicious
|
||||||
|
|
||||||
|
%description help
|
||||||
|
This perl-Mojolicious package contains help document.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Mojolicious-%{version} -p1
|
||||||
|
mv README.md lib/Mojolicious/
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc Changes examples
|
||||||
|
%{_bindir}/mojo
|
||||||
|
%{_bindir}/hypnotoad
|
||||||
|
%{_bindir}/morbo
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%exclude %{perl_vendorlib}/Test
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%files -n perl-Test-Mojo
|
||||||
|
%{perl_vendorlib}/Test
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 15 2020 zhangtao<zhangtao221@huawei.com> - 7.94-2
|
||||||
|
- package init
|
||||||
Loading…
x
Reference in New Issue
Block a user