Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 433cbad02e823ace2f0a93fbb79eccc1 > files > 2

perl-Wx-Perl-ProcessStream-0.320.0-2.mga3.src.rpm

%define upstream_name    Wx-Perl-ProcessStream
%define upstream_version 0.32

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    use std handles of process via wx events
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Wx/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Time::HiRes) >= 1.200.0
BuildRequires: perl(Wx) >= 0.500.0
BuildArch:  noarch

%description
This module provides the STDOUT, STDERR and exit codes of asynchronously
running processes via events. It may be used for long running or blocking
processes that provide periodic updates on state via STDOUT. Simple IPC is
possible via STDIN.

Do not use this module simply to collect the output of another process. For
that, it is much simpler to do:

    my ($status, $output) = Wx::ExecuteStdout( 'perl -e"print qq($_\n) for(@INC);"' );

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
# Do not make test because they need gtk display
#make test

%install
%makeinstall_std

%files
%doc Changes META.yml MYMETA.yml README example
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.320.0-2.mga3
+ Revision: 374891
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Jun 05 2012 jquelin <jquelin> 0.320.0-1.mga3
+ Revision: 255604
- update to 0.32

* Sat Feb 26 2011 jquelin <jquelin> 0.300.0-1.mga1
+ Revision: 60558
- update to 0.30

* Mon Jan 24 2011 jquelin <jquelin> 0.290.0-1.mga1
+ Revision: 36685
- mageia rebuild
- imported package perl-Wx-Perl-ProcessStream