2024-01-06 08:37:54 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-CGI
|
2025-01-12 10:27:29 +01:00
|
|
|
Version: 4.67
|
2024-01-06 08:37:55 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 08:37:54 +01:00
|
|
|
Summary: Handle Common Gateway Interface requests and responses
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:37:55 +01:00
|
|
|
URL: https://www.cpan.org
|
2024-01-06 08:37:55 +01:00
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/CGI/CGI-%{version}.tar.gz
|
2024-01-06 08:37:54 +01:00
|
|
|
License: GPL, Artistic
|
2025-01-12 10:27:29 +01:00
|
|
|
BuildArch: noarch
|
2024-01-06 08:37:54 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
2024-03-02 11:57:19 +01:00
|
|
|
BuildRequires: perl-URI
|
2024-01-06 08:37:54 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:37:55 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 08:37:54 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 08:37:54 +01:00
|
|
|
BuildRequires: perl-Test-Warn
|
2024-01-06 08:37:54 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
Handle Common Gateway Interface requests and responses.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n CGI-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
|
|
|
|
%make
|
|
|
|
%make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm -f $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2025-01-12 10:27:29 +01:00
|
|
|
* Sun Jan 12 2025 Automatic Build System <autodist@openmamba.org> 4.67-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-20 09:56:36 +02:00
|
|
|
* Wed Jun 19 2024 Automatic Build System <autodist@openmamba.org> 4.66-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-05 23:17:16 +02:00
|
|
|
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 4.65-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-19 09:06:47 +01:00
|
|
|
* Tue Mar 19 2024 Automatic Build System <autodist@openmamba.org> 4.64-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-08 21:05:05 +01:00
|
|
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 4.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-02 11:57:19 +01:00
|
|
|
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 4.62-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-09 13:58:34 +01:00
|
|
|
* Tue Jan 09 2024 Automatic Build System <autodist@openmamba.org> 4.61-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:56 +01:00
|
|
|
* Wed Nov 01 2023 Automatic Build System <autodist@mambasoft.it> 4.60-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:56 +01:00
|
|
|
* Mon Oct 02 2023 Automatic Build System <autodist@mambasoft.it> 4.59-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Wed May 03 2023 Automatic Build System <autodist@mambasoft.it> 4.57-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Sat Apr 15 2023 Sdk Build System <sdk@mambasoft.it> 4.56-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Sat Mar 04 2023 Automatic Build System <autodist@mambasoft.it> 4.56-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Tue Jan 03 2023 Automatic Build System <autodist@mambasoft.it> 4.55-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Sat Feb 05 2022 Automatic Build System <autodist@mambasoft.it> 4.54-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Thu Jun 03 2021 Automatic Build System <autodist@mambasoft.it> 4.53-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 4.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:55 +01:00
|
|
|
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 4.51-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:37:54 +01:00
|
|
|
* Mon May 04 2020 Automatic Build System <autodist@mambasoft.it> 4.47-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:37:54 +01:00
|
|
|
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 4.38-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:37:54 +01:00
|
|
|
* Wed Nov 15 2017 Automatic Build System <autodist@mambasoft.it> 4.37-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:37:54 +01:00
|
|
|
* Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.35-1mamba
|
|
|
|
- package created using the webbuild interface
|