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