Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ngncc
perl-Config-Merge
perl-Config-Merge.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Config-Merge.spec of Package perl-Config-Merge
# # spec file for package perl-Config-Merge # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: perl-Config-Merge Version: 1.04 Release: 0 %define cpan_name Config-Merge Summary: Load a Configuration Directory Tree Containing License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Config-Merge/ Source0: http://www.cpan.org/authors/id/D/DR/DRTECH/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Config::Any) >= 0.07 BuildRequires: perl(YAML) Requires: perl(Config::Any) >= 0.07 Recommends: perl(Config::General) Recommends: perl(Config::Tiny) Recommends: perl(JSON) Recommends: perl(JSON::XS) Recommends: perl(XML::Simple) Recommends: perl(YAML) Recommends: perl(YAML::Syck) %{perl_requires} %description Config::Merge is a configuration module which has six goals: * * Flexible storage Store all configuration in your format(s) of choice (YAML, JSON, INI, XML, Perl, Config::General / Apache-style config) broken down into individual files in a configuration directory tree, for easy maintenance. See "CONFIG TREE LAYOUT" * * Flexible access Provide a simple, easy to read, concise way of accessing the configuration values (similar to Template). See "ACCESSING CONFIG DATA" * * Minimal maintenance Specify the location of the configuration files only once per application, so that it requires minimal effort to relocate. See "USING Config::Merge" * * Easy to alter development environment Provide a way for overriding configuration values on a development machine, so that differences between the dev environment and the live environment do not get copied over accidentally. See "OVERRIDING CONFIG LOCALLY" * * Minimise memory use Load all config at startup so that (eg in the mod_perl environment) the data is shared between all child processes. See "MINIMISING MEMORY USE" * * Flexible implementation You may want to use a different schema for your configuration files, so you can pass in (or subclass) methods for determining how your files are merged. See "ADVANCED USAGE". %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes examples README %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