91b789
# Perform optional tests
91b789
%bcond_without perl_Text_Template_enables_optional_test
91b789
91b789
Name:           perl-Text-Template
91b789
Version:        1.58
91b789
Release:        1%{?dist}
91b789
Summary:        Expand template text with embedded Perl
91b789
License:        GPL+ or Artistic
91b789
URL:            https://metacpan.org/release/Text-Template
91b789
Source0:        https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Text-Template-%{version}.tar.gz
91b789
BuildArch:      noarch
91b789
BuildRequires:  coreutils
91b789
BuildRequires:  findutils
91b789
BuildRequires:  make
91b789
BuildRequires:  perl-generators
91b789
BuildRequires:  perl-interpreter
91b789
BuildRequires:  perl(ExtUtils::MakeMaker)
91b789
BuildRequires:  perl(strict)
91b789
BuildRequires:  perl(warnings)
91b789
# Run-time:
91b789
BuildRequires:  perl(base)
91b789
BuildRequires:  perl(Carp)
91b789
BuildRequires:  perl(Exporter)
91b789
# Tests:
91b789
BuildRequires:  perl(Encode)
91b789
BuildRequires:  perl(File::Temp)
91b789
BuildRequires:  perl(lib)
91b789
BuildRequires:  perl(Test::More) >= 0.94
91b789
BuildRequires:  perl(utf8)
91b789
BuildRequires:  perl(vars)
91b789
%if %{with perl_Text_Template_enables_optional_test}
91b789
# Optional tests:
91b789
BuildRequires:  perl(Safe)
91b789
# Not in Fedora
91b789
# BuildRequires:  perl(Test::More::UTF8)
91b789
BuildRequires:  perl(Test::Warnings)
91b789
%endif
91b789
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
91b789
Requires:       perl(Carp)
91b789
91b789
%description
91b789
This is a library for generating form letters, building HTML pages, or
91b789
filling in templates generally.  A 'template' is a piece of text that
91b789
has little Perl programs embedded in it here and there.  When you
91b789
'fill in' a template, you evaluate the little programs and replace
91b789
them with their values.
91b789
91b789
%prep
91b789
%setup -q -n Text-Template-%{version}
91b789
91b789
%build
91b789
%{__perl} Makefile.PL INSTALLDIRS=vendor
91b789
make %{?_smp_mflags}
91b789
91b789
%install
91b789
make pure_install DESTDIR=$RPM_BUILD_ROOT
91b789
find $RPM_BUILD_ROOT -type f -name .packlist -delete
91b789
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
91b789
chmod -R u+w $RPM_BUILD_ROOT/*
91b789
91b789
%check
91b789
unset AUTHOR_TESTING
91b789
make test
91b789
91b789
%files
91b789
%license LICENSE
91b789
%doc README
91b789
%{perl_vendorlib}/Text/
91b789
%{_mandir}/man3/*.3pm*
91b789
91b789
%changelog
91b789
* Wed Oct 16 2019 Tom Callaway <spot@fedoraproject.org> - 1.58-1
91b789
- update to 1.58
91b789
91b789
* Tue Sep 10 2019 Tom Callaway <spot@fedoraproject.org> - 1.57-1
91b789
- update to 1.57
91b789
91b789
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.56-2
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
91b789
91b789
* Tue Jul  9 2019 Tom Callaway <spot@fedoraproject.org> - 1.56-1
91b789
- update to 1.56
91b789
91b789
* Thu Jun 06 2019 Petr Pisar <ppisar@redhat.com> - 1.55-3
91b789
- Enable tests
91b789
91b789
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.55-2
91b789
- Perl 5.30 rebuild
91b789
91b789
* Tue Feb 26 2019 Tom Callaway <spot@fedoraproject.org> - 1.55-1
91b789
- update to 1.55
91b789
91b789
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.54-2
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
91b789
91b789
* Mon Jan 14 2019 Tom Callaway <spot@fedoraproject.org> - 1.54-1
91b789
- update to 1.54
91b789
91b789
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.53-3
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
91b789
91b789
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.53-2
91b789
- Perl 5.28 rebuild
91b789
91b789
* Sat May  5 2018 Tom Callaway <spot@fedoraproject.org> - 1.53-1
91b789
- update to 1.53
91b789
91b789
* Sun Mar 25 2018 Tom Callaway <spot@fedoraproject.org> - 1.52-1
91b789
- update to 1.52
91b789
91b789
* Mon Mar  5 2018 Tom Callaway <spot@fedoraproject.org> - 1.51-1
91b789
- update to 1.51
91b789
91b789
* Thu Mar 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-1
91b789
- 1.50 bump
91b789
91b789
* Wed Feb 14 2018 Tom Callaway <spot@fedoraproject.org> - 1.47-5
91b789
- fix license tag
91b789
91b789
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-4
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
91b789
91b789
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-3
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
91b789
91b789
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.47-2
91b789
- Perl 5.26 rebuild
91b789
91b789
* Tue Feb 28 2017 Tom Callaway <spot@fedoraproject.org> - 1.47-1
91b789
- update to 1.47
91b789
91b789
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.46-6
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
91b789
91b789
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-5
91b789
- Perl 5.24 rebuild
91b789
91b789
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.46-4
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
91b789
91b789
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-3
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
91b789
91b789
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.46-2
91b789
- Perl 5.22 rebuild
91b789
91b789
* Fri Mar 27 2015 Tom Callawau <spot@fedoraproject.org> - 1.46-1
91b789
- update to 1.46
91b789
91b789
* Fri Mar 06 2015 Petr Pisar <ppisar@redhat.com> - 1.45-18
91b789
- Correct license declaration to ((GPL+ or Artistic) and (GPLv2+ or Artistic))
91b789
  (bug #1198991)
91b789
91b789
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.45-17
91b789
- Specify all dependencies
91b789
91b789
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.45-16
91b789
- Perl 5.20 rebuild
91b789
91b789
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-15
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
91b789
91b789
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-14
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
91b789
91b789
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.45-13
91b789
- Perl 5.18 rebuild
91b789
91b789
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-12
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
91b789
91b789
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-11
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
91b789
91b789
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.45-10
91b789
- Perl 5.16 rebuild
91b789
91b789
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-9
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
91b789
91b789
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.45-8
91b789
- Perl mass rebuild
91b789
91b789
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-7
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
91b789
91b789
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.45-6
91b789
- 661697 rebuild for fixing problems with vendorach/lib
91b789
91b789
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.45-5
91b789
- Mass rebuild with perl-5.12.0
91b789
91b789
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.45-4
91b789
- rebuild against perl 5.10.1
91b789
91b789
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-3
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
91b789
91b789
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-2
91b789
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
91b789
91b789
* Wed Apr 23 2008 Ralf Corsépius <rc040203@freenet.de> - 1.45-1
91b789
- Upstream update.
91b789
- Abandon perl-Text-Template-perl510-fixtest09.patch.
91b789
91b789
* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-6
91b789
- fix test 09 for perl5.10
91b789
91b789
* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-5
91b789
- rebuild for new perl
91b789
91b789
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-4.1
91b789
- correct license tag
91b789
- add BR: perl(ExtUtils::MakeMaker)
91b789
91b789
* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.44-4
91b789
- Rebuild for FC6.
91b789
91b789
* Thu Feb 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.44-3
91b789
- Rebuild for FC5 (perl 5.8.8).
91b789
91b789
* Thu Aug 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.44-2
91b789
- Removed the explicit perl build requirement.
91b789
91b789
* Wed Aug 10 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.44-1
91b789
- Update to Fedora Extras template.
91b789
91b789
* Sat Dec 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.44-0.fdr.1
91b789
- First build.