File perl-IO-Handle-Util.spec of Package perl-IO-Handle-Util

# spec file for package perl-IO-Handle-Util
# Copyright (c) 2018 SUSE LINUX 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

Name:           perl-IO-Handle-Util
Version:        0.02
Release:        0
%define cpan_name IO-Handle-Util
Summary:        Functions for working with L<IO::Handle> like objects
License:        Artistic-1.0 OR GPL-1.0-or-later
Group:          Development/Libraries/Perl
Url:  {cpan_name}
Source1:        cpanspec.yml
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(IO::String)
BuildRequires:  perl(Module::Build::Tiny) >= 0.034
BuildRequires:  perl(Module::Metadata)
BuildRequires:  perl(Sub::Exporter)
BuildRequires:  perl(asa)
BuildRequires:  perl(autodie)
BuildRequires:  perl(ok)
BuildRequires:  perl(parent)
Requires:       perl(IO::String)
Requires:       perl(Sub::Exporter)
Requires:       perl(asa)
Requires:       perl(autodie)
Requires:       perl(parent)

This module provides a number of helpful routines to manipulate or create
IO::Handle like objects.

%setup -q -n %{cpan_name}-%{version}

perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}

./Build test

./Build install --destdir=%{buildroot} --create_packlist=0

%files -f %{name}.files

openSUSE Build Service is sponsored by