diff --git a/File-ReadBackwards-1.05.tar.gz b/File-ReadBackwards-1.05.tar.gz new file mode 100644 index 0000000..0dba29c Binary files /dev/null and b/File-ReadBackwards-1.05.tar.gz differ diff --git a/README.en.md b/README.en.md deleted file mode 100644 index cbd9bdb..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# perl-File-ReadBackwards - -#### Description -Read a file backwards by lines - -#### 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-File-ReadBackwards.spec b/perl-File-ReadBackwards.spec new file mode 100644 index 0000000..f322f3e --- /dev/null +++ b/perl-File-ReadBackwards.spec @@ -0,0 +1,53 @@ +Name: perl-File-ReadBackwards +Version: 1.05 +Release: 1 +Summary: Read a file backwards by lines +License: GPL+ or Artistic +Group: Development/Libraries +URL: https://metacpan.org/release/File-ReadBackwards +Source0: https://cpan.metacpan.org/authors/id/U/UR/URI/File-ReadBackwards-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Test::More) >= 0.44 +BuildRequires: perl(File::Temp) +BuildRequires: perl(strict) perl(vars) +BuildRequires: perl(Carp) perl(Config) perl(Fcntl) perl(Symbol) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module reads a file backwards line by line. It is simple to use, +memory efficient and fast. It supports both an object and a tied handle +interface. + +%package_help + +%prep +%autosetup -n File-ReadBackwards-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%make_build + +%install +%make_install +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%defattr(-,root,root) +%doc README +%{perl_vendorlib}/* + +%files help +%defattr(-,root,root) +%doc Changes +%{_mandir}/man3/* + +%changelog +* Mon Aug 26 2019 openEuler Buildteam - 1.05-1 +- Package Init +