]> git.pld-linux.org Git - packages/perl-DateTime-Event-Recurrence.git/blame - perl-DateTime-Event-Recurrence.spec
- up to 0.19
[packages/perl-DateTime-Event-Recurrence.git] / perl-DateTime-Event-Recurrence.spec
CommitLineData
4c12bd32
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir DateTime
7%define pnam Event-Recurrence
8Summary: DateTime::Event::Recurrence - DateTime::Set extension for create basic recurrence sets
c6c382ca 9Summary(pl.UTF-8): DateTime::Event::Recurrence - rozszerzenie DateTime::Set o tworzenie prostych zbiorów rekurencyjnych
4c12bd32 10Name: perl-DateTime-Event-Recurrence
43c9e073
AM
11Version: 0.19
12Release: 1
4c12bd32
ER
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-authors/id/F/FG/FGLOCK/DateTime-Event-Recurrence-%{version}.tar.gz
43c9e073 17# Source0-md5: 1f3249fa624caef76fd83cceeb7b4d3c
4c12bd32
ER
18URL: http://search.cpan.org/dist/DateTime-Event-Recurrence/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
f893f90a
ER
22BuildRequires: perl-DateTime >= 1:0.27
23BuildRequires: perl-DateTime-Set >= 0.17
4c12bd32 24%endif
859f493b 25Requires: perl-DateTime >= 1:0.34-1.1
4c12bd32
ER
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This module provides convenience methods that let you easily create
31DateTime::Set objects for various recurrences, such as "once a month"
32or "every day". You can also create more complicated recurrences, such
33as "every Monday, Wednesday and Thursday at 10:00 AM and 2:00 PM".
34
d81f06bf
JR
35%description -l pl.UTF-8
36Ten moduł dostarcza wygodne metody pozwalające łatwo tworzyć obiekty
37DateTime::Set dla różnych rekurencji, takich jak "raz w miesiącu" czy
38"codziennie". Można także tworzyć bardziej złożone rekurencje, takie
39jak "każdy poniedziałek, środa i czwartek od 10:00 do 14:00".
56637ae8 40
4c12bd32
ER
41%prep
42%setup -q -n %{pdir}-%{pnam}-%{version}
43
44%build
45%{__perl} Makefile.PL \
46 INSTALLDIRS=vendor
47%{__make}
48
49%{?with_tests:%{__make} test}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Changes CREDITS README TODO
4c12bd32
ER
63%{perl_vendorlib}/DateTime/Event/*.pm
64%{_mandir}/man3/*
This page took 0.082379 seconds and 4 git commands to generate.