]> git.pld-linux.org Git - packages/perl-HTML-CalendarMonthSimple.git/blob - perl-HTML-CalendarMonthSimple.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-CalendarMonthSimple.git] / perl-HTML-CalendarMonthSimple.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    HTML
6 %define         pnam    CalendarMonthSimple
7 Summary:        HTML::CalendarMonthSimple - generating HTML calendars
8 Summary(pl.UTF-8):      HTML::CalendarMonthSimple - generowanie kalendarzy w HTML
9 Name:           perl-HTML-CalendarMonthSimple
10 Version:        1.25
11 Release:        2
12 License:        free (see README)
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  2f9fcad2627890cc11ab5c3cd3c986cf
16 URL:            http://search.cpan.org/dist/HTML-CalendarMonthSimple/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-Date-Calc
21 %endif
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 HTML::CalendarMonthSimple is a Perl module for generating,
27 manipulating, and printing a HTML calendar grid for a specified month.
28 It is intended as a faster and easier-to-use alternative to
29 HTML::CalendarMonth.
30
31 %description -l pl.UTF-8
32 HTML::CalendarMonthSimple to moduł Perla do generowania, obrabiania i
33 drukowania tabelek HTML z kalendarzem dla określonego miesiąca.
34 Powinien być szybszą i łatwiejszą w użyciu alternatywą dla
35 HTML::CalendarMonth.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README
60 %{perl_vendorlib}/HTML/CalendarMonthSimple.pm
61 %{_mandir}/man3/*
This page took 0.055537 seconds and 4 git commands to generate.