Package init
This commit is contained in:
parent
7c614cf212
commit
20058f85a8
BIN
Import-Into-1.002005.tar.gz
Normal file
BIN
Import-Into-1.002005.tar.gz
Normal file
Binary file not shown.
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# perl-Import-Into
|
||||
|
||||
#### Description
|
||||
Import packages into other packages
|
||||
|
||||
#### 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/)
|
||||
44
perl-Import-Into.spec
Normal file
44
perl-Import-Into.spec
Normal file
@ -0,0 +1,44 @@
|
||||
Name: perl-Import-Into
|
||||
Version: 1.002005
|
||||
Release: 1
|
||||
%define pkg_name Import-Into
|
||||
Summary: Import packages into other packages
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Import-Into
|
||||
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{pkg_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Runtime)
|
||||
Requires: perl(Module::Runtime)
|
||||
|
||||
%description
|
||||
Writing exporters is a pain. Some use Exporter, some use Sub::Exporter,
|
||||
some use Moose::Exporter, some use Exporter::Declare ... and some things are pragmas.
|
||||
|
||||
Exporting on someone else's behalf is harder. The exporters don't provide
|
||||
a consistent API for this, and pragmas need to have their import method
|
||||
called directly, since they effect the current unit of compilation.
|
||||
|
||||
Import::Into provides global methods to make this painless.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor --skipdeps NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Import/
|
||||
%{_mandir}/man3/Import::Into.3*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.002005-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user