/[packages]/cauldron/perl-DBIx-Class-Schema-Config/current/SPECS/perl-DBIx-Class-Schema-Config.spec
ViewVC logotype

Contents of /cauldron/perl-DBIx-Class-Schema-Config/current/SPECS/perl-DBIx-Class-Schema-Config.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1919127 - (show annotations) (download)
Wed Dec 7 22:18:30 2022 UTC (2 years, 3 months ago) by danf
File size: 1870 byte(s)
SILENT: Switch URLs to https:
1 %define upstream_name DBIx-Class-Schema-Config
2 %define upstream_version 0.001014
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 2
9
10 Summary: Credential Management for DBIx::Class
11 License: GPL+ or Artistic
12 Group: Development/Perl
13 Url: https://metacpan.org/release/%{upstream_name}
14 Source0: https://cpan.metacpan.org/modules/by-module/DBIx/%{upstream_name}-%{upstream_version}.tar.gz
15
16 BuildRequires: perl(Config::Any) >= 0.230.0
17 BuildRequires: perl(DBD::SQLite)
18 BuildRequires: perl(DBIx::Class) >= 0.81.0
19 BuildRequires: perl(DBIx::Class::Schema)
20 BuildRequires: perl(Data::Dumper)
21 BuildRequires: perl(ExtUtils::MakeMaker)
22 BuildRequires: perl(File::HomeDir)
23 BuildRequires: perl(Hash::Merge)
24 BuildRequires: perl(Storable)
25 BuildRequires: perl(Test::More) >= 0.420.0
26 BuildRequires: perl(URI)
27 BuildRequires: perl(base)
28 BuildRequires: perl(lib)
29 BuildRequires: perl(namespace::clean)
30 BuildRequires: perl(strict)
31 BuildRequires: perl(warnings)
32 BuildArch: noarch
33
34 %description
35 DBIx::Class::Schema::Config is a subclass of DBIx::Class::Schema that
36 allows the loading of credentials & configuration from a file. The actual
37 code itself would only need to know about the name used in the
38 configuration file. This aims to make it simpler for operations teams to
39 manage database credentials.
40
41 A simple tutorial that compliments this documentation and explains
42 converting an existing DBIx::Class Schema to use this software to manage
43 credentials can be found at the
44 https://symkat.com/credential-management-in-dbix-class manpage
45
46 %prep
47 %setup -q -n %{upstream_name}-%{upstream_version}
48
49 %build
50 %{__perl} Makefile.PL INSTALLDIRS=vendor
51
52 %make_build
53
54 %check
55 %make_build test
56
57 %install
58 %make_install
59
60 %files
61 %doc Changes META.yml MYMETA.yml README
62 %{_mandir}/man3/*
63 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.30