diff --git a/Import-Into-1.002005.tar.gz b/Import-Into-1.002005.tar.gz new file mode 100644 index 0000000..1cd1209 Binary files /dev/null and b/Import-Into-1.002005.tar.gz differ diff --git a/README.en.md b/README.en.md deleted file mode 100644 index d2a39f4..0000000 --- a/README.en.md +++ /dev/null @@ -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/) diff --git a/perl-Import-Into.spec b/perl-Import-Into.spec new file mode 100644 index 0000000..e472f71 --- /dev/null +++ b/perl-Import-Into.spec @@ -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 - 1.002005-1 +- Package init