Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Term-Filter
perl-Term-Filter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Term-Filter.spec of Package perl-Term-Filter
# # spec file for package perl-Term-Filter # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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-Term-Filter Version: 0.03 Release: 0 Summary: Run an interactive terminal session, filtering the input and output Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Term-Filter-%{version}.tar.gz Url: http://search.cpan.org/dist/Term-Filter Group: Development/Libraries/Perl License: GPL-2.0+ or Artistic BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl-macros BuildRequires: make BuildRequires: perl(warnings) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(strict) BuildRequires: perl(File::Find) BuildRequires: perl(POSIX) BuildRequires: perl(File::Temp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moose::Role) BuildRequires: perl(Scope::Guard) BuildRequires: perl(IO::Select) BuildRequires: perl(IO::Pty::Easy) BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Moose) Requires: perl(Moose::Role) Requires: perl(Scope::Guard) Requires: perl(IO::Select) Requires: perl(IO::Pty::Easy) Requires: perl(Moose::Util::TypeConstraints) Requires: perl(Term::ReadKey) Requires: perl(Moose) %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description This module is a Moose role which implements running a program in a pty while being able to filter the data that goes into and out of it. This can be used to alter the inputs and outputs of a terminal based program (as in the "SYNOPSIS"), or to intercept the data going in or out to record it or rebroadcast it (App::Ttyrec or App::Termcast, for instance). This role is intended to be consumed by a class which implements its callbacks as methods; for a simpler callback-based API, you may want to use Term::Filter::Callback instead. %prep %setup -q -n "Term-Filter-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?_smp_flags} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc README Changes LICENSE %dir %{perl_vendorlib}/Term %{perl_vendorlib}/Term/Filter %{perl_vendorlib}/Term/Filter.pm %doc %{perl_man3dir}/Term::Filter.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/Term::Filter::*.%{perl_man3ext}%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor