generated from demus/python3-rpm-template
First packaging
Build and provide rpm of python3-mailsuite-rpm / rpmbuild (release) Failing after 1m25s
Build and provide rpm of python3-mailsuite-rpm / rpmbuild (release) Failing after 1m25s
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
archful = false
|
||||
archive_name = "mailsuite-1.10.0.tar.gz"
|
||||
extras = []
|
||||
license = "Apache-2.0"
|
||||
license_files_present = true
|
||||
pypi_name = "mailsuite"
|
||||
pypi_version = "1.10.0"
|
||||
python_name = "python-mailsuite"
|
||||
source = "PyPI"
|
||||
summary = "A Python package for retrieving, parsing, and sending emails"
|
||||
url = "https://github.com/seanthegeek/mailsuite/"
|
||||
@@ -0,0 +1,70 @@
|
||||
Name: python-mailsuite
|
||||
Version: 1.10.0
|
||||
Release: %autorelease
|
||||
Summary: A Python package for retrieving, parsing, and sending emails
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/seanthegeek/mailsuite/
|
||||
Source: %{pypi_source mailsuite}
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
|
||||
|
||||
# Fill in the actual package description to submit package to Fedora
|
||||
%global _description %{expand:
|
||||
- Simplified IMAP client
|
||||
Retrieve email from any folder
|
||||
Create new folders
|
||||
Move messages to other folders
|
||||
Delete messages
|
||||
Monitor folders for new messages using the IMAP IDLE command
|
||||
Always use / as the folder hierarchy separator, and convert to the server's hierarchy separator in the background
|
||||
Always remove folder name characters that conflict with the server's hierarchy separators
|
||||
Prepend the namespace to the folder path when required
|
||||
Automatically reconnect when needed
|
||||
Work around quirks in Gmail, Microsoft 365, Exchange, Dovecot, and DavMail
|
||||
- Consistent email parsing
|
||||
SHA256 hashes of attachments
|
||||
Parsed Authentication-Results and DKIM-Signature headers
|
||||
Parse Microsoft Outlook .msg files using msgconvert
|
||||
- Simplified email creation and sending
|
||||
Easily add attachments, plain text, and HTML
|
||||
Uses opportunistic encryption (STARTTLS) with SMTP by default
|
||||
}
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-mailsuite
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-mailsuite %_description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n mailsuite-%{version}
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
# Add top-level Python module names here as arguments, you can use globs
|
||||
%pyproject_save_files -l mailsuite
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
|
||||
|
||||
%files -n python3-mailsuite -f %{pyproject_files}
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Reference in New Issue
Block a user