]> git.pld-linux.org Git - packages/perl-DateTime-Event-ICal.git/blame - perl-DateTime-Event-ICal.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DateTime-Event-ICal.git] / perl-DateTime-Event-ICal.spec
CommitLineData
8771d0d6
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
8771d0d6
ER
5%define pdir DateTime
6%define pnam Event-ICal
7Summary: DateTime::Event::ICal - Perl DateTime extension for computing rfc2445 recurrences
2ce64f70 8Summary(pl.UTF-8): DateTime::Event::ICal - rozszerzenie DateTime o obliczanie rekurencji rfc2445
8771d0d6 9Name: perl-DateTime-Event-ICal
0a2c514a 10Version: 0.13
450ccf20 11Release: 1
8771d0d6
ER
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-authors/id/F/FG/FGLOCK/DateTime-Event-ICal-%{version}.tar.gz
0a2c514a 16# Source0-md5: cc7fc1f939c41c3c6e25b349917fbcdc
2eee9f18 17URL: http://search.cpan.org/dist/DateTime-Event-ICal/
8771d0d6
ER
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
2eee9f18
JB
21BuildRequires: perl-DateTime
22BuildRequires: perl-DateTime-Event-Recurrence >= 0.11
8771d0d6
ER
23%endif
24Requires: perl-DateTime >= 1:0.34-1.1
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This module provides convenience methods that let you easily create
30DateTime::Set objects for rfc2445 style recurrences.
31
6bafeacc
JR
32%description -l pl.UTF-8
33Ten moduł dostarcza wygodne metody pozwalające łatwo tworzyć obiekty
2eee9f18
JB
34DateTime::Set dla rekurencji w stylu rfc2445.
35
8771d0d6
ER
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README TODO
58%{perl_vendorlib}/DateTime/Event/*.pm
59%{_mandir}/man3/*
This page took 0.609525 seconds and 4 git commands to generate.