Petr Šabata f1301bc
Name:           perl-Text-Template-Simple
209d0ff
Version:        0.90
22c6cf7
Release:        5%{?dist}
Petr Šabata f1301bc
Summary:        Simple text template engine
Petr Šabata f1301bc
License:        GPL+ or Artistic
Petr Šabata f1301bc
URL:            http://search.cpan.org/dist/Text-Template-Simple/
Petr Šabata f1301bc
Source0:        http://www.cpan.org/authors/id/B/BU/BURAK/Text-Template-Simple-%{version}.tar.gz
b6d59cd
# Fix building on Perl without "." in @INC, CPAN RT#121697
b6d59cd
Patch0:         Text-Template-Simple-0.90-Fix-building-on-Perl-without-.-in-INC.patch
Petr Šabata f1301bc
BuildArch:      noarch
Petr Šabata f1301bc
# Build
8d621dc
BuildRequires:  perl-interpreter
9c6f820
BuildRequires:  perl-generators
Petr Šabata f1301bc
BuildRequires:  perl(base)
Petr Šabata f1301bc
BuildRequires:  perl(Carp)
Petr Šabata f1301bc
BuildRequires:  perl(constant)
Petr Šabata f1301bc
BuildRequires:  perl(Exporter)
Petr Šabata f1301bc
# XXX: BuildRequires:  perl(File::Basename)
Petr Šabata f1301bc
# XXX: BuildRequires:  perl(File::Copy)
Petr Šabata f1301bc
BuildRequires:  perl(File::Find)
Petr Šabata f1301bc
BuildRequires:  perl(File::Path)
Petr Šabata f1301bc
BuildRequires:  perl(File::Spec) >= 0.6
Petr Šabata f1301bc
BuildRequires:  perl(IO::File)
Petr Šabata f1301bc
BuildRequires:  perl(lib)
Petr Šabata f1301bc
BuildRequires:  perl(Module::Build)
Petr Šabata f1301bc
BuildRequires:  perl(strict)
Petr Šabata f1301bc
BuildRequires:  perl(warnings)
Petr Šabata f1301bc
# Runtime
Petr Šabata f1301bc
BuildRequires:  perl(Data::Dumper) >= 2.101
Petr Šabata f1301bc
BuildRequires:  perl(Devel::Size) >= 0.77
Petr Šabata f1301bc
BuildRequires:  perl(Digest::MD5)
Petr Šabata f1301bc
BuildRequires:  perl(Fcntl) >= 1.03
Petr Šabata f1301bc
BuildRequires:  perl(File::stat)
Petr Šabata f1301bc
BuildRequires:  perl(IO::Handle)
Petr Šabata f1301bc
BuildRequires:  perl(overload)
Petr Šabata f1301bc
# XXX: BuildRequires:  perl(Perl::Tidy)
Petr Šabata f1301bc
BuildRequires:  perl(Safe) >= 2.06
Petr Šabata f1301bc
BuildRequires:  perl(Symbol)
Petr Šabata f1301bc
BuildRequires:  perl(Text::Table) >= 1.107
Petr Šabata f1301bc
# Tests only
Petr Šabata f1301bc
BuildRequires:  perl(Cwd)
Petr Šabata f1301bc
BuildRequires:  perl(File::Temp) >= 0.12
Petr Šabata f1301bc
BuildRequires:  perl(subs)
Petr Šabata f1301bc
BuildRequires:  perl(Test::More) >= 0.40
Petr Šabata f1301bc
BuildRequires:  perl(vars)
Petr Šabata f1301bc
# Optional tests only
Petr Šabata f1301bc
BuildRequires:  perl(Pod::Simple) >= 3.05
Petr Šabata f1301bc
BuildRequires:  perl(Test::Pod) >= 1.26
Petr Šabata f1301bc
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Petr Šabata f1301bc
Requires:       perl(Data::Dumper) >= 2.101
Petr Šabata f1301bc
Requires:       perl(Devel::Size) >= 0.77
Petr Šabata f1301bc
Requires:       perl(Digest::MD5)
Petr Šabata f1301bc
Requires:       perl(Fcntl) >= 1.03
Petr Šabata f1301bc
Requires:       perl(File::Find)
Petr Šabata f1301bc
Requires:       perl(File::Spec) >= 0.6
Petr Šabata 6d8d7cd
Requires:       perl(File::stat)
Petr Šabata f1301bc
Requires:       perl(IO::File)
Petr Šabata f1301bc
Requires:       perl(IO::Handle)
Petr Šabata f1301bc
Requires:       perl(Perl::Tidy)
Petr Šabata f1301bc
Requires:       perl(Safe) >= 2.06
Petr Šabata f1301bc
Requires:       perl(Symbol)
Petr Šabata f1301bc
Requires:       perl(Text::Table) >= 1.107
Petr Šabata f1301bc
Petr Šabata 6d8d7cd
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
Petr Šabata 6d8d7cd
Petr Šabata f1301bc
%description
Petr Šabata f1301bc
%{summary}.
Petr Šabata f1301bc
Petr Šabata f1301bc
%prep
Petr Šabata f1301bc
%setup -q -n Text-Template-Simple-%{version}
b6d59cd
%patch0 -p1
Petr Šabata f1301bc
Petr Šabata f1301bc
%build
Petr Šabata f1301bc
perl Build.PL installdirs=vendor
Petr Šabata f1301bc
./Build
Petr Šabata f1301bc
Petr Šabata f1301bc
%install
Petr Šabata f1301bc
./Build install destdir=%{buildroot} create_packlist=0
Petr Šabata f1301bc
%{_fixperms} %{buildroot}/*
Petr Šabata f1301bc
Petr Šabata f1301bc
%check
Petr Šabata f1301bc
./Build test
Petr Šabata f1301bc
Petr Šabata f1301bc
%files
Petr Šabata f1301bc
%license LICENSE
Petr Šabata f1301bc
%doc Changes eg etc/flowchart.txt README TODO
209d0ff
%{_bindir}/tts
209d0ff
%{_mandir}/man1/tts*
209d0ff
%{_mandir}/man3/Text*
209d0ff
%{perl_vendorlib}/Text*
Petr Šabata f1301bc
Petr Šabata f1301bc
%changelog
22c6cf7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.90-5
22c6cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
22c6cf7
0ba1552
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.90-4
0ba1552
- Perl 5.26 rebuild
0ba1552
b6d59cd
* Tue May 16 2017 Petr Pisar <ppisar@redhat.com> - 0.90-3
b6d59cd
- Fix building on Perl without "." in @INC (CPAN RT#121697)
b6d59cd
f24d2ba
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.90-2
f24d2ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f24d2ba
209d0ff
* Sun Jul 10 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.90-1
209d0ff
- Update to 0.90
209d0ff
9434c80
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.86-5
9434c80
- Perl 5.24 rebuild
9434c80
bf0b0f5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.86-4
bf0b0f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bf0b0f5
23e9007
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-3
23e9007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
23e9007
023acb1
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.86-2
023acb1
- Perl 5.22 rebuild
023acb1
Petr Šabata f1301bc
* Tue Apr 14 2015 Petr Ĺ abata <contyk@redhat.com> 0.86-1
Petr Šabata f1301bc
- Initial packaging