2007-01-15 23:29:48 +00:00
#
2011-11-17 15:19:36 +00:00
# spec file for package perl-BSD-Resource
2007-01-15 23:29:48 +00:00
#
2025-06-23 21:22:09 +00:00
# Copyright (c) 2025 SUSE LLC
2007-01-15 23:29:48 +00:00
#
2008-11-28 14:48:32 +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.
2025-06-23 21:22:09 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2007-01-15 23:29:48 +00:00
#
2025-06-23 21:22:09 +00:00
%define cpan_name BSD-Resource
2007-01-15 23:29:48 +00:00
Name : perl-BSD-Resource
2025-06-23 21:22:09 +00:00
Version : 1.291.100
2013-07-26 05:41:48 +00:00
Release : 0
2025-06-23 21:22:09 +00:00
# 1.2911 -> normalize -> 1.291.100
%define cpan_version 1.2911
2015-10-24 16:45:44 +00:00
#Upstream: This module free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0 or GNU Lesser General Public License 2.0. For more details, see the full text of the licenses at <http://www.perlfoundation.org/artistic_license_2_0>, and <http://www.gnu.org/licenses/gpl-2.0.html>.
2025-06-23 21:22:09 +00:00
License : Artistic-2.0 OR LGPL-2.0-only
2013-07-26 05:41:48 +00:00
Summary : BSD process resource limit and priority functions
2025-06-23 21:22:09 +00:00
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/J/JH/JHI/%{cpan_name} -%{cpan_version} .tar.gz
2015-10-24 16:45:44 +00:00
Source1 : cpanspec.yml
2025-08-12 18:11:59 +02:00
Source100 : README.md
2010-10-19 08:45:22 +00:00
BuildRequires : perl
2010-12-03 13:55:51 +00:00
BuildRequires : perl-macros
2025-06-23 21:22:09 +00:00
Provides : perl(BSD::Resource) = %{version}
%undefine __perllib_provides
2013-07-26 05:41:48 +00:00
%{perl_requires}
2007-01-15 23:29:48 +00:00
%description
2013-07-26 05:41:48 +00:00
BSD process resource limit and priority functions
2007-01-15 23:29:48 +00:00
%prep
2025-06-23 21:22:09 +00:00
%autosetup -n %{cpan_name} -%{cpan_version} -p1
find . -type f ! -path " * / t / * " ! -name " * . p l " ! -path " * / b i n / * " ! -path " * / s c r i p t / * " ! -path " * / s c r i p t s / * " ! -name " c o n f i g u r e " -print0 | xargs -0 chmod 644
2007-01-15 23:29:48 +00:00
%build
2025-06-23 21:22:09 +00:00
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=" %{optflags} "
%make_build
2008-03-03 15:32:38 +00:00
%check
2025-06-23 21:22:09 +00:00
make test
2007-01-15 23:29:48 +00:00
%install
2013-07-26 05:41:48 +00:00
%perl_make_install
2007-01-15 23:29:48 +00:00
%perl_process_packlist
2013-07-26 05:41:48 +00:00
%perl_gen_filelist
2007-01-15 23:29:48 +00:00
2013-07-26 05:41:48 +00:00
%files -f %{name}.files
2017-04-12 17:20:51 +00:00
%doc ChangeLog README
%license LICENSE
2007-01-15 23:29:48 +00:00
2008-01-13 13:54:57 +00:00
%changelog