rpms/perl-HTML-CalendarMonthSimple/FC-6 HTML-CalendarMonthSimple-1.24.thisday.patch, NONE, 1.1 perl-HTML-CalendarMonthSimple.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andreas Thienemann (ixs) fedora-extras-commits at redhat.com
Wed May 16 10:55:23 UTC 2007


Author: ixs

Update of /cvs/extras/rpms/perl-HTML-CalendarMonthSimple/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10102/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	HTML-CalendarMonthSimple-1.24.thisday.patch 
	perl-HTML-CalendarMonthSimple.spec 
Log Message:
Initial import

HTML-CalendarMonthSimple-1.24.thisday.patch:

--- NEW FILE HTML-CalendarMonthSimple-1.24.thisday.patch ---
--- HTML-CalendarMonthSimple-1.24/CalendarMonthSimple.pm.orig	2004-11-21 00:31:04.000000000 +0100
+++ HTML-CalendarMonthSimple-1.24/CalendarMonthSimple.pm	2004-11-21 00:31:55.000000000 +0100
@@ -269,7 +269,7 @@
          }
 
          # Get the cell's coloration and CSS class
-         if ($self->year == $todayyear && $self->month == $todaymonth && $thisday == $todaydate)
+         if ($self->year == $todayyear && $self->month == $todaymonth && defined $thisday && $thisday == $todaydate)
                                               { $thisbgcolor = $self->datecolor($thisday) || $todaycolor;
                                                 $thisbordercolor = $self->datebordercolor($thisday) || $todaybordercolor;
                                                 $thiscontentcolor = $self->datecontentcolor($thisday) || $todaycontentcolor;


--- NEW FILE perl-HTML-CalendarMonthSimple.spec ---
Name:           perl-HTML-CalendarMonthSimple
Version:        1.25
Release:        1%{?dist}
Summary:        Perl Module for Generating HTML Calendars
License:        Public Domain
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/HTML-CalendarMonthSimple/
Source0:        http://www.cpan.org/modules/by-module/HTML/HTML-CalendarMonthSimple-%{version}.tar.gz
Patch0:         HTML-CalendarMonthSimple-1.24.thisday.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires:  perl(Data::Calc)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  /usr/bin/iconv

%description
HTML::CalendarMonthSimple is a Perl module for generating, manipulating,
and printing a HTML calendar grid for a specified month. It is intended as
a faster and easier-to-use alternative to HTML::CalendarMonth.

%prep
%setup -q -n HTML-CalendarMonthSimple-%{version}
%patch0 -p 1 -b .thisday

# Fix UTF-8
iconv -f ISO_8859-1 -t UTF-8 -o tmp.pm CalendarMonthSimple.pm &&
mv -f tmp.pm CalendarMonthSimple.pm

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Fri Mar 16 2007 Andreas Thienemann <andreas at bawue.net> 1.25-1
- Specfile autogenerated by cpanspec 1.69.1.
- Cleaned up
- Added patch0



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-CalendarMonthSimple/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Apr 2007 03:56:21 -0000	1.1
+++ .cvsignore	16 May 2007 10:54:48 -0000	1.2
@@ -0,0 +1 @@
+HTML-CalendarMonthSimple-1.25.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-CalendarMonthSimple/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Apr 2007 03:56:21 -0000	1.1
+++ sources	16 May 2007 10:54:48 -0000	1.2
@@ -0,0 +1 @@
+2f9fcad2627890cc11ab5c3cd3c986cf  HTML-CalendarMonthSimple-1.25.tar.gz




More information about the fedora-extras-commits mailing list