]> git.pld-linux.org Git - packages/perl-HTML-Calendar-Simple.git/blame - perl-HTML-Calendar-Simple.spec
use generic url
[packages/perl-HTML-Calendar-Simple.git] / perl-HTML-Calendar-Simple.spec
CommitLineData
f7c7fa60
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
2c57adfb 4
e608ed08 5%define pdir HTML
6%define pnam Calendar-Simple
2c57adfb 7%include /usr/lib/rpm/macros.perl
f7c7fa60 8Summary: HTML::Calendar::Simple - a simple HTML calendar
51273079 9Summary(pl.UTF-8): HTML::Calendar::Simple - prosty kalendarz w HTML
f7c7fa60
JB
10Name: perl-HTML-Calendar-Simple
11Version: 0.04
82543b34 12Release: 2
f7c7fa60 13# same as perl
dfde50bc 14License: GPL v1+ or Artistic
f7c7fa60
JB
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 4524a1c386f63e7fe6e9815ef37a13c5
2c57adfb
ER
18URL: http://search.cpan.org/dist/HTML-Calendar-Simple/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
f7c7fa60
JB
21%if %{with tests}
22BuildRequires: perl-CGI >= 2.752
23BuildRequires: perl-Date-Simple >= 1.03
24BuildRequires: perl-Test-Simple >= 0.40
25%endif
f7c7fa60
JB
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This is a simple module which will make an HTML representation of a
31given month. You can add links to individual days, or in fact, any
32sort of information you want.
33
34Yes, the inspiration for this came out of me looking at
35HTML::CalendarMonthSimple, and thinking 'Hmmm. A bit too complicated
36for what I want. I know, I will write a simplified version.' So it was
37done.
38
ba0c5a7f
JR
39%description -l pl.UTF-8
40Ten prosty moduł tworzy reprezentację podanego miesiąca w HTML. Można
41dodawać odnośniki do poszczególnych dni, lub, w praktyce, dowolny
f7c7fa60
JB
42rodzaj informacji.
43
ba0c5a7f
JR
44Inspiracja wzięła się z patrzenia na HTML::CalendarMonthSimple i
45myślenia "Hmmm. Trochę zbyt skomplikowane do tego, co chcę. Wiem,
46napiszę uproszczoną wersję.". No i została napisana.
f7c7fa60
JB
47
48%prep
49%setup -q -n %{pdir}-%{pnam}-%{version}
50
51%build
52%{__perl} Makefile.PL \
53 INSTALLDIRS=vendor
54
55%{__make}
56
57%{?with_tests:%{__make} test}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
70%doc Changes README
71%dir %{perl_vendorlib}/HTML/Calendar
72%{perl_vendorlib}/HTML/Calendar/Simple.pm
73%{_mandir}/man3/*
This page took 0.058373 seconds and 4 git commands to generate.