first commit

This commit is contained in:
sherlock2010 2019-12-06 17:00:45 +08:00
parent 486bed79a0
commit 0b3058eb9c
2 changed files with 68 additions and 0 deletions

BIN
Date-Manip-6.73.tar.gz Normal file

Binary file not shown.

68
perl-Date-Manip.spec Normal file
View File

@ -0,0 +1,68 @@
Name: perl-Date-Manip
Version: 6.73
Release: 2
Summary: Date manipulation routines
License: GPL+ or Artistic
URL: https://metacpan.org/release/Date-Manip
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings) perl(Carp) perl(Encode) perl(Exporter)
BuildRequires: perl(integer) perl(IO::File) perl(Storable) perl(Test::Inter)
BuildRequires: perl(Test::More) perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Cwd) perl(File::Find) perl(File::Spec)
Provides: perl-DateManip = %{version}-%{release}
Obsoletes: perl-DateManip < 5.48-1
%{?perl_default_filter}
%description
Date::Manip is a series of modules designed to make any common date/time operation easy to do.
Operations such as comparing two times,determining a date a given amount of time from another,
or parsing international times are all easily done. It deals with time as it is used in the
Gregorian calendar (the one currently in use) with full support for time changes due to daylight
saving time.
From the very beginning, the main focus of Date::Manip has been to be able to do ANY desired
date/time operation easily.Many other modules exist which may do a subset of these operations
quicker or more efficiently,but no other module can do all of the operations available in Date::Manip.
Date::Manip has functionality to work with several fundamental types of data.
%package help
Summary: Help documents for %{name}
Buildarch: noarch
%description help
Man pages and other help documents for %{name}.
%prep
%autosetup -n Date-Manip-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc README.first
%license LICENSE
%{perl_vendorlib}/Date/
%{_bindir}/*
%files help
%doc README
%{_mandir}/man[13]/*
%changelog
* Fri Dec 06 2019 zhouyihang <zhouyihang1@huawei.com> - 6.73-2
- Package init