aerc-master/aerc.spec
Matěj Cepl 932fb310fe
Update from 81f5237 to 5991eae:
- doc: clarify notmuch+maildir behavior with respect to files
  - colorize: handle spaces in styleset
  - msgstore: ensure selection when calling sort
  - notmuch: internally sort threads newest first
  - notmuch: refactor SetFlag
  - notmuch: track database state
  - notmuch: fix modify labels dropping threading
  - notmuch: check context when opening directory
  - mbox: remove datacounter dependency for size info
  - postpone: remove datacounter passthrough writer
  - dirlist: fix capturing of dirlist vars when selecting
    directory
  - notmuch: remove unused code
  - notmuch: replace notmuch library with internal bindings
  - notmuch: add notmuch bindings
  - mk: evaluate variables with $(shell)
  - postpone: change recall/postpone logic for custom folders
  - compose: use email domain name in Message-Id
  - xdg: get rid of deprecated dependencies
  - xdg: add functions to deal with user home paths
  - wizard: improve welcome screen
  - wizard: add sendmail support
  - wizard: add notmuch support
  - wizard: add support for maildir
  - wizard: add jmap support
  - wizard: add oauth & xoauth options
  - wizard: add imap cache-headers default setting
  - wizard: do not require full name
  - wizard: factorize ui layout
  - wizard: better url generation
  - wizard: add protocol & transport fields
  - wizard: autofill improvements
  - wizard: rename incoming to source
  - wizard: allow setting special copy-to folder
  - wizard: fix typo in validation
  - wizard: close open file
  - export-mbox: better path suggestion and name completion
  - dirlist: apply unread style on top of recent style
  - review: don't replace space escapes
  - review: sort unknown review commands
  - config: add missing configuration file annotation
  - mk: fix typos
  - ci: use make -C instead of changing directories
  - ci: run all tests
  - commands: allow reading attachments from a file
  - doc: add MessageId to aerc-templates.7
  - jmap: cache session as json
  - doc: add <esc> to aerc-binds.5
  - contributing: add guidelines for including changelogs
  - colorize: only emit osc8 if [general].enable-osc8=true
  - terminal: avoid races between close and draw
  - style: add msglist_gutter and msglist_pill to config
  - doc: strip email addresses in authors section
  - mk: deprecate BSD make in favor of GNU make
  - notmuch: add option to provide path for account
  - export-mbox: only export marked messages, if any
  - attach: add an option to pipe the attachments in
  - go.mod: drop mergo package
  - config: fix contextual ui config
  - account: fix contextual sort
  - contrib: update sendemail-validate hook
  - filters: put libexec/filters dirs before default PATH
  - hooks: add account and folder to mail-received env
  - msglist: fetch headers even when not focused
  - wizard: allow ? in passwords
  - watchers: move filesystem monitoring stuff in lib
  - templates: attach directly from templates
  - imap: support the Gmail extension (X-GM-EXT-1)
  - mouse: fix offset in tab title clickable area
  - wizard: display warning when focus is lost
  - composer: reopen the email file when editor is closed
  - compose: fix panic when adding empty header with uppercase
    letters
  - compose: allow removing headers
  - split: ensure messagestore is available
  - binds: replace redundant default bind
  - textinput: fix deleteWord with an only whitespace
  - contrib: actually fix irc patchset hook when author is not
    registered
2023-09-04 19:35:50 +02:00

73 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.15.2+git.1693840450.5991eae
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.gz
BuildRequires: gcc
BuildRequires: go
BuildRequires: make
BuildRequires: notmuch-devel
BuildRequires: scdoc
Suggests: dante
Suggests: w3m
%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