Name: perl-HTML-CalendarMonthSimple
Version: 1.26
Release: 7%{?dist}
Summary: Perl Module for Generating HTML Calendars
License: Public Domain
URL: https://metacpan.org/release/HTML-CalendarMonthSimple
Source0: https://cpan.metacpan.org/modules/by-module/HTML/HTML-CalendarMonthSimple-%{version}.tar.gz
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(Date::Calc)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: /usr/bin/iconv
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test
BuildRequires: perl(Test::More)
%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}
# Fix UTF-8
iconv -f ISO_8859-1 -t UTF-8 -o tmp.pm lib/HTML/CalendarMonthSimple.pm && \
touch -r lib/HTML/CalendarMonthSimple.pm tmp.pm && \
mv -f tmp.pm lib/HTML/CalendarMonthSimple.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make_build
%install
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
%files
%doc README Changes Todo
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering - 1.26-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova - 1.26-6
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 1.26-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 1.26-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova - 1.26-3
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 1.26-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Oct 19 2020 Xavier Bachelot - 1.26-1
- Update to 1.26
- Drop outdated patch
- Package Changes, todo and LICENSE files
- Change License (BSD instead of Public Domain)
- Specify all dependencies
* Tue Jul 28 2020 Fedora Release Engineering - 1.25-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 1.25-33
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 1.25-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 1.25-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 1.25-30
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 1.25-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 1.25-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova - 1.25-27
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 1.25-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 1.25-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova - 1.25-24
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 1.25-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova - 1.25-22
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 1.25-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering - 1.25-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Jun 04 2015 Jitka Plesnikova - 1.25-19
- Perl 5.22 rebuild
* Wed Aug 27 2014 Jitka Plesnikova - 1.25-18
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 1.25-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering - 1.25-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Jul 20 2013 Petr Pisar - 1.25-15
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering - 1.25-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 1.25-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jun 12 2012 Petr Pisar - 1.25-12
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 1.25-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Jul 20 2011 Petr Sabata - 1.25-10
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering - 1.25-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Marcela Maslanova - 1.25-8
- 661697 rebuild for fixing problems with vendorach/lib
* Sun May 02 2010 Marcela Maslanova - 1.25-7
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal - 1.25-6
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering - 1.25-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering - 1.25-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering - 1.25-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed May 16 2007 Andreas Thienemann 1.25-2
- Fixed typo in BR
* Fri Mar 16 2007 Andreas Thienemann 1.25-1
- Specfile autogenerated by cpanspec 1.69.1.
- Cleaned up
- Added patch0