Package init
This commit is contained in:
parent
e786d26035
commit
bbae993595
BIN
Module-Install-AuthorRequires-0.02.tar.gz
Normal file
BIN
Module-Install-AuthorRequires-0.02.tar.gz
Normal file
Binary file not shown.
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# perl-Module-Install-AuthorRequires
|
||||
|
||||
#### Description
|
||||
Declare author-only dependencies
|
||||
|
||||
#### 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/)
|
||||
47
perl-Module-Install-AuthorRequires.spec
Normal file
47
perl-Module-Install-AuthorRequires.spec
Normal file
@ -0,0 +1,47 @@
|
||||
Name: perl-Module-Install-AuthorRequires
|
||||
Version: 0.02
|
||||
Release: 18
|
||||
Summary: Declarition of author-only dependencies
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-Install-AuthorRequires
|
||||
Source0: https://cpan.metacpan.org/authors/id/F/FL/FLORA/Module-Install-AuthorRequires-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators perl(inc::Module::Install) perl(Module::Install)
|
||||
BuildRequires: perl(base) perl(Module::Install::Base) perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
"author_requires" command provided by this package allows to specify such
|
||||
developer specific dependencies in a proper way.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Module-Install-AuthorRequires-%{version} -p1
|
||||
rm -r inc
|
||||
sed -i -e '/^inc/ d' MANIFEST
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.02-18
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user