From 4ca0b2fd6b70e52ee6ec6c98e392af067b0811d3630c87eb25ced146d66c72c0 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Tue, 15 Jul 2014 22:11:27 +0000 Subject: [PATCH] Accepting request 241139 from home:computersalat:devel:perl initial package 0.813 OBS-URL: https://build.opensuse.org/request/show/241139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Event?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + IO-Event-0.813.tar.gz | 3 ++ perl-IO-Event.changes | 6 +++ perl-IO-Event.spec | 87 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 IO-Event-0.813.tar.gz create mode 100644 perl-IO-Event.changes create mode 100644 perl-IO-Event.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/IO-Event-0.813.tar.gz b/IO-Event-0.813.tar.gz new file mode 100644 index 0000000..f3a8172 --- /dev/null +++ b/IO-Event-0.813.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43be65d079156d708bdfb6e0436a20593e6a040125187e577262c85b353f73b7 +size 34477 diff --git a/perl-IO-Event.changes b/perl-IO-Event.changes new file mode 100644 index 0000000..ea9988a --- /dev/null +++ b/perl-IO-Event.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Tue Jul 15 21:18:33 UTC 2014 - chris@computersalat.de + +- initial package 0.813 + * created by cpanspec 1.78.03 + diff --git a/perl-IO-Event.spec b/perl-IO-Event.spec new file mode 100644 index 0000000..aa9b9da --- /dev/null +++ b/perl-IO-Event.spec @@ -0,0 +1,87 @@ +# +# spec file for package perl-IO-Event +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: perl-IO-Event +%define cpan_name IO-Event +Summary: Tied Filehandles for Nonblocking IO with Object Callbacks +Version: 0.813 +Release: 1 +License: GPL-1.0+ or Artistic-1.0 +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/IO-Event/ +#Source: http://www.cpan.org/authors/id/M/MU/MUIR/modules/IO-Event-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(AnyEvent) +BuildRequires: perl(Event) +BuildRequires: perl(Test::Simple) +BuildRequires: perl(diagnostics) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(Time::HiRes) +Requires: perl(IO::Handle) +Requires: perl(List::MoreUtils) +Requires: perl(Time::HiRes) +%{perl_requires} + +%description +IO::Event provides a object-based callback system for handling nonblocking +IO. The design goal is to provide a system that just does the right thing +w/o the user needing to think about it much. + +All APIs are kept as simple as possible yet at the same time, all +functionality is accesible if needed. Simple things are easy. Hard things +are possible. + +Most of the time file handling syntax will work fine: '<$filehandle>' and +'print $filehandle 'stuff''. + +IO::Event provides automatic buffering of output (with a callback to +throttle). It provides automatic line-at-a-time input. + +After initial setup, call 'IO::Event::loop()'. + +IO::Event was originally written to use the Event manpage. IO::Event still +defaults to using the Event manpage but it can now use the AnyEvent manpage +or its own event loop. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf %{buildroot} + +%files -f %{name}.files +%defattr(644,root,root,755) +%doc Changes README + +%changelog