3 %bcond_without tests # do not perform "make test"
6 %define pnam Event-Recurrence
7 Summary: DateTime::Event::Recurrence - DateTime::Set extension for create basic recurrence sets
8 Summary(pl.UTF-8): DateTime::Event::Recurrence - rozszerzenie DateTime::Set o tworzenie prostych zbiorów rekurencyjnych
9 Name: perl-DateTime-Event-Recurrence
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/F/FG/FGLOCK/DateTime-Event-Recurrence-%{version}.tar.gz
16 # Source0-md5: 1f3249fa624caef76fd83cceeb7b4d3c
17 URL: http://search.cpan.org/dist/DateTime-Event-Recurrence/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-DateTime >= 1:0.27
22 BuildRequires: perl-DateTime-Set >= 0.17
24 Requires: perl-DateTime >= 1:0.34-1.1
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This module provides convenience methods that let you easily create
30 DateTime::Set objects for various recurrences, such as "once a month"
31 or "every day". You can also create more complicated recurrences, such
32 as "every Monday, Wednesday and Thursday at 10:00 AM and 2:00 PM".
34 %description -l pl.UTF-8
35 Ten moduł dostarcza wygodne metody pozwalające łatwo tworzyć obiekty
36 DateTime::Set dla różnych rekurencji, takich jak "raz w miesiącu" czy
37 "codziennie". Można także tworzyć bardziej złożone rekurencje, takie
38 jak "każdy poniedziałek, środa i czwartek od 10:00 do 14:00".
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc Changes CREDITS README TODO
62 %{perl_vendorlib}/DateTime/Event/*.pm