perl-POE/perl-POE.spec

107 lines
3.7 KiB
RPMSpec
Raw Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-POE
Version: 1.370
Release: 2mamba
Summary: POE - Portable multitasking and networking framework for Perl
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: https://www.cpan.org
Source: https://cpan.metacpan.org/modules/by-module/POE/POE-%{version}.tar.gz
License: Artistic, GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl-Curses
BuildRequires: perl-HTTP-Date
BuildRequires: perl-HTTP-Message
BuildRequires: perl-IO-Pipely
BuildRequires: perl-URI
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
BuildRequires: perl-IO-Pipely
%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
* Sat Apr 15 2023 Sdk Build System <sdk@mambasoft.it> 1.370-2mamba
- rebuilt with perl 5.36.0
* Wed Mar 23 2022 Automatic Build System <autodist@mambasoft.it> 1.370-1mamba
- automatic version update by autodist
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 1.368-1mamba
- automatic version update by autodist
* 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