From 77e0694a196e7e3ba75703de6f1d42c6b253af11d93274e9dacae521b9d75195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Thu, 21 Dec 2017 01:46:03 +0000 Subject: [PATCH] Accepting request 556512 from home:dsterba:staging New package. Neomutt is a mutt-like mail client, similar in functions, but codebase is diverging. The current mutt package has a neomutt patch but this is not ok and causes confusion. Mutt and neomutt can be installed on one system. OBS-URL: https://build.opensuse.org/request/show/556512 OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + neomutt-20171208.tar.gz | 3 + neomutt.changes | 4 ++ neomutt.spec | 151 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 182 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 neomutt-20171208.tar.gz create mode 100644 neomutt.changes create mode 100644 neomutt.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/neomutt-20171208.tar.gz b/neomutt-20171208.tar.gz new file mode 100644 index 0000000..fe8aa4c --- /dev/null +++ b/neomutt-20171208.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fdf28d73a893ad5dfc77f6d8662b599e92c73e6a7ff24c0db4673924e3dd735 +size 2703917 diff --git a/neomutt.changes b/neomutt.changes new file mode 100644 index 0000000..f6d6f8c --- /dev/null +++ b/neomutt.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Nov 28 00:00:00 CET 2017 - dsterba@suse.cz + +- neomutt 2017-12-08 diff --git a/neomutt.spec b/neomutt.spec new file mode 100644 index 0000000..7d663db --- /dev/null +++ b/neomutt.spec @@ -0,0 +1,151 @@ +# +# spec file for package neomutt +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: neomutt +Version: 20171208 +Release: 0 +Summary: A command line mail reader based on Mutt +License: GPL-2.0+ +Group: Productivity/Networking/Email/Clients +URL: https://www.neomutt.org +Source: https://github.com/neomutt/neomutt/archive/%{name}-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: cyrus-sasl-devel +BuildRequires: docbook-xsl-stylesheets +BuildRequires: gawk +BuildRequires: gdbm-devel +BuildRequires: gettext +BuildRequires: krb5-devel +BuildRequires: libdb-4_8-devel +BuildRequires: libgnutls-devel +BuildRequires: libgpgme-devel +BuildRequires: libidn-devel +BuildRequires: libkyotocabinet-devel +BuildRequires: libtool +BuildRequires: lmdb-devel +BuildRequires: lua-devel +BuildRequires: ncurses-devel +BuildRequires: notmuch-devel +BuildRequires: openssl-devel +BuildRequires: pkgconfig +BuildRequires: w3m +BuildRequires: xsltproc +BuildRequires: zlib-devel +Recommends: neomutt-doc +Recommends: neomutt-lang + +%description +NeoMutt is a command line mail reader based on Mutt, brings together many +new features. Can be installed in parallel with mutt. + +%package doc +Summary: Additional documentation for neomutt +Group: Documentation/Other +Requires: %{name} = %{version} +Recommends: perl(Expect) +Provides: %{name}:%{_docdir}/%{name}/COPYRIGHT +BuildArch: noarch + +%description doc +Documentation for neomutt with neomuttrc examples for different environments +and requirements. + +%lang_package macro + +%prep +%setup -q -n neomutt-%{name}-%{version} + +%build +./prepare -V +%configure --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --with-docdir=%{_docdir}/neomutt \ + --with-mailpath=%{_localstatedir}/mail \ + --enable-everything \ + --disable-debug \ + --enable-fmemopen \ + --enable-lua \ + --without-gdbm \ + --without-qdbm \ + --without-tokyocabinet \ + --with-gnutls \ + --with-sasl \ + --with-gss \ + --with-idn \ + --with-mixmaster + +make %{?_smp_mflags} +make %{?_smp_mflags} -C doc clean +make %{?_smp_mflags} +make %{?_smp_mflags} -C doc + +%install +%make_install + +%find_lang neomutt + +%files +%config(noreplace) %{_sysconfdir}/neomuttrc +%{_bindir}/neomutt +%{_mandir}/man1/neomutt.1%{ext_man} +%{_mandir}/man5/neomuttrc.5%{ext_man} +%dir %{_prefix}/lib/neomutt +%{_prefix}/lib/neomutt/pgpewrap +%{_prefix}/lib/neomutt/pgpring +%{_prefix}/lib/neomutt/smime_keys +%{_mandir}/man1/pgpewrap_neomutt.1%{ext_man} +%{_mandir}/man1/pgpring_neomutt.1%{ext_man} +%{_mandir}/man1/smime_keys_neomutt.1%{ext_man} +%{_mandir}/man5/mbox_neomutt.5%{ext_man} +%{_mandir}/man5/mmdf_neomutt.5%{ext_man} + +%files doc +%dir %{_docdir}/neomutt +%{_docdir}/neomutt/* +%doc %{_docdir}/%{name}/COPYRIGHT +%doc %{_docdir}/%{name}/README* +%doc %{_docdir}/%{name}/ChangeLog.md +%doc %{_docdir}/%{name}/CODE_OF_CONDUCT.md +%doc %{_docdir}/%{name}/LICENSE.md +%doc %{_docdir}/%{name}/*.html +%doc %{_docdir}/%{name}/*.txt +%dir %doc %{_docdir}/%{name}/colorschemes/ +%doc %{_docdir}/%{name}/colorschemes/*.neomuttrc +%dir %doc %{_docdir}/%{name}/keybase/ +%doc %{_docdir}/%{name}/keybase/* +%dir %doc %{_docdir}/%{name}/logo/ +%doc %{_docdir}/%{name}/logo/neomutt* +%dir %doc %{_docdir}/%{name}/samples/ +%doc %{_docdir}/%{name}/samples/*.rc +%doc %{_docdir}/%{name}/samples/colors.* +%doc %{_docdir}/%{name}/samples/sample.* +%doc %{_docdir}/%{name}/samples/smime_keys_test.pl +%dir %doc %{_docdir}/%{name}/vim-keys/ +%doc %{_docdir}/%{name}/vim-keys/* +%dir %doc %{_docdir}/%{name}/hcache-bench/ +%doc %{_docdir}/%{name}/hcache-bench/README.md +%doc %{_docdir}/%{name}/hcache-bench/neomuttrc +%doc %{_docdir}/%{name}/hcache-bench/neomutt-hcache-bench.sh +%dir %doc %{_docdir}/%{name}/lua/ +%doc %{_docdir}/%{name}/lua/test_lua-api_runner.neomuttrc +%doc %{_docdir}/%{name}/lua/test_lua-api_spec.lua + +%files lang -f %{name}.lang + +%changelog