Package perl-Date-ICal: Specfile

#
#   - Date::ICal -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Date-ICal-1.72.tar.gz
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Date-ICal
%define m_distro Date-ICal
%define m_name Date::ICal
%define m_author_id unknown
%define _enable_test 1

Name: perl-Date-ICal
Version: 2.678
Release: alt2

Summary: Perl extension for ICalendar date objects

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vladimir A. Svyatoshenko <svyt@altlinux.ru>

BuildArch: noarch
Source: http://www.cpan.org/authors/id/R/RB/RBOW/Date-ICal-2.678.tar.gz
# Pass 4-digit years to timegm() to fix tests after year 2019, CPAN RT#124548
Patch0:         Date-ICal-2.678-4_digit_year.patch

# Automatically added by buildreq on Thu Jul 03 2008
BuildRequires: perl-Date-Leapyear perl-Log-Agent perl-Storable perl-devel

%description
Date::ICal talks the ICal date format, and is intended to be a base class for
other date/calendar modules that know about ICal time format also.

See http://dates.rcbowen.com/unified.txt for details

%prep
%setup -q -n %m_distro-%version
%patch0 -p1
chmod a-x lib/Date/ICal.pm

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/Date*

%changelog
* Thu Apr 09 2020 Igor Vlasenko <viy@altlinux.ru> 2.678-alt2
- fixed build

* Mon Sep 19 2011 Igor Vlasenko <viy@altlinux.ru> 2.678-alt1
- automated CPAN update

* Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 1.72-alt2.1
- repair after perl 5.12 upgrade using girar-nmu

* Tue Oct 07 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.72-alt2
- fixed build

* Thu Jul 03 2008 Vladimir A. Svyatoshenko <svyt@altlinux.ru> 1.72-alt1
- first build for ALT Linux Sisyphus