2009-06-26 12:28:18 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-IO
|
|
|
|
#
|
2024-01-04 15:15:43 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-11-17 14:05:27 +00:00
|
|
|
#
|
2009-06-26 12:28:18 +00:00
|
|
|
# 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.
|
2008-05-19 15:04:12 +00:00
|
|
|
|
2020-01-21 14:45:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-06-26 12:28:18 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-01-06 10:59:38 +00:00
|
|
|
%define cpan_name IO
|
2009-06-26 12:28:18 +00:00
|
|
|
Name: perl-IO
|
2024-01-04 15:15:43 +00:00
|
|
|
Version: 1.550.0
|
2018-04-20 13:44:48 +00:00
|
|
|
Release: 0
|
2024-01-04 15:15:43 +00:00
|
|
|
%define cpan_version 1.55
|
2018-04-20 13:44:48 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-05-11 16:34:42 +00:00
|
|
|
Summary: Perl core IO modules
|
2021-01-06 10:59:38 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-01-04 15:15:43 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
|
2018-04-20 13:44:48 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:14:47 +02:00
|
|
|
Source100: README.md
|
2009-06-26 12:28:18 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2024-01-04 15:15:43 +00:00
|
|
|
Provides: perl(IO) = %{version}
|
|
|
|
Provides: perl(IO::Dir) = %{version}
|
|
|
|
Provides: perl(IO::File) = %{version}
|
|
|
|
Provides: perl(IO::Handle) = %{version}
|
|
|
|
Provides: perl(IO::Pipe) = %{version}
|
|
|
|
Provides: perl(IO::Pipe::End)
|
|
|
|
Provides: perl(IO::Poll) = %{version}
|
|
|
|
Provides: perl(IO::Seekable) = %{version}
|
|
|
|
Provides: perl(IO::Select) = %{version}
|
|
|
|
Provides: perl(IO::Socket) = %{version}
|
|
|
|
Provides: perl(IO::Socket::INET) = %{version}
|
|
|
|
Provides: perl(IO::Socket::UNIX) = %{version}
|
2024-03-08 22:33:35 +00:00
|
|
|
%undefine __perllib_provides
|
2018-04-20 13:44:48 +00:00
|
|
|
%{perl_requires}
|
2009-06-26 12:28:18 +00:00
|
|
|
|
2008-05-19 15:04:12 +00:00
|
|
|
%description
|
2018-04-20 13:44:48 +00:00
|
|
|
'IO' provides a simple mechanism to load several of the IO modules in one
|
|
|
|
go. The IO modules belonging to the core are:
|
2008-05-19 15:04:12 +00:00
|
|
|
|
|
|
|
IO::Handle
|
|
|
|
IO::Seekable
|
|
|
|
IO::File
|
|
|
|
IO::Pipe
|
|
|
|
IO::Socket
|
|
|
|
IO::Dir
|
|
|
|
IO::Select
|
|
|
|
IO::Poll
|
|
|
|
|
2018-04-20 13:44:48 +00:00
|
|
|
Some other IO modules don't belong to the perl core but can be loaded as
|
|
|
|
well if they have been installed from CPAN. You can discover which ones
|
2021-09-07 16:43:44 +00:00
|
|
|
exist with this query: https://metacpan.org/search?q=IO%3A%3A.
|
2018-04-20 13:44:48 +00:00
|
|
|
|
|
|
|
For more information on any of these modules, please see its respective
|
|
|
|
documentation.
|
2009-06-26 12:28:18 +00:00
|
|
|
|
2008-05-19 15:04:12 +00:00
|
|
|
%prep
|
2024-01-04 15:15:43 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2008-05-19 15:04:12 +00:00
|
|
|
|
|
|
|
%build
|
2020-01-21 14:45:07 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2021-01-06 10:59:38 +00:00
|
|
|
%make_build
|
2008-05-19 15:04:12 +00:00
|
|
|
|
2009-06-26 12:28:18 +00:00
|
|
|
%check
|
2020-01-21 14:45:07 +00:00
|
|
|
make test
|
2009-06-26 12:28:18 +00:00
|
|
|
|
2008-05-19 15:04:12 +00:00
|
|
|
%install
|
2009-06-26 12:28:18 +00:00
|
|
|
%perl_make_install
|
2008-05-19 15:04:12 +00:00
|
|
|
%perl_process_packlist
|
2009-06-26 12:28:18 +00:00
|
|
|
%perl_gen_filelist
|
2008-05-19 15:04:12 +00:00
|
|
|
|
2009-06-26 12:28:18 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|