]> git.pld-linux.org Git - packages/perl-DateTime-Event-ICal.git/blob - 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
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    DateTime
6 %define pnam    Event-ICal
7 Summary:        DateTime::Event::ICal - Perl DateTime extension for computing rfc2445 recurrences
8 Summary(pl.UTF-8):      DateTime::Event::ICal - rozszerzenie DateTime o obliczanie rekurencji rfc2445
9 Name:           perl-DateTime-Event-ICal
10 Version:        0.13
11 Release:        1
12 # same as perl
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-ICal-%{version}.tar.gz
16 # Source0-md5:  cc7fc1f939c41c3c6e25b349917fbcdc
17 URL:            http://search.cpan.org/dist/DateTime-Event-ICal/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-DateTime
22 BuildRequires:  perl-DateTime-Event-Recurrence >= 0.11
23 %endif
24 Requires:       perl-DateTime >= 1:0.34-1.1
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This module provides convenience methods that let you easily create
30 DateTime::Set objects for rfc2445 style recurrences.
31
32 %description -l pl.UTF-8
33 Ten moduł dostarcza wygodne metody pozwalające łatwo tworzyć obiekty
34 DateTime::Set dla rekurencji w stylu rfc2445.
35
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
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -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.140177 seconds and 4 git commands to generate.