Compare commits

...
Sign in to create a new pull request.

64 commits

Author SHA1 Message Date
Fedora Release Engineering
45d4b5450f Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:29:48 +00:00
Alejandro Sáez
11af6f89f5 rebuild 2025-10-10 12:35:36 +02:00
Robin Jarry
7433fc6280 New upstream release 0.21.0 (fedora#2391452) 2025-08-28 14:17:16 +02:00
Maxwell G
c550d46275 Rebuild for golang-1.25.0 2025-08-15 15:59:48 -05:00
Maxwell G
a84788c317 Revert "Rebuild for golang-1.25.0"
This reverts commit e5f5c0e032.
2025-08-15 15:24:36 -05:00
Maxwell G
e5f5c0e032 Rebuild for golang-1.25.0 2025-08-15 14:18:59 -05:00
Maxwell G
7e766529bf
Rebuild 2025-07-24 23:45:24 -05:00
Fedora Release Engineering
7594891867 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:48:31 +00:00
Maxwell G
57ead0b6f2
Remove redundant manual dependency on notmuch
The binary links to libnotmuch.so, so the RPM dependency generator
already generates a dependency for it.

...

$ fedrq pkgs -S aerc -F requires | grep libnotmuch
libnotmuch.so.5()(64bit)
2025-06-12 14:30:57 -05:00
Robin Jarry
eadf8f930e Fix CVE-2025-49466 (fedora#2370376) 2025-06-05 09:18:56 +02:00
Michael J Gruber
d71010e4db exclude i686 arch for i686 leaf package
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
2025-04-16 12:44:15 +02:00
Robin Jarry
11af76f5de Update to 0.20.1 2025-01-27 22:12:32 +01:00
Robin Jarry
a334582c73 Update to 0.20.0 2025-01-25 22:11:25 +01:00
Robin Jarry
218748edd8 Update to 0.19.0.
The new html filter is enabled by default and depends on w3m.

Add other optional/weak dependencies for tools that are commonly used
along with aerc.
2025-01-16 15:59:21 +01:00
Fedora Release Engineering
e4cd9b05c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:40:34 +00:00
Maxwell G
2ba4d2219d Update to 0.18.2. 2024-08-18 17:59:43 -05:00
Maxwell G
7c98029472 Update to 0.18.0.
- Regenerate specfile with go2rpm and go-vendor-tools
2024-08-18 17:59:43 -05:00
Fedora Release Engineering
1c57e1eec6 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:41:06 +00:00
Maxwell G
53c793f903
Use upstream Makefile to build aerc 2024-03-13 23:38:17 +00:00
Maxwell G
4b22604ae8
Sync LDFLAGS definition with upstream Makefile
[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
834efbb3a7
Remove outdated seds
- Makefile has been replaced with a macro-ized GNUMakefile
- go.notmuch has been replaced with internal bindings.

[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
8d4be78b8a
Take advantage of new forge macros features
[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
ed696d0c8b
Attempt to account for licenses of vendored components
[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
7f5912f157
Update to 0.17.0. Fixes rhbz#2241065. 2024-02-24 06:31:43 +00:00
Maxwell G
dc39051531
Use modern %bcond syntax
[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
8aeee5cdc3
Build with vendored dependencies by default
aerc has a lot of dependencies and is picky about them. Upstream does a
good job at keeping them updated. aerc is prone to crashes with Fedora's
dependency versions, many of which are out of date.
2024-02-24 06:31:43 +00:00
Maxwell G
e5e4f3222a
Remove unnecessary %golicenses and %godocs definitions
We don't use %gopkg, so these are redundant.

[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
b8bbb85f28
Remove contraction from %description
[skip changelog]
2024-02-24 06:31:43 +00:00
Maxwell G
08bef49fcf
Run tests for filters
[skip changelog]
2024-02-24 06:31:42 +00:00
Maxwell G
47ebbcb9ab
Reformat LDFLAGS and remove invalid main.Flags
[skip changelog]
2024-02-24 06:31:42 +00:00
Maxwell G
89992b35ca
Build contrib filters after the main application
This build flow is more logical and makes sure all the build flags are
set in the right order.

[skip changelog]
2024-02-24 06:31:42 +00:00
Maxwell G
d32072edba
Sort BuildRequires
[skip changelog]
2024-02-24 06:31:42 +00:00
Maxwell G
7f775d5796
Update to 0.16.0. Fixes rhbz#2241065. 2024-02-24 06:31:42 +00:00
Maxwell G
a376476322
Rebuild for golang 1.22.0 2024-02-11 21:36:49 +00:00
Fedora Release Engineering
e198bd07b9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 22:44:45 +00:00
Fedora Release Engineering
ea1773ac56 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 12:20:51 +00:00
Fedora Release Engineering
d12a4b4c2f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 12:59:07 +00:00
Robert-André Mauchin
fcb3c706ae Update to 0.15.2
Close: rhbz#2190014, rhbz#2163057
2023-07-16 21:35:53 +02:00
Fedora Release Engineering
ae2f87e58d Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:28:08 +00:00
Maxwell G
b4b8520cab
Fix LDFLAGS to match upstream Makefile 2023-01-11 14:33:30 -06:00
Maxwell G
4908418575
Add patch to correct filter install location 2023-01-11 14:33:30 -06:00
Maxwell G
3d890be202
Make %files section consistent 2023-01-11 14:33:30 -06:00
Maxwell G
718d2faf19
Update to 0.14.0. Fixes rhbz#2158200. 2023-01-11 12:08:09 -06:00
Maxwell G
8913228b1a
Update to 0.13.0. Fixes rhbz#2136668. 2022-11-02 11:34:23 -05:00
Maxwell G
9e1aafcf5d
Handle go.mod replace statements
These were lost in d78090f8ba.

Fixes: d78090f8ba

[skip changelog]
2022-09-26 16:28:37 -05:00
Maxwell G
77411f0b8e
Remove %{_bindir} glob from %files
[skip changelog]
2022-09-26 16:28:32 -05:00
Maxwell G
00259ca4dd
Change method of patching the Makefile
Simply use sed to change `install` to `install -p` and disable
%make_install from rebuilding the binary.

This way, we don't have to rebase the patch each release. This also
changes the %gobuild output path so %make_install can install the binary
instead of us having to do it manually.

[skip changelog]
2022-09-26 16:28:21 -05:00
Maxwell G
4515f6b885
Actually build the notmuch extension
Previously, the buildtags weren't set properly and thus the notmuch
extension wasn't built.
2022-09-26 16:28:21 -05:00
Maxwell G
f27f1ee617
Update to 0.12.0. Fixes rhbz#2106151. 2022-09-26 16:28:21 -05:00
Maxwell G
f106e237de
Manually specify Source instead of using forge macros
[skip changelog]
2022-09-26 16:28:14 -05:00
Fedora Release Engineering
0b0e2bb060 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:30:51 +00:00
Maxwell G
b415a383e1
Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang 2022-07-19 13:53:31 -05:00
Robert-André Mauchin
04232851d2 Use auto buildrequires 2022-07-03 13:06:42 +02:00
Robert-André Mauchin
d162dce53b Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-18 10:48:11 +02:00
Robert-André Mauchin
6cfa3cc6ec Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-17 22:13:35 +02:00
Robert-André Mauchin
26342eb42f Update to 0.10.0 Close: rhbz#2056300 2022-05-10 20:43:51 +02:00
Robert-André Mauchin
df0031aee9 Fix archive upload 2022-01-25 02:00:53 +01:00
Robert-André Mauchin
d78090f8ba Update to 0.7.1 Close: rhbz#2040890 2022-01-25 01:42:09 +01:00
Fedora Release Engineering
4b9db560b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 20:59:52 +00:00
Maxwell G
655936f96c
Remove unnecessary %%commit macro 2021-12-28 12:41:19 -05:00
Robert-André Mauchin
0b604ebf68 Update to 0.6.0 Close: rhbz#2031335 2021-12-20 21:03:54 +01:00
Robert-André Mauchin
26e03e84da Convert to rpmautospec 2021-12-20 21:03:50 +01:00
Fedora Release Engineering
7678e948a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:19:38 +00:00
Fedora Release Engineering
5cf631b096 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:24:18 +00:00
6 changed files with 114 additions and 152 deletions

24
.gitignore vendored
View file

@ -1 +1,25 @@
/aerc-1687e558d3fae4d5622677c031bb9365a8c3e261.tar.gz
/aerc-c303b953360994966ff657c4e17670853198ecf7.tar.gz
/aerc-f81d8871c7007c7fa17f3779f711631d747f22df.tar.gz
/aerc-0.7.1.tar.gz
/aerc-0.10.0.tar.gz
/aerc-0.12.0.tar.gz
/aerc-0.13.0.tar.gz
/aerc-0.14.0.tar.gz
/aerc-0.15.2.tar.gz
/aerc-0.16.0.tar.gz
/aerc-0.16.0-vendor.tar.gz
/aerc-0.17.0.tar.gz
/aerc-0.17.0-vendor.tar.gz
/aerc-0.18.0.tar.gz
/aerc-0.18.0-vendor.tar.bz2
/aerc-0.18.2.tar.gz
/aerc-0.18.2-vendor.tar.bz2
/aerc-0.19.0.tar.gz
/aerc-0.19.0-vendor.tar.bz2
/aerc-0.20.0.tar.gz
/aerc-0.20.0-vendor.tar.bz2
/aerc-0.20.1.tar.gz
/aerc-0.20.1-vendor.tar.bz2
/aerc-0.21.0.tar.gz
/aerc-0.21.0-vendor.tar.bz2

View file

@ -1,60 +0,0 @@
diff -up aerc-1687e558d3fae4d5622677c031bb9365a8c3e261/Makefile.orig aerc-1687e558d3fae4d5622677c031bb9365a8c3e261/Makefile
--- aerc-1687e558d3fae4d5622677c031bb9365a8c3e261/Makefile.orig 2021-04-28 07:54:16.000000000 +0200
+++ aerc-1687e558d3fae4d5622677c031bb9365a8c3e261/Makefile 2021-06-15 20:43:41.767856772 +0200
@@ -59,7 +59,7 @@ DOCS := \
doc: $(DOCS)
-all: aerc aerc.conf doc
+all: aerc.conf doc
# Exists in GNUMake but not in NetBSD make and others.
RM?=rm -f
@@ -70,27 +70,26 @@ clean:
install: all
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \
$(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets
- install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
- install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
- install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1
- install -m644 aerc-config.5 $(DESTDIR)$(MANDIR)/man5/aerc-config.5
- install -m644 aerc-imap.5 $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
- install -m644 aerc-maildir.5 $(DESTDIR)$(MANDIR)/man5/aerc-maildir.5
- install -m644 aerc-sendmail.5 $(DESTDIR)$(MANDIR)/man5/aerc-sendmail.5
- install -m644 aerc-notmuch.5 $(DESTDIR)$(MANDIR)/man5/aerc-notmuch.5
- install -m644 aerc-smtp.5 $(DESTDIR)$(MANDIR)/man5/aerc-smtp.5
- install -m644 aerc-tutorial.7 $(DESTDIR)$(MANDIR)/man7/aerc-tutorial.7
- install -m644 aerc-templates.7 $(DESTDIR)$(MANDIR)/man7/aerc-templates.7
- install -m644 aerc-stylesets.7 $(DESTDIR)$(MANDIR)/man7/aerc-stylesets.7
- install -m644 config/accounts.conf $(DESTDIR)$(SHAREDIR)/accounts.conf
- install -m644 aerc.conf $(DESTDIR)$(SHAREDIR)/aerc.conf
- install -m644 config/binds.conf $(DESTDIR)$(SHAREDIR)/binds.conf
- install -m755 filters/hldiff $(DESTDIR)$(SHAREDIR)/filters/hldiff
- install -m755 filters/html $(DESTDIR)$(SHAREDIR)/filters/html
- install -m755 filters/plaintext $(DESTDIR)$(SHAREDIR)/filters/plaintext
- install -m644 templates/quoted_reply $(DESTDIR)$(SHAREDIR)/templates/quoted_reply
- install -m644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body
- install -m644 config/default_styleset $(DESTDIR)$(SHAREDIR)/stylesets/default
+ install -pm644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
+ install -pm644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1
+ install -pm644 aerc-config.5 $(DESTDIR)$(MANDIR)/man5/aerc-config.5
+ install -pm644 aerc-imap.5 $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
+ install -pm644 aerc-maildir.5 $(DESTDIR)$(MANDIR)/man5/aerc-maildir.5
+ install -pm644 aerc-sendmail.5 $(DESTDIR)$(MANDIR)/man5/aerc-sendmail.5
+ install -pm644 aerc-notmuch.5 $(DESTDIR)$(MANDIR)/man5/aerc-notmuch.5
+ install -pm644 aerc-smtp.5 $(DESTDIR)$(MANDIR)/man5/aerc-smtp.5
+ install -pm644 aerc-tutorial.7 $(DESTDIR)$(MANDIR)/man7/aerc-tutorial.7
+ install -pm644 aerc-templates.7 $(DESTDIR)$(MANDIR)/man7/aerc-templates.7
+ install -pm644 aerc-stylesets.7 $(DESTDIR)$(MANDIR)/man7/aerc-stylesets.7
+ install -pm644 config/accounts.conf $(DESTDIR)$(SHAREDIR)/accounts.conf
+ install -pm644 aerc.conf $(DESTDIR)$(SHAREDIR)/aerc.conf
+ install -pm644 config/binds.conf $(DESTDIR)$(SHAREDIR)/binds.conf
+ install -pm755 filters/hldiff $(DESTDIR)$(SHAREDIR)/filters/hldiff
+ install -pm755 filters/html $(DESTDIR)$(SHAREDIR)/filters/html
+ install -pm755 filters/plaintext $(DESTDIR)$(SHAREDIR)/filters/plaintext
+ install -pm644 templates/quoted_reply $(DESTDIR)$(SHAREDIR)/templates/quoted_reply
+ install -pm644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body
+ install -pm644 config/default_styleset $(DESTDIR)$(SHAREDIR)/stylesets/default
RMDIR_IF_EMPTY:=sh -c '\
if test -d $$0 && ! ls -1qA $$0 | grep -q . ; then \

172
aerc.spec
View file

@ -1,121 +1,111 @@
# Generated by go2rpm 1.3
%bcond_without check
# Generated by go2rpm 1.14.0
%bcond check 1
# https://git.sr.ht/~sircmpwn/aerc
%global goipath git.sr.ht/~sircmpwn/aerc
%global forgeurl https://git.sr.ht/~sircmpwn/aerc
Version: 0.5.2
%global tag 0.5.2
# /!\ Prerelease to fix compilation with go-pgpmail
%global commit 1687e558d3fae4d5622677c031bb9365a8c3e261
%global repo aerc
%global archivename %{repo}-%{commit}
%global archiveext tar.gz
%global archiveurl %{forgeurl}/archive/%{commit}.%{archiveext}
%global topdir %{repo}-%{commit}
%global extractdir %{repo}-%{commit}
%global scm git
# We use vendored deps, as aerc has a lot of dependencies and is picky about
# them. Upstream does a good job at keeping them updated. aerc is prone to
# crashes with Fedora's dependency versions, many of which are out of date.
%gometa
# https://git.sr.ht/~rjarry/aerc
%global goipath git.sr.ht/~rjarry/aerc
%global version0 0.21.0
%gometa -L -f
%global common_description %{expand:
Aerc is an email client that runs in your terminal. It's highly
Aerc is an email client that runs in your terminal. It is highly
efficient and extensible, perfect for the discerning hacker.}
%global golicenses LICENSE
%global godocs doc README.md
Name: aerc
Release: 2%{?dist}
Version: %{forgeversion}
Release: %autorelease
Summary: Email client for your terminal
License: MIT
SourceLicense: MIT
# Generated by go-vendor-tools
License: MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC
URL: %{gourl}
Source0: %{gosource}
# Disable building of aerc that we handle manually in the SPEC
Patch0: aerc-fix-makefile.patch
# Generated by go-vendor-tools
Source1: %{archivename}-vendor.tar.bz2
Source2: go-vendor-tools.toml
BuildRequires: desktop-file-utils
# wrap and colorize filters are written in C
BuildRequires: gcc
BuildRequires: glibc-all-langpacks
BuildRequires: go-vendor-tools
BuildRequires: gnupg
BuildRequires: notmuch-devel
BuildRequires: scdoc
BuildRequires: golang(git.sr.ht/~sircmpwn/getopt)
BuildRequires: golang(github.com/creack/pty)
BuildRequires: golang(github.com/danwakefield/fnmatch)
BuildRequires: golang(github.com/ddevault/go-libvterm)
BuildRequires: golang(github.com/emersion/go-imap)
BuildRequires: golang(github.com/emersion/go-imap-idle)
BuildRequires: golang(github.com/emersion/go-imap-sortthread)
BuildRequires: golang(github.com/emersion/go-imap/client)
BuildRequires: golang(github.com/emersion/go-maildir)
BuildRequires: golang(github.com/emersion/go-message)
BuildRequires: golang(github.com/emersion/go-message/charset)
BuildRequires: golang(github.com/emersion/go-message/mail)
BuildRequires: golang(github.com/emersion/go-message/textproto)
BuildRequires: golang(github.com/emersion/go-pgpmail)
BuildRequires: golang(github.com/emersion/go-sasl)
BuildRequires: golang(github.com/emersion/go-smtp)
BuildRequires: golang(github.com/fsnotify/fsnotify)
BuildRequires: golang(github.com/gdamore/tcell/v2)
BuildRequires: golang(github.com/gdamore/tcell/v2/views)
BuildRequires: golang(github.com/go-ini/ini)
BuildRequires: golang(github.com/google/shlex)
BuildRequires: golang(github.com/imdario/mergo)
BuildRequires: golang(github.com/kyoh86/xdg)
BuildRequires: golang(github.com/mattn/go-isatty)
BuildRequires: golang(github.com/mattn/go-runewidth)
BuildRequires: golang(github.com/miolini/datacounter)
BuildRequires: golang(github.com/mitchellh/go-homedir)
BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(github.com/riywo/loginshell)
BuildRequires: golang(golang.org/x/crypto/openpgp)
BuildRequires: golang(golang.org/x/crypto/openpgp/errors)
BuildRequires: golang(golang.org/x/crypto/openpgp/packet)
BuildRequires: golang(golang.org/x/oauth2)
Requires: notmuch
%if %{with check}
# Tests
BuildRequires: golang(github.com/stretchr/testify/assert)
%endif
# used in the builtin `html` filter
Requires: w3m
# aerc is mainly targeted at developers using a git+email workflow
Recommends: git-email
# for email signing/verification, encryption/decryption
Recommends: gnupg2
# for network isolation with unshare in the builtin `html` filter
Recommends: util-linux
%description
%{common_description}
%description %{common_description}
%prep
%goprep
%patch0 -p1
# From go.mod replace statements:
# replace golang.org/x/crypto => github.com/ProtonMail/go-crypto v0.0.0-20200420072808-71bec3603bf3
# replace github.com/zenhack/go.notmuch => github.com/brunnre8/go.notmuch v0.0.0-20201126061756-caa2daf7093c
sed -i "s|golang.org/x/crypto|github.com/ProtonMail/go-crypto|" $(find . -name "*.go" -type f)
sed -i "s|github.com/zenhack/go.notmuch|github.com/brunnre8/go.notmuch|" $(find . -name "*.go" -type f)
%goprep -A
%setup -q -T -D -a1 %{forgesetupargs}
%autopatch -p1
%generate_buildrequires
%go_vendor_license_buildrequires -c %{S:2}
%build
export GOFLAGS=-tags=notmuch
export LDFLAGS="-X main.Prefix=%{_prefix} \
-X main.ShareDir=%{_datadir}/aerc \
-X main.Version=%{version} "
%gobuild -o %{gobuilddir}/bin/aerc %{goipath}
%set_build_flags
# GO_BUILDTAGS: Enable notmuch explicitly instead of relying on auto-detection
# in build script.
# GO_LDFLAGS: Set to an empty string so the C LDFLAGS set by %%set_build_flags
# aren't read instead.
GO_BUILDTAGS=notmuch GO_LDFLAGS=""
# BUILD_OPTS: Set `go build` flags
# DATE: Set DATE based on SOURCE_DATE_EPOCH. The Makefile sets it based on the
# current time.
# GOFLAGS: Set to an empty string. We want to clear the definition from the Makefile.
# GO_EXTRA_LDFLAGS: Set `go build -ldflags` argument
# Other values should be self-explanatory
%make_build \
BUILD_OPTS=%{gobuild_baseflags_shescaped} \
DATE="$(date -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%d)" \
GOFLAGS= \
GO_EXTRA_LDFLAGS=%{gobuild_ldflags_shescaped} \
PREFIX=%{_prefix} \
VERSION=%{version} \
%install
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
export PREFIX=%{_prefix}
%make_install
desktop-file-validate %{buildroot}/%{_datadir}/applications/aerc.desktop
%go_vendor_license_install -c %{S:2}
%if %{with check}
%check
%go_vendor_license_check -c %{S:2}
%if %{with check}
LANG=en_US.UTF-8 ./filters/test.sh
%gocheck
%endif
%files
%license LICENSE
%doc doc README.md
%{_bindir}/*
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/%{name}-*.1.*
%{_mandir}/man5/%{name}-*.5.*
%{_mandir}/man7/%{name}-*.7.*
%{_datadir}/aerc
%files -f %{go_vendor_license_filelist}
%license vendor/modules.txt
%doc README.md CHANGELOG.md
%{_bindir}/aerc
%{_bindir}/carddav-query
%{_datadir}/aerc/
%{_datadir}/applications/aerc.desktop
%{_libexecdir}/aerc/
%{_mandir}/man1/aerc-*.1.*
%{_mandir}/man1/carddav-query.1*
%{_mandir}/man1/aerc.1*
%{_mandir}/man5/aerc-*.5.*
%{_mandir}/man7/aerc-*.7.*
%changelog
* Tue Jun 15 20:29:04 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.5.2-2.20210615git1687e55
- Initial package
%autochangelog

5
changelog Normal file
View file

@ -0,0 +1,5 @@
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 15 20:29:04 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.5.2-2.20210615git1687e55
- Initial package

2
go-vendor-tools.toml Normal file
View file

@ -0,0 +1,2 @@
[licensing]
detector = "trivy"

View file

@ -1 +1,2 @@
SHA512 (aerc-1687e558d3fae4d5622677c031bb9365a8c3e261.tar.gz) = 7cf2bb538d61ce2cda81dfeefade91b50ce22502f75f14e2248452c8f64736fae975e3673c05106c00532639feef4f9e44c40b866fce65aaefad94b409649260
SHA512 (aerc-0.21.0.tar.gz) = b58b3ba9fe36a22b5717d48d7b1caf37303003cb4f32138e79f9775a96dbc5d8b27700091dbfe56f31954be5881467a7c5d8c1895d9161eda19a0d7e5c4750aa
SHA512 (aerc-0.21.0-vendor.tar.bz2) = 5deb3e85cdeed9d0366e08ba851bbc4382dfafd3e2ecfb561cfc9b0afdd90183d72683a4c055d95a474144a2a5ba816c2946a1ade9acc85119d0e3242ef8af60