]> git.pld-linux.org Git - packages/perl-Date-ICal.git/blob - perl-Date-ICal.spec
use generic url
[packages/perl-Date-ICal.git] / perl-Date-ICal.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Date
6 %define         pnam    ICal
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Date::ICal - Perl extension for ICalendar date objects
9 Summary(pl.UTF-8):      Date::ICal - rozszerzenie Perla o obiekty czasu ICalendar
10 Name:           perl-Date-ICal
11 Version:        1.72
12 Release:        5
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  69e10541f5da09fc0f53474073da6744
18 URL:            http://search.cpan.org/dist/Date-ICal/
19 BuildRequires:  perl-Date-Leapyear >= 1.03
20 BuildRequires:  perl-Test-Simple >= 0.19
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Perl module Date::ICal talks the ICal date format, and is intended to
28 be a base class for other date/calendar modules that know about ICal
29 time format also.
30
31 %description -l pl.UTF-8
32 Moduł Perla Date::ICal komunikuje sie za pomocą formatu daty ICal.
33 Jest on zaprojektowany jako klasa bazowa dla innych modułów
34 daty/kalendarza, rozumiejących ICal jako jeden z formatów czasu.
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 README Changes
58 %{perl_vendorlib}/Date/ICal.pm
59 %{perl_vendorlib}/Date/ICal
60 %{_mandir}/man3/*
This page took 0.038348 seconds and 4 git commands to generate.