Package init

This commit is contained in:
HukunaMatata 2020-01-13 18:53:47 +08:00
parent 4a46dde3cd
commit cbba71c7ef
3 changed files with 58 additions and 36 deletions

Binary file not shown.

View File

@ -1,36 +0,0 @@
# perl-Module-Install-ManifestSkip
#### Description
Generate a MANIFEST.SKIP file
#### 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

@ -0,0 +1,58 @@
%define buildpath %(echo %{name} | sed 's/perl-//')
Name: perl-Module-Install-ManifestSkip
Version: 0.24
Release: 13
Summary: Generate a MANIFEST.SKIP file
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Install-ManifestSkip
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Module-Install-ManifestSkip-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators perl(strict) perl(warnings)
BuildRequires: perl(base) perl(Module::Install::Base) perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Module::Manifest::Skip) >= 0.18
Requires: perl(warnings)
%description
This module generates a MANIFEST.SKIP file for you (using
Module::Manifest::Skip) that contains the common files that people do not
want in their MANIFEST files. The SKIP file is generated each time that you
(the module author) run Makefile.PL.
%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=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc LICENSE
%{perl_vendorlib}/*
%files help
%doc CONTRIBUTING README Changes
%{_mandir}/man3/*
%changelog
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.24-13
- Package init