You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.9 KiB
67 lines
1.9 KiB
6 years ago
|
Name: perl-Minion-Backend-SQLite
|
||
|
Version: 4.002
|
||
|
Release: 1%{?dist}
|
||
|
Summary: SQLite backend for Minion job queue
|
||
|
License: Artistic 2.0
|
||
|
|
||
|
URL: https://metacpan.org/release/Minion-Backend-SQLite/
|
||
|
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Minion-Backend-SQLite-%{version}.tar.gz
|
||
|
|
||
|
BuildArch: noarch
|
||
|
# build deps
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl(Data::Dumper)
|
||
|
BuildRequires: perl(Module::Build)
|
||
|
BuildRequires: perl(warnings)
|
||
|
BuildRequires: perl(Carp)
|
||
|
BuildRequires: perl(List::Util)
|
||
|
BuildRequires: perl(Mojo::Base)
|
||
|
BuildRequires: perl(Mojo::SQLite) >= 3.000
|
||
|
BuildRequires: perl(Mojo::Util)
|
||
|
BuildRequires: perl(Sys::Hostname)
|
||
|
BuildRequires: perl(Time::HiRes)
|
||
|
BuildRequires: perl(strict)
|
||
|
# test deps
|
||
|
BuildRequires: perl(Config)
|
||
|
BuildRequires: perl(File::Spec)
|
||
|
BuildRequires: perl(Minion) >= 9.0
|
||
|
BuildRequires: perl(Minion::Backend)
|
||
|
BuildRequires: perl(Module::Metadata)
|
||
|
BuildRequires: perl(Mojo::IOLoop)
|
||
|
BuildRequires: perl(Test::More) >= 0.88
|
||
|
BuildRequires: perl(constant)
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||
|
|
||
|
%{?perl_default_filter}
|
||
|
|
||
|
%description
|
||
|
Minion::Backend::SQLite is a backend for Minion based on Mojo::SQLite. All
|
||
|
necessary tables will be created automatically with a set of migrations
|
||
|
named minion. If no connection string or :temp: is provided, the database
|
||
|
will be created in a temporary directory.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Minion-Backend-SQLite-%{version}
|
||
|
|
||
|
%build
|
||
|
%{__perl} Build.PL --installdirs=vendor
|
||
|
./Build
|
||
|
|
||
|
%install
|
||
|
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
./Build test
|
||
|
|
||
|
%files
|
||
|
%doc Changes CONTRIBUTING.md examples README
|
||
|
%license LICENSE
|
||
|
%{perl_vendorlib}/Minion*
|
||
|
%{_mandir}/man3/Minion*
|
||
|
|
||
|
%changelog
|
||
|
* Fri Nov 16 2018 Emmanuel Seyman <emmanuel@seyman.fr> 4.002-1
|
||
|
- Initial specfile, based on the one autogenerated by cpanspec 1.78.
|