aerc-master/aerc.spec
Matěj Cepl e394debbf3
Update from fff69046 to 2d9f949a:
- ircbot: sanitize email subjects
  - commands: add reload
  - store: extract configure logic
  - account: update split views
  - account: extract configure logic
  - account: remove ui config struct field
  - tabs: update ui config in any tab
  - log: handle config reload
  - config: extract load styleset function
  - config: add reload helper functions
  - jmap: refactor thread fetching
  - jmap: lazily fetch identities
  - maildir: set the forwarded flag when forwarding msgs
  - notmuch: set the "passed" tag when forwarding msgs
  - flag: manually toggle the forwarded tag
  - templates: add a template for forwaded messages
  - styles: add a style for forwarded messages
  - search: allow searching for forwarded messages
  - forward: allow forwarded flag to be set
  - copy: add -d flag to decrypt before copying
  - pipe: add -d flag to decrypt message
  - cryptoutil: implement cleartext function
  - mod: update go-maildir to v0.5.0
  - go: bump minimal version to 1.21 and handle deprecations
  - maildir: only abort directory listing if there are 0 uids
  - filters: send real COLUMNS and LINES values
  - templates: fix AccountFrom default breaking startup
  - log: explain why the signature command failed
  - template: pass account and folder names to signature command
  - jmap: fix emailKey function name
  - send: redact password in outgoing URI for logging
  - notmuch: reload all changed messages on DB change
2024-08-20 22:04:26 +02:00

76 lines
2.1 KiB
RPMSpec

#
# spec file for package aerc
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2023 Hannes Braun
#
# 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/
#
%{?!_libexecdir:%define _libexecdir %{_exec_prefix}/libexec}
Name: aerc
Version: 0.18.2+git.1724155053.2d9f949a
Release: 0
Summary: An email client for terminals
License: MIT
Group: Productivity/Networking/Email/Clients
URL: https://aerc-mail.org/
#!RemoteAssetUrl: git+https://git.cepl.eu/cgit/packaging/aerc#devel
Source0: vendor.tar.zst
BuildRequires: gcc
BuildRequires: go
BuildRequires: make
BuildRequires: notmuch-devel
BuildRequires: scdoc
BuildRequires: zstd
Recommends: dante
Recommends: w3m
# for :menu
Recommends: fzf
%description
aerc is an email client that runs in terminals.
%prep
# http://ftp.rpm.org/max-rpm/s1-rpm-specref-macros.html
%setup -q -n aerc -c
%autopatch -p1
cp -a %{_sourcedir}/aerc/* .
sed -i 's|#!/usr/bin/env python3|#!/usr/bin/python3|' \
./contrib/carddav-query \
filters/show-ics-details.py
%build
%if "%{_arch}" == "ppc64"
%make_build CC=cc GOFLAGS=""
%else
%make_build CC=cc GOFLAGS="-buildmode=pie -tags=notmuch"
%endif
%install
%make_install PREFIX=%{_prefix} LIBEXECDIR=%{_libexecdir}/%{name}
%files
%license LICENSE
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_bindir}/%{name}
%{_bindir}/carddav-query
%dir %{_libexecdir}
%{_libexecdir}/%{name}
%{_mandir}/man*/aerc*%{?ext_man}
%{_mandir}/man1/carddav-query.1%{?ext_man}
%changelog