Package perl-CGI-SSI: Specfile

## SPEC file for Perl module CGI::SSI
## Used in ikiwiki

Name: perl-CGI-SSI
Version: 0.92
Release: alt3

Summary: Perl module for using SSI from CGI scripts

License: %perl_license
Group: Development/Perl
URL: http://search.cpan.org/dist/CGI-SSI/

Packager: Nikolay A. Fetisov <naf@altlinux.ru>
BuildArch: noarch

%define real_name CGI-SSI
Source: %real_name-%version.tar
Patch0: %real_name-0.92-alt-drop_network_tests.patch
Patch1: %real_name-0.92-debian-tests_tmpname.patch

BuildRequires(pre): rpm-build-licenses


# Automatically added by buildreq on Sun Aug 06 2023
# optimized out: libgpg-error perl perl-CPAN-Meta-Requirements perl-Clone perl-Encode perl-HTTP-Date perl-HTTP-Message perl-JSON-PP perl-Module-Load perl-Parse-CPAN-Meta perl-Try-Tiny perl-URI perl-parent python-modules python2-base python3-base sh4
BuildRequires: perl-CPAN-Meta perl-HTML-SimpleParse perl-HTTP-Cookies perl-TimeDate perl-devel perl-libwww

%description
Perl module CGI::SSI is meant to be used as an easy way to filter
shtml through CGI scripts in a loose imitation of Apache's
mod_include. If you're using  Apache, you may want to use either
mod_include or the Apache::SSI module instead of CGI::SSI.
Limitations in a CGI script's knowledge of how the server behaves
make some SSI directives impossible to imitate from a CGI script.

%prep
%setup  -n %real_name-%version
%patch0
%patch1

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes
%exclude /.perl.req
%perl_vendor_privlib/CGI

%changelog
* Sun Aug 06 2023 Nikolay A. Fetisov <naf@altlinux.org> 0.92-alt3
- Update BuildRequires

* Sat Dec 12 2015 Nikolay A. Fetisov <naf@altlinux.ru> 0.92-alt2
- Fix tests

* Thu Oct 18 2012 Nikolay A. Fetisov <naf@altlinux.ru> 0.92-alt1
- Initial build for ALT Linux Sisyphus