Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Badger
perl-Badger.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Badger.spec of Package perl-Badger
# # spec file for package perl-Badger # # Copyright (c) 2023 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 Badger Name: perl-Badger Version: 0.16 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Application programming toolkit URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/A/AB/ABW/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros %{perl_requires} # MANUAL BEGIN BuildRequires: perl(YAML) # MANUAL END %description The Badger toolkit is a collection of Perl modules designed to simplify the process of building object-oriented Perl applications. It provides a set of _foundation classes_ upon which you can quickly build robust and reliable systems that are simple, sexy and scalable. See 'Badger::Intro' for further information. The 'Badger' module is a front-end to other 'Badger' modules. You can use it to import any of the exportable items from any other 'Badger' module. Simply specify the module name, minus the 'Badger::' prefix as a load option. For example: use Badger Filesystem => 'Dir File', Utils => 'numlike textlike', Constants => 'ARRAY HASH', Codecs => [codec => 'base64']; This is equivalent to: use Badger; use Badger::Filesystem 'Dir File'; use Badger::Utils 'numlike textlike', use Badger::Constants 'ARRAY HASH', use Badger::Codecs codec => 'base64'; Note that multiple arguments for a module should be defined as a list reference. use Badger ...etc... Codecs => [codec => 'base64']; This is equivalent to: use Badger::Codecs [codec => 'base64']; Which is also equivalent to: use Badger::Codecs codec => 'base64'; %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 MAINTAINER README RELEASE TODO %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