Package init
This commit is contained in:
parent
5e68837c38
commit
4fed7b0ffd
BIN
Module-Install-AutoLicense-0.10.tar.gz
Normal file
BIN
Module-Install-AutoLicense-0.10.tar.gz
Normal file
Binary file not shown.
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# perl-Module-Install-AutoLicense
|
||||
|
||||
#### Description
|
||||
Module::Install extension to automatically generate LICENSE files
|
||||
|
||||
#### 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/)
|
||||
65
perl-Module-Install-AutoLicense.spec
Normal file
65
perl-Module-Install-AutoLicense.spec
Normal file
@ -0,0 +1,65 @@
|
||||
%define buildpath %(echo %{name} | sed 's/perl-//')
|
||||
|
||||
Name: perl-Module-Install-AutoLicense
|
||||
Version: 0.10
|
||||
Release: 7
|
||||
Summary: A Module::Install extension to automatically generate LICENSE files
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-Install-AutoLicense
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Install-AutoLicense-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: coreutils findutils make sed
|
||||
BuildRequires: perl-generators perl(base) perl(Config) perl(vars) perl(warnings)
|
||||
BuildRequires: perl(File::Path) perl(File::Temp) perl(lib) perl(Module::Install::WriteAll)
|
||||
BuildRequires: perl(Module::Install::Base) perl(Module::Install::Can) perl(Module::Install::GithubMeta)
|
||||
BuildRequires: perl(Module::Install::Metadata) perl(strict) perl(Module::Install::Makefile)
|
||||
BuildRequires: perl-interpreter >= 1:5.6.0
|
||||
BuildRequires: perl(Capture::Tiny) >= 0.05
|
||||
BuildRequires: perl(inc::Module::Install) >= 0.85
|
||||
BuildRequires: perl(Module::Install) >= 0.85
|
||||
BuildRequires: perl(Software::License) >= 0.01
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
|
||||
Requires: perl(Module::Install) >= 0.85
|
||||
Requires: perl(Software::License) >= 0.01
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Module::Install::AutoLicense is a Module::Install extension that generates
|
||||
a "LICENSE" file automatically whenever the author runs "Makefile.PL". On
|
||||
the user side it does nothing.
|
||||
|
||||
%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
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.10-7
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user