commit
974969817b
@ -0,0 +1 @@
|
||||
/DBIx-Class-Schema-Config-0.001011.tar.gz
|
@ -0,0 +1,69 @@
|
||||
Name: perl-DBIx-Class-Schema-Config
|
||||
Version: 0.001011
|
||||
Release: 1%{?dist}
|
||||
Summary: Credential Management for DBIx::Class
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/DBIx-Class-Schema-Config/
|
||||
Source0: http://www.cpan.org/authors/id/S/SY/SYMKAT/DBIx-Class-Schema-Config-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(inc::Module::Install)
|
||||
BuildRequires: perl(Module::Install::Metadata)
|
||||
BuildRequires: perl(Module::Install::WriteAll)
|
||||
# Run-time
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Config::Any) >= 0.23
|
||||
BuildRequires: perl(DBIx::Class::Schema)
|
||||
BuildRequires: perl(File::HomeDir)
|
||||
BuildRequires: perl(Hash::Merge)
|
||||
BuildRequires: perl(namespace::clean)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Tests
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(DBD::SQLite)
|
||||
BuildRequires: perl(DBI)
|
||||
BuildRequires: perl(DBIx::Class) >= 0.08100
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(Config::Any) >= 0.23
|
||||
Requires: perl(DBIx::Class) >= 0.08100
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Config::Any\\)\s*$
|
||||
|
||||
%description
|
||||
DBIx::Class::Schema::Config is a subclass of DBIx::Class::Schema that
|
||||
allows the loading of credentials & configuration from a file. The actual
|
||||
code itself would only need to know about the name used in the
|
||||
configuration file. This aims to make it simpler for operations teams to
|
||||
manage database credentials.
|
||||
|
||||
%prep
|
||||
%setup -q -n DBIx-Class-Schema-Config-%{version}
|
||||
rm -r inc
|
||||
sed -i -e '/^inc\// d' MANIFEST
|
||||
find -type f -exec chmod -x {} +
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 25 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.001011-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue