2024-01-06 09:27:17 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-POE
|
2024-01-06 09:27:17 +01:00
|
|
|
Version: 1.370
|
2024-01-06 09:27:18 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 09:27:17 +01:00
|
|
|
Summary: POE - Portable multitasking and networking framework for Perl
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
2024-01-06 09:27:17 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/POE/POE-%{version}.tar.gz
|
2024-01-06 09:27:17 +01:00
|
|
|
License: Artistic, GPL
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 09:27:17 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 09:27:18 +01:00
|
|
|
BuildRequires: perl(Term::ReadKey)
|
2024-01-06 09:27:17 +01:00
|
|
|
BuildRequires: perl-Curses
|
2024-01-06 09:27:17 +01:00
|
|
|
BuildRequires: perl-HTTP-Date
|
|
|
|
BuildRequires: perl-HTTP-Message
|
|
|
|
BuildRequires: perl-IO-Pipely
|
2024-01-06 09:27:17 +01:00
|
|
|
BuildRequires: perl-URI
|
2024-01-06 09:27:17 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:27:17 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:27:18 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 09:27:17 +01:00
|
|
|
BuildRequires: perl-IO-Pipely
|
2024-01-06 09:27:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
POE is a framework for cooperative, event driven multitasking in Perl.
|
|
|
|
|
|
|
|
POE originally was developed as the core of a persistent object server and runtime environment. It has evolved into a general purpose multitasking and networking framework, encompassing and providing a consistent interface to other event loops such as Event and the Tk and Gtk toolkits.
|
|
|
|
|
|
|
|
POE is a mature framework for creating multitasking programs in Perl. It has been in active development since 1998. It has been used in mission-critical systems such as internetworked financial markets, file systems, commerce and application servers.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q -n POE-%{version}
|
|
|
|
chmod 755 examples
|
|
|
|
chmod 755 examples/*.perl
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor --default
|
|
|
|
%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 $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}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:27:18 +01:00
|
|
|
* Sat Apr 15 2023 Sdk Build System <sdk@mambasoft.it> 1.370-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 09:27:17 +01:00
|
|
|
* Wed Mar 23 2022 Automatic Build System <autodist@mambasoft.it> 1.370-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:17 +01:00
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 1.368-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:27:17 +01:00
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.354-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.354-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 30 2012 Automatic Build System <autodist@mambasoft.it> 1.352-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 02 2011 Automatic Build System <autodist@mambasoft.it> 1.312-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Aug 30 2009 Automatic Build System <autodist@mambasoft.it> 1.266-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 30 2009 Automatic Build System <autodist@mambasoft.it> 1.007-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 12 2009 Automatic Build System <autodist@mambasoft.it> 1.006-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 16 2009 Automatic Build System <autodist@mambasoft.it> 1.005-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.004-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0003-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Jul 02 2008 gil <puntogil@libero.it> 1.0003-1mamba
|
|
|
|
- package created by autospec
|