]> git.pld-linux.org Git - packages/perl-DateTime-Event-ICal.git/blob - perl-DateTime-Event-ICal.spec
- up to 0.13
[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 %include        /usr/lib/rpm/macros.perl
6 %define pdir    DateTime
7 %define pnam    Event-ICal
8 Summary:        DateTime::Event::ICal - Perl DateTime extension for computing rfc2445 recurrences
9 Summary(pl.UTF-8):      DateTime::Event::ICal - rozszerzenie DateTime o obliczanie rekurencji rfc2445
10 Name:           perl-DateTime-Event-ICal
11 Version:        0.13
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-authors/id/F/FG/FGLOCK/DateTime-Event-ICal-%{version}.tar.gz
17 # Source0-md5:  cc7fc1f939c41c3c6e25b349917fbcdc
18 URL:            http://search.cpan.org/dist/DateTime-Event-ICal/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-DateTime
23 BuildRequires:  perl-DateTime-Event-Recurrence >= 0.11
24 %endif
25 Requires:       perl-DateTime >= 1:0.34-1.1
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This module provides convenience methods that let you easily create
31 DateTime::Set objects for rfc2445 style recurrences.
32
33 %description -l pl.UTF-8
34 Ten moduł dostarcza wygodne metody pozwalające łatwo tworzyć obiekty
35 DateTime::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
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -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.07741 seconds and 4 git commands to generate.