2015-04-17 18:31:19 +00:00
#
# spec file for package perl-Sys-Syscall
#
2024-07-29 19:39:17 +00:00
# Copyright (c) 2024 SUSE LLC
2015-04-17 18:31:19 +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.
2024-07-29 19:39:17 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2015-04-17 18:31:19 +00:00
#
2010-06-19 00:39:03 +00:00
2024-07-29 19:39:17 +00:00
%define cpan_name Sys-Syscall
2010-06-19 00:39:03 +00:00
Name : perl-Sys-Syscall
2024-07-29 19:39:17 +00:00
Version : 0.250.0
2010-06-19 00:39:03 +00:00
Release : 0
2024-07-29 19:39:17 +00:00
# 0.25 -> normalize -> 0.250.0
%define cpan_version 0.25
2015-04-17 18:31:19 +00:00
#Upstream: All rights reserved. You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. If you need more liberal licensing terms, please contact the maintainer.
2024-07-29 19:39:17 +00:00
License : Artistic-1.0 OR GPL-1.0-or-later
Summary : Invoke system calls that are otherwise difficult to do from Perl
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/B/BR/BRADFITZ/%{cpan_name} -%{cpan_version} .tar.gz
2015-04-17 18:31:19 +00:00
Source1 : cpanspec.yml
2025-08-12 18:17:23 +02:00
Source100 : README.md
2015-04-17 18:31:19 +00:00
BuildArch : noarch
BuildRequires : perl
2010-12-03 14:51:21 +00:00
BuildRequires : perl-macros
2024-07-29 19:39:17 +00:00
Provides : perl(Sys::Syscall) = %{version}
%undefine __perllib_provides
2015-04-17 18:31:19 +00:00
%{perl_requires}
2010-06-19 00:39:03 +00:00
%description
Use epoll, sendfile, from Perl. Mostly Linux-only support now, but more
syscalls/OSes planned for future.
%prep
2024-07-29 19:39:17 +00:00
%autosetup -n %{cpan_name} -%{cpan_version}
2010-06-19 00:39:03 +00:00
%build
2024-07-29 19:39:17 +00:00
perl Makefile.PL INSTALLDIRS=vendor
%make_build
2015-04-17 18:31:19 +00:00
%check
2024-07-29 19:39:17 +00:00
make test
2010-06-19 00:39:03 +00:00
%install
%perl_make_install
%perl_process_packlist
2015-04-17 18:31:19 +00:00
%perl_gen_filelist
2010-06-19 00:39:03 +00:00
2015-04-17 18:31:19 +00:00
%files -f %{name}.files
%doc CHANGES CONTRIBUTING.txt
2010-06-19 00:39:03 +00:00
%changelog