3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam CalendarMonthSimple
8 Summary: HTML::CalendarMonthSimple - generating HTML calendars
9 Summary(pl.UTF-8): HTML::CalendarMonthSimple - generowanie kalendarzy w HTML
10 Name: perl-HTML-CalendarMonthSimple
13 License: free (see README)
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 2f9fcad2627890cc11ab5c3cd3c986cf
18 BuildRequires: perl-Date-Calc
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
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
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/HTML/CalendarMonthSimple.pm