diff --git a/Date-Manip-6.73.tar.gz b/Date-Manip-6.73.tar.gz new file mode 100644 index 0000000..c7a14e4 Binary files /dev/null and b/Date-Manip-6.73.tar.gz differ diff --git a/perl-Date-Manip.spec b/perl-Date-Manip.spec new file mode 100644 index 0000000..cbda680 --- /dev/null +++ b/perl-Date-Manip.spec @@ -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 - 6.73-2 +- Package init