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