aerc-master/aerc.spec
Matěj Cepl e1b8a40d6b
Update from 7c7a7ba8 to 3aa8b630:
- commands: add bounce
  - lib: add function to obtain Message-ID hostname
  - send: move code to lib for reuse
  - jmap: set explicit sender and recipients
  - send: remove the sendCtx struct
  - send: refactor parseScheme
  - terminal: use start with appropriate size
  - vaxis: update to v0.7.2 and update ansi parser
  - docs: update docs to remove tcell reference
  - aerc: set title using vaxis
  - aerc: remove tcell import
  - mouse: use vaxis mouse events
  - paste: use vaxis paste events
  - terminal: replace tcell-term with vaxis terminal
  - style: use vaxis style everywhere
  - aerc: replace tcell keys with vaxis keys
  - fill: replace tcell.Style with vaxis.Style
  - ui: initialize vaxis directly, drop tcell.Screen initialization
  - ui: remove screen and viewports
  - aerc: change event interfaces to vaxis events
  - msgviewer: implement inline image viewing
  - ui: create and expose vaxis Window with Context
  - ui: so long tcell
  - parse/ansi: remove tcell/terminfo dependency
2024-02-12 23:23:43 +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/
#
%define _libexecdir %{_exec_prefix}/libexec
Name: aerc
Version: 0.17.0+git.1707775553.3aa8b630
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/aerc#devel
Source0: vendor.tar.gz
BuildRequires: gcc
BuildRequires: go
BuildRequires: make
BuildRequires: notmuch-devel
BuildRequires: scdoc
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