File offlinemsmtp.spec of Package offlinemsmtp
#
# spec file for package offlinemsmtp
#
# Copyright (c) 2019 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: offlinemsmtp
Version: 0.3.5
Release: 0
Summary: Offline wrapper for msmtp
License: GPL-3.0-only
URL: https://gitlab.com/sumner/offlinemsmtp
Source0: https://gitlab.com/sumner/offlinemsmtp/-/archive/v%{version}/offlinemsmtp-v%{version}.tar.gz
BuildRequires: python3-setuptools
Requires: python3-Sphinx
### it still requires some form of py3 binding to libnotify
Requires: python3-gobject
Requires: python3-watchdog
BuildArch: noarch
%description
A msmtp wrapper allowing for offline use.
%prep
%setup -q -n %{name}-v%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%license LICENSE
%doc CHANGELOG.rst README.rst
%{_bindir}/%{name}
%{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
%changelog