]> git.pld-linux.org Git - packages/perl-DateTime-Event-ICal.git/blame_incremental - perl-DateTime-Event-ICal.spec
- up to 0.13
[packages/perl-DateTime-Event-ICal.git] / perl-DateTime-Event-ICal.spec
... / ...
CommitLineData
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-ICal
8Summary: DateTime::Event::ICal - Perl DateTime extension for computing rfc2445 recurrences
9Summary(pl.UTF-8): DateTime::Event::ICal - rozszerzenie DateTime o obliczanie rekurencji rfc2445
10Name: perl-DateTime-Event-ICal
11Version: 0.13
12Release: 1
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-ICal-%{version}.tar.gz
17# Source0-md5: cc7fc1f939c41c3c6e25b349917fbcdc
18URL: http://search.cpan.org/dist/DateTime-Event-ICal/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-DateTime
23BuildRequires: perl-DateTime-Event-Recurrence >= 0.11
24%endif
25Requires: perl-DateTime >= 1:0.34-1.1
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 rfc2445 style recurrences.
32
33%description -l pl.UTF-8
34Ten moduł dostarcza wygodne metody pozwalające łatwo tworzyć obiekty
35DateTime::Set dla rekurencji w stylu rfc2445.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README TODO
59%{perl_vendorlib}/DateTime/Event/*.pm
60%{_mandir}/man3/*
This page took 0.082029 seconds and 4 git commands to generate.