forked from pool/perl-IO-Event
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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
IO-Event-0.813.tar.gz
Normal file
3
IO-Event-0.813.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43be65d079156d708bdfb6e0436a20593e6a040125187e577262c85b353f73b7
|
||||
size 34477
|
||||
6
perl-IO-Event.changes
Normal file
6
perl-IO-Event.changes
Normal file
@@ -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
|
||||
|
||||
87
perl-IO-Event.spec
Normal file
87
perl-IO-Event.spec
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user