Matěj Cepl
e37c2e8874
- xdg: fix unit tests on macos - changelog: reword before release - docs: add missing newline between :attach variants - docs: fix typo in stylesets regexp example - docs: add msglist_thread_folded style object - docs: add :fold and :unfold commands - docs: add :connect and :disconnect commands - docs: add :help and :new-account commands - docs: add :toggle-key-passthrough command - docs: add :recover command - docs: add [ui].client-threads-delay setting - contrib: add script to check man pages consistency - msgviewer: add styles for part selector - colorize: support trailing comments after values - config: add default values for empty stylesets - binds: improve display of key sequences - compose: respect header ordering from text editor - compose: avoid panic when deleting the last header - config: make all message list symbols/icons configurable - commands: strip leading colons from commands - commands: run a command by its first letters - hyperlinks: better parsing of emails without mailto prefixes - lib: return a new Header from LimitHeaders - binds: control and alt modifiers for delete - split: remove previous split from grid - doc: mention correct function in the example for compactDir - doc: MIME type consistency spelling - maildir: log mail checking errors, if any - compose: add option for LF-only editors
73 lines
2.0 KiB
RPMSpec
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.1695157296.37d5fc6
|
|
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
|
|
Recommends: dante
|
|
Recommends: 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
|