aerc-master/aerc.spec
Matěj Cepl dc3c467861
Sat Jan 25 23:42:32 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update from add9e15e to 962ca08f:
  - Release version 0.20.0
  - readme: add missing link to carddav-query man page
  - readme: add slackware package link
  - binds: fix format of special keys
  - compose: group aliased bindings on review screen
  - compose: only hide bindings explicitly identified
  - binds: add default annotated bindings for sign/encrypt
  - compose: only show default annotations if absent from config
  - binds: preserve order from the config file
  - msgstore: fix new-message bell for threaded directories
  - composer: add flag to go directly to review screen
  - stylesets: make default status line more readable
  - ci: enable codespell
  - git: update ignore list
  - treewide: fix English spelling
  - compose: merge repeated address headers
  - ui: fix the position of the address-book completion popovers
  - imap: add support for plain auth
  - tests: fix error with go 1.24
  - reply: support multiple copy-to destinations
  - reply: fix copy-to-replied when copy-to is set
  - reply: fix copy-to-replied when copy-to is unset
  - style: add back support for valid header patterns
  - style: fix multi header patterns
2025-01-26 00:43:16 +01:00

75 lines
2.0 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.20.0+git.1737838548.962ca08f
Release: 0
Summary: An email client for terminals
License: MIT
Group: Productivity/Networking/Email/Clients
URL: https://aerc-mail.org/
#!RemoteAssetUrl: git+https://git.sr.ht/~mcepl/aerc#devel
Source0: vendor.tar.zst
BuildRequires: gcc
BuildRequires: go
BuildRequires: make
BuildRequires: notmuch-devel
BuildRequires: scdoc
BuildRequires: zstd
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