diff --git a/Module-Install-GithubMeta-0.30.tar.gz b/Module-Install-GithubMeta-0.30.tar.gz new file mode 100644 index 0000000..27f5485 Binary files /dev/null and b/Module-Install-GithubMeta-0.30.tar.gz differ diff --git a/README.en.md b/README.en.md deleted file mode 100644 index f138629..0000000 --- a/README.en.md +++ /dev/null @@ -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/) diff --git a/perl-Module-Install-GithubMeta.spec b/perl-Module-Install-GithubMeta.spec new file mode 100644 index 0000000..fbdc1fa --- /dev/null +++ b/perl-Module-Install-GithubMeta.spec @@ -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 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 - 0.30-12 +- Package init +