File python-django-celery-beat.spec of Package python-django-celery-beat
#
# spec file for package python-django-celery-beat
#
# Copyright (c) 2018 SUSE LINUX Products 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/
#
%define mod_name django-celery-beat
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%define skip_python2 1
Name: python-django-celery-beat
Version: 2.4.0
Release: 0
Summary: Celery Periodic Tasks backed by the Django ORM
License: MIT
Group: Development/Languages/Python
Url: https://github.com/celery/django-celery-beat
Source: %{mod_name}-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module django-timezone-field >= 4.1}
BuildRequires: %{python_module python-crontab >= 2.3.4}
BuildRequires: %{python_module Django >= 3.2}
BuildRequires: %{python_module celery >= 5}
BuildRequires: fdupes
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
This extension enables you to store the celery periodic task schedule
in the database.
The periodic tasks can be managed from the Django Admin interface,
where you can create, edit and delete periodic tasks and how often
they should run.
%prep
%setup -q -n %{mod_name}-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst Changelog
%license LICENSE
%{python_sitelib}/*
%changelog