rpms/perl-Event-ExecFlow/F-9 Event-ExecFlow-0.63-rm_anyevent_prov.patch, NONE, 1.1 perl-Event-ExecFlow.spec, NONE, 1.1 sources, 1.1, 1.2

Chauvet Nicolas (kwizart) fedora-extras-commits at redhat.com
Thu Jul 24 21:58:32 UTC 2008


Author: kwizart

Update of /cvs/pkgs/rpms/perl-Event-ExecFlow/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32567

Modified Files:
	sources 
Added Files:
	Event-ExecFlow-0.63-rm_anyevent_prov.patch 
	perl-Event-ExecFlow.spec 
Log Message:
Initial import for F-9


Event-ExecFlow-0.63-rm_anyevent_prov.patch:

--- NEW FILE Event-ExecFlow-0.63-rm_anyevent_prov.patch ---
diff -up Event-ExecFlow-0.63/lib/Event/ExecFlow/Job/Command.pm.rm_anyeventprov Event-ExecFlow-0.63/lib/Event/ExecFlow/Job/Command.pm
--- Event-ExecFlow-0.63/lib/Event/ExecFlow/Job/Command.pm.rm_anyeventprov	2008-07-16 00:21:53.000000000 +0200
+++ Event-ExecFlow-0.63/lib/Event/ExecFlow/Job/Command.pm	2008-07-16 00:22:22.000000000 +0200
@@ -9,7 +9,7 @@ use AnyEvent;
 
 # prevent warnings from AnyEvent
 { package AnyEvent::Impl::Event::CondVar;
-  package AnyEvent::Impl::Event::Glib; }
+}
 
 sub get_type                    { "command" }
 sub get_exec_type               { "async"   }


--- NEW FILE perl-Event-ExecFlow.spec ---
Name:           perl-Event-ExecFlow
Version:        0.63
Release:        3%{?dist}
Summary:        High level API for event-based execution flow control

Group:          Development/Libraries
License:        (GPL+ or Artistic) and LGPLv2+
URL:            http://search.cpan.org/dist/Event-ExecFlow/
Source0:        http://search.cpan.org/CPAN/authors/id/J/JR/JRED/Event-ExecFlow-%{version}.tar.gz
Patch0:         Event-ExecFlow-0.63-rm_anyevent_prov.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(AnyEvent)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Locale::TextDomain)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Event::ExecFlow offers a high level API to declare jobs, which mainly execute
external commands, parse their output to get progress or other status
information, triggers actions when the command has been finished etc. Such jobs
can be chained together in a recursive fashion to fulfill rather complex tasks
which consist of many jobs.


%prep
%setup -q -n Event-ExecFlow-%{version}

# Convert encoding
for f in $(find lib/ -name *.pm) README ; do
cp -p ${f} ${f}.noutf8
iconv -f ISO-8859-1 -t UTF-8 ${f}.noutf8 > ${f}
touch -r ${f}.noutf8 ${f}
rm ${f}.noutf8
done

%patch0 -p1


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


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'

# Fix perm
chmod 0755 $RPM_BUILD_ROOT%{_bindir}/execflow


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
# This file is GPL+ or Artistic
%{_bindir}/execflow
# Theses files are LGPLv2+
%{perl_vendorlib}/Event/
%{_mandir}/man3/*.3*


%changelog
* Sun Jul 20 2008 kwizart < kwizart at gmail.com > - 0.63-4
- Update license to (GPL+ or Artistic) and LGPLv2+

* Mon Jul 14 2008 kwizart < kwizart at gmail.com > - 0.63-3
- Fix directory ownership
- Fix execflow perm
- Fix perl Encoding
- Fix License to LGPLv2+

* Thu Jul 10 2008 kwizart < kwizart at gmail.com > - 0.63-2
- Add BR Test::More and Locale::TextDomain

* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 0.63-1
- Initial package for Fedora


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Event-ExecFlow/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Jul 2008 18:15:05 -0000	1.1
+++ sources	24 Jul 2008 21:57:42 -0000	1.2
@@ -0,0 +1 @@
+79116732b550701a3436a448581e01da  Event-ExecFlow-0.63.tar.gz




More information about the fedora-extras-commits mailing list