Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-C
perl-CPAN-Plugin-Sysdeps
perl-CPAN-Plugin-Sysdeps.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-CPAN-Plugin-Sysdeps.spec of Package perl-CPAN-Plugin-Sysdeps
# # spec file for package perl-CPAN-Plugin-Sysdeps # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name CPAN-Plugin-Sysdeps Name: perl-CPAN-Plugin-Sysdeps Version: 0.78 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: CPAN.pm plugin for installing external dependencies URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/S/SR/SREZIC/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros %{perl_requires} %description *CPAN::Plugin::Sysdeps* is a plugin for CPAN.pm (version >= 2.07) to install non-CPAN dependencies automatically. Currently, the list of required system dependencies is maintained in a static data structure in CPAN::Plugin::Sysdeps::Mapping. Supported operations systems and distributions are FreeBSD and Debian-like Linux distributions. There are also some module rules for Fedora-like Linux distributions, Windows through chocolatey, and Mac OS X through homebrew. The plugin may be configured like this: o conf plugin_list CPAN::Plugin::Sysdeps=arg1,arg2,... Possible arguments are: * 'apt-get', 'aptitude', 'pkg', 'yum', 'dnf', 'homebrew' Force a particular installer for system packages. If not set, then the plugin find a default for the current operating system or linux distributions: * Debian-like distributions: 'apt-get' * Fedora-like distributions: 'yum' or 'dnf' * FreeBSD: 'pkg' * DragonFly BSD: 'pkg' * Windows: 'chocolatey' * Mac OS X: 'homebrew' Additionally, sudo(8) is prepended before the installer programm if the current user is not a privileged one, and the installer requires elevated privileges. * 'batch' Don't ask any questions. * 'interactive' Be interactive, especially ask for confirmation before installing a system package. * 'dryrun' Only log installation actions. * 'debug' Turn debugging on. Alternatively the environment variable 'CPAN_PLUGIN_SYSDEPS_DEBUG' may be set to a true value. * 'mapping=_perlmod|file_' Prepend another static mapping from cpan modules or distributions to system packages. This should be specified as a perl module (_Foo::Bar_) or an absolute file name. The mapping file is supposed to just return the mapping data structure as described below. %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README.md %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