Blame SPECS/perl-Text-Template.spec

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