3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Date::ICal - Perl extension for ICalendar date objects
9 Summary(pl.UTF-8): Date::ICal - rozszerzenie Perla o obiekty czasu ICalendar
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 69e10541f5da09fc0f53474073da6744
18 URL: http://search.cpan.org/dist/Date-ICal/
19 BuildRequires: perl-Date-Leapyear >= 1.03
20 BuildRequires: perl-Test-Simple >= 0.19
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Perl module Date::ICal talks the ICal date format, and is intended to
28 be a base class for other date/calendar modules that know about ICal
31 %description -l pl.UTF-8
32 Moduł Perla Date::ICal komunikuje sie za pomocą formatu daty ICal.
33 Jest on zaprojektowany jako klasa bazowa dla innych modułów
34 daty/kalendarza, rozumiejących ICal jako jeden z formatów czasu.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/Date/ICal.pm
59 %{perl_vendorlib}/Date/ICal