|
Chris Weyl |
9b448a5 |
Name: perl-Template-Alloy
|
|
|
7a4b0cd |
Version: 1.022
|
|
|
febe918 |
Release: 10%{?dist}
|
|
Chris Weyl |
9b448a5 |
Summary: Templating tool supporting multiple markup formats
|
|
Chris Weyl |
9b448a5 |
# see lib/Template/Alloy.pod
|
|
Chris Weyl |
9b448a5 |
License: GPL+ or Artistic
|
|
|
b49b761 |
URL: https://metacpan.org/release/Template-Alloy
|
|
|
b49b761 |
Source0: https://cpan.metacpan.org/authors/id/R/RH/RHANDOM/Template-Alloy-%{version}.tar.gz
|
|
Chris Weyl |
9b448a5 |
BuildArch: noarch
|
|
|
7a4b0cd |
BuildRequires: coreutils
|
|
|
7a4b0cd |
BuildRequires: make
|
|
|
6d13f33 |
BuildRequires: perl-generators
|
|
|
7a4b0cd |
BuildRequires: perl-interpreter
|
|
|
7a4b0cd |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
bfaa951 |
BuildRequires: perl(Config)
|
|
|
7a4b0cd |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
c1f7534 |
# Run-time:
|
|
|
c1f7534 |
BuildRequires: perl(base)
|
|
|
c1f7534 |
BuildRequires: perl(Carp)
|
|
|
c1f7534 |
BuildRequires: perl(constant)
|
|
|
c1f7534 |
BuildRequires: perl(Data::Dumper)
|
|
|
c1f7534 |
BuildRequires: perl(Digest::MD5) >= 1
|
|
|
c1f7534 |
BuildRequires: perl(Exporter)
|
|
|
c1f7534 |
BuildRequires: perl(File::Path)
|
|
|
c1f7534 |
BuildRequires: perl(JSON)
|
|
|
c1f7534 |
BuildRequires: perl(overload)
|
|
|
c1f7534 |
BuildRequires: perl(Storable)
|
|
|
c1f7534 |
BuildRequires: perl(strict)
|
|
|
c1f7534 |
BuildRequires: perl(warnings)
|
|
|
c1f7534 |
# Optional run-time:
|
|
|
c1f7534 |
BuildRequires: perl(Encode)
|
|
|
c1f7534 |
BuildRequires: perl(Scalar::Util)
|
|
|
c1f7534 |
# Tests:
|
|
|
c1f7534 |
BuildRequires: perl(Taint::Runtime)
|
|
|
c1f7534 |
BuildRequires: perl(Template::Filters)
|
|
|
c1f7534 |
BuildRequires: perl(Template::Stash)
|
|
|
c1f7534 |
BuildRequires: perl(Template::View)
|
|
|
c1f7534 |
BuildRequires: perl(Test::More)
|
|
|
c1f7534 |
# Optional tests:
|
|
|
c1f7534 |
BuildRequires: perl(utf8)
|
|
|
c1f7534 |
Requires: perl(Carp)
|
|
|
c1f7534 |
Requires: perl(Data::Dumper)
|
|
|
c1f7534 |
Requires: perl(Digest::MD5) >= 1
|
|
|
c1f7534 |
Requires: perl(File::Path)
|
|
|
c1f7534 |
Requires: perl(JSON)
|
|
|
c1f7534 |
Requires: perl(overload)
|
|
|
c1f7534 |
Requires: perl(Storable)
|
|
Chris Weyl |
9b448a5 |
|
|
|
a716f5c |
%{?perl_default_filter}
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
%description
|
|
Chris Weyl |
9b448a5 |
"An alloy is a homogeneous mixture of two or more elements"
|
|
Chris Weyl |
9b448a5 |
(http://en.wikipedia.org/wiki/Alloy).
|
|
Chris Weyl |
9b448a5 |
|
|
|
c1f7534 |
Template::Alloy represents the mixing of features and capabilities from all of
|
|
|
c1f7534 |
the major mini-language based template systems (support for non-mini-language
|
|
|
c1f7534 |
based systems will happen eventually). With Template::Alloy you can use your
|
|
|
c1f7534 |
favorite template interface and syntax and get features from each of the other
|
|
|
c1f7534 |
major template systems. And Template::Alloy is fast - whether you're using
|
|
|
c1f7534 |
mod_perl, CGI, or running from the command line. There is even
|
|
|
c1f7534 |
Template::Alloy::XS for getting a little more speed when that is necessary.
|
|
Chris Weyl |
9b448a5 |
|
|
|
bfaa951 |
%package tests
|
|
|
bfaa951 |
Summary: Tests for %{name}
|
|
|
bfaa951 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
bfaa951 |
Requires: coreutils
|
|
|
bfaa951 |
Requires: perl-Test-Harness
|
|
|
bfaa951 |
Requires: perl(Encode)
|
|
|
bfaa951 |
Requires: perl(File::Path)
|
|
|
bfaa951 |
Requires: perl(Taint::Runtime)
|
|
|
bfaa951 |
Requires: perl(Template::Filters)
|
|
|
bfaa951 |
Requires: perl(Template::Stash)
|
|
|
bfaa951 |
Requires: perl(Template::View)
|
|
|
bfaa951 |
Requires: perl(utf8)
|
|
|
bfaa951 |
|
|
|
bfaa951 |
%description tests
|
|
|
bfaa951 |
Tests from %{name}. Execute them
|
|
|
bfaa951 |
with "%{_libexecdir}/%{name}/test".
|
|
|
bfaa951 |
|
|
Chris Weyl |
9b448a5 |
%prep
|
|
Chris Weyl |
9b448a5 |
%setup -q -n Template-Alloy-%{version}
|
|
Chris Weyl |
9b448a5 |
find . -type f -exec chmod -c -x {} +
|
|
|
bfaa951 |
# Help generators to recognize Perl scripts
|
|
|
bfaa951 |
for F in t/*.t; do
|
|
|
bfaa951 |
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
|
|
|
bfaa951 |
chmod +x "$F"
|
|
|
bfaa951 |
done
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
%build
|
|
|
7a4b0cd |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
7a4b0cd |
%{make_build}
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
%install
|
|
|
7a4b0cd |
%{make_install}
|
|
Chris Weyl |
9b448a5 |
%{_fixperms} %{buildroot}/*
|
|
|
bfaa951 |
# Install tests
|
|
|
bfaa951 |
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
bfaa951 |
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
bfaa951 |
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
bfaa951 |
#!/bin/bash
|
|
|
bfaa951 |
set -e
|
|
|
bfaa951 |
# t/02_cache.t writes into PWD
|
|
|
bfaa951 |
DIR=$(mktemp -d)
|
|
|
bfaa951 |
cp -a %{_libexecdir}/%{name}/t "$DIR"
|
|
|
bfaa951 |
pushd "$DIR"
|
|
|
bfaa951 |
unset REQUEST_METHOD USE_TT
|
|
|
bfaa951 |
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
bfaa951 |
popd
|
|
|
bfaa951 |
rm -r "$DIR"
|
|
|
bfaa951 |
EOF
|
|
|
bfaa951 |
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
%check
|
|
|
bfaa951 |
unset REQUEST_METHOD USE_TT
|
|
|
bfaa951 |
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
Chris Weyl |
9b448a5 |
make test
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
%files
|
|
|
c1f7534 |
%doc Changes README samples/
|
|
Chris Weyl |
9b448a5 |
%{perl_vendorlib}/*
|
|
Chris Weyl |
9b448a5 |
%{_mandir}/man3/*
|
|
Chris Weyl |
9b448a5 |
|
|
|
bfaa951 |
%files tests
|
|
|
bfaa951 |
%{_libexecdir}/%{name}
|
|
|
bfaa951 |
|
|
Chris Weyl |
9b448a5 |
%changelog
|
|
|
febe918 |
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-10
|
|
|
febe918 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
febe918 |
|
|
|
a686708 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-9
|
|
|
a686708 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
a686708 |
|
|
|
5780692 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-8
|
|
|
5780692 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
5780692 |
|
|
|
5015e35 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-7
|
|
|
5015e35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
5015e35 |
|
|
|
fd87928 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-6
|
|
|
fd87928 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
fd87928 |
|
|
|
168d438 |
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.022-5
|
|
|
168d438 |
- Perl 5.36 rebuild
|
|
|
168d438 |
|
|
|
ca5ad3b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-4
|
|
|
ca5ad3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
ca5ad3b |
|
|
|
52dea63 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.022-3
|
|
|
52dea63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
52dea63 |
|
|
|
7a4648a |
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.022-2
|
|
|
7a4648a |
- Perl 5.34 rebuild
|
|
|
7a4648a |
|
|
|
7a4b0cd |
* Tue Mar 23 2021 Petr Pisar <ppisar@redhat.com> - 1.022-1
|
|
|
7a4b0cd |
- 1.022 bump
|
|
|
bfaa951 |
- Package tests
|
|
|
7a4b0cd |
|
|
|
b5e6b3d |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-20
|
|
|
b5e6b3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b5e6b3d |
|
|
|
8741886 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-19
|
|
|
8741886 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8741886 |
|
|
|
c9d7002 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-18
|
|
|
c9d7002 |
- Perl 5.32 rebuild
|
|
|
c9d7002 |
|
|
|
28b7431 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-17
|
|
|
28b7431 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
28b7431 |
|
|
|
cb10170 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-16
|
|
|
cb10170 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
cb10170 |
|
|
|
1ec7e22 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-15
|
|
|
1ec7e22 |
- Perl 5.30 rebuild
|
|
|
1ec7e22 |
|
|
|
2b4745a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-14
|
|
|
2b4745a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2b4745a |
|
|
|
8efaf72 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-13
|
|
|
8efaf72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8efaf72 |
|
|
|
272d8bb |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-12
|
|
|
272d8bb |
- Perl 5.28 rebuild
|
|
|
272d8bb |
|
|
|
6f294c6 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-11
|
|
|
6f294c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
6f294c6 |
|
|
|
39da59c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-10
|
|
|
39da59c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
39da59c |
|
|
|
bf33dac |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-9
|
|
|
bf33dac |
- Perl 5.26 rebuild
|
|
|
bf33dac |
|
|
|
aef3639 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-8
|
|
|
aef3639 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
aef3639 |
|
|
|
1f79964 |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-7
|
|
|
1f79964 |
- Perl 5.24 rebuild
|
|
|
1f79964 |
|
|
|
e24fdf1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.020-6
|
|
|
e24fdf1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e24fdf1 |
|
|
|
a632be4 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.020-5
|
|
|
a632be4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a632be4 |
|
|
|
24677f0 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-4
|
|
|
24677f0 |
- Perl 5.22 rebuild
|
|
|
24677f0 |
|
|
|
8e19f06 |
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.020-3
|
|
|
8e19f06 |
- Perl 5.20 rebuild
|
|
|
8e19f06 |
|
|
|
1f7f602 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.020-2
|
|
|
1f7f602 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1f7f602 |
|
|
|
6cd6bc2 |
* Mon Sep 23 2013 Petr Pisar <ppisar@redhat.com> - 1.020-1
|
|
|
6cd6bc2 |
- 1.020 bump
|
|
|
6cd6bc2 |
|
|
|
c1f7534 |
* Mon Sep 09 2013 Petr Pisar <ppisar@redhat.com> - 1.019-1
|
|
|
c1f7534 |
- 1.019 bump
|
|
|
c1f7534 |
|
|
|
6e17268 |
* Fri Aug 23 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-1
|
|
|
6e17268 |
- 0.018 bump, bug fixes
|
|
|
6e17268 |
- Specify all dependencies
|
|
|
6e17268 |
|
|
|
4bcf623 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.016-8
|
|
|
4bcf623 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
4bcf623 |
|
|
|
882657c |
* Sat Jul 27 2013 Petr Pisar <ppisar@redhat.com> - 1.016-7
|
|
|
882657c |
- Perl 5.18 rebuild
|
|
|
882657c |
|
|
|
cc613d4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.016-6
|
|
|
cc613d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cc613d4 |
|
|
|
11cccd4 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.016-5
|
|
|
11cccd4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
11cccd4 |
|
|
|
39c9dd9 |
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.016-4
|
|
|
39c9dd9 |
- Perl 5.16 rebuild
|
|
|
39c9dd9 |
|
|
|
7f9ffbe |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.016-3
|
|
|
7f9ffbe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7f9ffbe |
|
|
Petr Sabata |
6cd882e |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.016-2
|
|
Petr Sabata |
6cd882e |
- Perl mass rebuild
|
|
Petr Sabata |
6cd882e |
|
|
|
8d2634c |
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.016-1
|
|
|
8d2634c |
- update to latest upstream version
|
|
|
8d2634c |
|
|
|
6802900 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.013-8
|
|
|
6802900 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6802900 |
|
|
|
9c1dd55 |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.013-7
|
|
|
9c1dd55 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
9c1dd55 |
|
|
|
a716f5c |
* Sun Dec 12 2010 Iain Arnell <iarnell@gmail.com> 1.013-6
|
|
|
a716f5c |
- use perl_default_filter
|
|
|
a716f5c |
- clean up spec for modern rpmbuild
|
|
|
a716f5c |
|
|
|
7424e40 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.013-5
|
|
|
7424e40 |
- Mass rebuild with perl-5.12.0
|
|
|
7424e40 |
|
|
|
3cb1022 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.013-4
|
|
|
3cb1022 |
- rebuild against perl 5.10.1
|
|
|
3cb1022 |
|
|
|
6af8060 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.013-3
|
|
|
6af8060 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6af8060 |
|
|
|
104c386 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.013-2
|
|
|
104c386 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
104c386 |
|
|
Chris Weyl |
0698d76 |
* Thu Oct 23 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.013-1
|
|
Chris Weyl |
0698d76 |
- update to 1.013
|
|
Chris Weyl |
0698d76 |
|
|
Chris Weyl |
803c617 |
* Sat May 31 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.012-1
|
|
Chris Weyl |
803c617 |
- update to 1.012
|
|
Chris Weyl |
803c617 |
|
|
|
99bbed3 |
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.008-2
|
|
|
99bbed3 |
- rebuild for new perl
|
|
|
99bbed3 |
|
|
Chris Weyl |
6b95e90 |
* Mon Nov 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.008-1
|
|
Chris Weyl |
6b95e90 |
- update to 1.008
|
|
Chris Weyl |
6b95e90 |
- add br on perl(Digest::MD5)
|
|
Chris Weyl |
6b95e90 |
|
|
Chris Weyl |
4e2a8f7 |
* Wed Oct 24 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.007-3
|
|
Chris Weyl |
4e2a8f7 |
- bump
|
|
Chris Weyl |
4e2a8f7 |
|
|
Chris Weyl |
9b448a5 |
* Wed Oct 24 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.007-2
|
|
Chris Weyl |
9b448a5 |
- update summary tag
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
* Mon Oct 15 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.007-1
|
|
Chris Weyl |
9b448a5 |
- update to 1.007
|
|
Chris Weyl |
9b448a5 |
- update license tag: GPL -> GPL+
|
|
Chris Weyl |
9b448a5 |
|
|
Chris Weyl |
9b448a5 |
* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.006-1
|
|
Chris Weyl |
9b448a5 |
- Specfile autogenerated by cpanspec 1.71.
|