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