commit
171860dee4
BIN
Module-Install-GithubMeta-0.30.tar.gz
Normal file
BIN
Module-Install-GithubMeta-0.30.tar.gz
Normal file
Binary file not shown.
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# perl-Module-Install-GithubMeta
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
A Module::Install extension to include GitHub meta information in META.yml
|
|
||||||
|
|
||||||
#### 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/)
|
|
||||||
67
perl-Module-Install-GithubMeta.spec
Normal file
67
perl-Module-Install-GithubMeta.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
%define buildpath %(echo %{name} | sed 's/perl-//')
|
||||||
|
|
||||||
|
Name: perl-Module-Install-GithubMeta
|
||||||
|
Version: 0.30
|
||||||
|
Release: 12
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Summary: A Module::Install extension to include GitHub meta information in META.yml
|
||||||
|
Url: https://metacpan.org/release/Module-Install-GithubMeta
|
||||||
|
Source: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Install-GithubMeta-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: perl-generators perl(base) perl(Config) perl(Cwd) perl(Fcntl)
|
||||||
|
BuildRequires: perl(ExtUtils::Manifest) perl(File::Path) perl(File::Find)
|
||||||
|
BuildRequires: perl(File::Spec) perl(Module::Build) perl(strict) perl(Test::Pod)
|
||||||
|
BuildRequires: perl(vars) perl(warnings)
|
||||||
|
BuildRequires: perl(Capture::Tiny) >= 0.05
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||||
|
BuildRequires: perl(Module::Install) >= 0.85
|
||||||
|
BuildRequires: perl(Test::More) >= 0.47
|
||||||
|
|
||||||
|
Requires: perl(Module::Install) >= 0.85
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Module::Install::GithubMeta is a Module::Install extension to include
|
||||||
|
GitHub <http://github.com> meta information in "META.yml".
|
||||||
|
|
||||||
|
It automatically detects if the distribution directory is under "git"
|
||||||
|
version control and whether the "origin" is a GitHub repository and will
|
||||||
|
set the "repository" and "homepage" meta in "META.yml" to the
|
||||||
|
appropriate URLs for GitHub.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: help package of %{name} that include files
|
||||||
|
|
||||||
|
%description help
|
||||||
|
document files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{buildpath}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc README
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.30-12
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user