Package neomutt: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | # SPDX-License-Identifier: GPL-2.0-only %define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict Name: neomutt Version: 20220429 Release: alt2.1 Summary: A version of Mutt with added features License: GPL-2.0-only and ALT-Public-Domain Group: Networking/Mail Url: https://www.neomutt.org/ Vcs: https://github.com/neomutt/neomutt.git # test-files/ Vcs: https://github.com/neomutt/neomutt-test-files # Updated as git subtree into test-files/ dir. Example: # git subtree pull --prefix test-files/ test-files master --squash # Where test-files remote is https://github.com/neomutt/neomutt-test-files Requires: mailcap Source: %name-%version.tar Source1: neomutt.desktop Source2: neomutt.xpm BuildRequires: docbook-style-xsl BuildRequires: elinks BuildRequires: libdb4.8-devel BuildRequires: libgpgme-devel BuildRequires: libidn2-devel BuildRequires: liblua5-devel BuildRequires: libncursesw-devel BuildRequires: libnotmuch-devel BuildRequires: libsasl2-devel BuildRequires: libsqlite3-devel BuildRequires: libssl-devel BuildRequires: libzstd-devel BuildRequires: tcl BuildRequires: xsltproc BuildRequires: zlib-devel %description Neomutt is a small but powerful text based program for reading and sending electronic mail under UNIX operating systems, including support for color terminals, MIME, OpenPGP, and a threaded sorting mode. %prep %setup %ifarch armh sed -i 's/armle-/armh-/' autosetup/autosetup-config.sub %endif %autopatch -p1 %ifarch %e2k # can't find BerkeleyDB due to silly warning from LCC sed -i 's/-E | tail -1/-w &/' auto.def %endif # obvious bug in the source, failed test because of this sed -i 's/TEST_CASE(imap_tests\[i\])/TEST_CASE(imap_tests[i].str)/' test/date/mutt_date_parse_imap.c %build %define docdir %_docdir/%name %undefine _configure_gettext %configure \ --autocrypt \ --bdb \ --docdir=%docdir \ --gpgme \ --idn2 --disable-idn \ --lua \ --notmuch \ --pkgconf \ --sasl \ --sqlite \ --ssl \ --zlib \ --zstd \ %nil %make_build %install %makeinstall_std install -Dpm0544 %SOURCE1 %buildroot%_desktopdir/neomutt.desktop install -Dpm0544 %SOURCE2 %buildroot%_pixmapsdir/neomutt.xpm %find_lang %name %check # Simplest test %buildroot%_bindir/neomutt -v # Great tests export NEOMUTT_TEST_DIR=$PWD/test-files pushd test-files ./setup.sh popd make -s test %files -f %name.lang %config(noreplace) %_sysconfdir/neomuttrc %_bindir/neomutt %_mandir/man?/* %_libexecdir/neomutt* %docdir %_desktopdir/neomutt.desktop %_pixmapsdir/neomutt.xpm %changelog * Wed Nov 02 2022 Ilya Kurdyukov <ilyakurdyukov@altlinux.org> 20220429-alt2.1 - Fixed build for Elbrus. * Wed Oct 12 2022 Vitaly Chikunov <vt@altlinux.org> 20220429-alt2 - spec: Fix build with libgpg-error-1.46. * Tue May 03 2022 Vitaly Chikunov <vt@altlinux.org> 20220429-alt1 - Update to 20220429. - Enable Native Language Support (NLS). - Enable Autocrypt support. - Package documentation in non-versioned directory. - Package desktop files. * Wed Nov 03 2021 Vitaly Chikunov <vt@altlinux.org> 20211029-alt1 - Update to 20211029. * Sun Oct 24 2021 Vitaly Chikunov <vt@altlinux.org> 20211022-alt1 - Update to 20211022-6-g4c9fa28537 (2021-10-24). - Do not apply color groups patch. * Mon Jul 05 2021 Alexey Gladkov <legion@altlinux.ru> 20210205-alt2.1 - Add color groups for header and body. * Sun Jul 04 2021 Vitaly Chikunov <vt@altlinux.org> 20210205-alt2 - Fix CVE-2021-32055. * Sun Feb 07 2021 Vitaly Chikunov <vt@altlinux.org> 20210205-alt1 - Update to 20210205. * Mon Nov 30 2020 Vitaly Chikunov <vt@altlinux.org> 20201127-alt1 - Update to 20201127. * Wed Nov 25 2020 Vitaly Chikunov <vt@altlinux.org> 20201120-alt1 - Update to 20201120. * Sun Sep 27 2020 Vitaly Chikunov <vt@altlinux.org> 20200925-alt1 - Update to 20200925. * Sat Sep 05 2020 Vitaly Chikunov <vt@altlinux.org> 20200821-alt2 - Fix alias parsing (closes: 38891). * Mon Aug 24 2020 Vitaly Chikunov <vt@altlinux.org> 20200821-alt1 - Update to 20200821. * Mon Aug 17 2020 Vitaly Chikunov <vt@altlinux.org> 20200814-alt1 - Update to 20200814. * Tue Aug 11 2020 Vitaly Chikunov <vt@altlinux.org> 20200807-alt1 - Update to 20200807. * Wed Jul 01 2020 Vitaly Chikunov <vt@altlinux.org> 20200626-alt1 - Update to 20200626. * Tue May 05 2020 Vitaly Chikunov <vt@altlinux.org> 20200501-alt1 - Update to 20200501. * Mon Apr 27 2020 Vitaly Chikunov <vt@altlinux.org> 20200424-alt1 - Update to 20200424. * Sat Apr 18 2020 Vitaly Chikunov <vt@altlinux.org> 20200417-alt1 - Update to 20200417. - Enable zlib, zstd, sqlite. - spec: Add %%check section with tests. * Thu Apr 09 2020 Vitaly Chikunov <vt@altlinux.org> 20200320-alt1 - Update to 20200320. * Mon Nov 26 2018 Vitaly Chikunov <vt@altlinux.ru> 20180716-alt2 - Switch from libidn to libidn2 * Wed Aug 29 2018 Vitaly Chikunov <vt@altlinux.org> 20180716-alt1 - NeoMutt release 20180716 * Wed Feb 21 2018 Vitaly Chikunov <vt at altlinux.org> 20180221-alt1 - initial build for ALT Linux Sisyphus |