Accepting request 581015 from server:mail

- spec cleanup
- move manual.txt from neomutt-doc as it's bound to F1 key (forwarded request 581014 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/581015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neomutt?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-03-01 11:07:49 +00:00 committed by Git OBS Bridge
commit c824ea7810
2 changed files with 18 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 28 00:00:00 CET 2018 - dsterba@suse.cz
- spec cleanup
- move manual.txt from neomutt-doc as it's bound to F1 key
-------------------------------------------------------------------
Fri Feb 23 00:00:00 CET 2018 - dsterba@suse.cz

View File

@ -20,7 +20,7 @@ Name: neomutt
Version: 20180223
Release: 0
Summary: A command line mail reader based on Mutt
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Networking/Email/Clients
Url: https://www.neomutt.org
Source: https://github.com/neomutt/neomutt/archive/%{name}-%{version}.tar.gz
@ -72,7 +72,7 @@ and requirements.
%setup -q -n neomutt-%{name}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="%{optflags}"
./configure --prefix=%{_prefix} \
--docdir=%{_docdir}/neomutt \
--with-mailpath=%{_localstatedir}/mail \
@ -109,17 +109,23 @@ make %{?_smp_mflags}
%{_mandir}/man1/smime_keys_neomutt.1%{ext_man}
%{_mandir}/man5/mbox_neomutt.5%{ext_man}
%{_mandir}/man5/mmdf_neomutt.5%{ext_man}
# this file is used from the default /etc/neomuttrc and moved from neomutt-doc
%dir %{_docdir}/neomutt
%doc %{_docdir}/neomutt/manual.txt
%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
%dir %{_docdir}/%{name}/
%doc %{_docdir}/%{name}/*.html
%doc %{_docdir}/%{name}/*.txt
#%doc %{_docdir}/%{name}/*.txt
%doc %{_docdir}/neomutt/INSTALL
%doc %{_docdir}/neomutt/PGP-Notes.txt
%doc %{_docdir}/neomutt/mime.types
%doc %{_docdir}/neomutt/smime-notes.txt
%dir %doc %{_docdir}/%{name}/colorschemes/
%doc %{_docdir}/%{name}/colorschemes/*.neomuttrc
%dir %doc %{_docdir}/%{name}/keybase/
@ -140,6 +146,7 @@ make %{?_smp_mflags}
%dir %doc %{_docdir}/%{name}/lua/
%doc %{_docdir}/%{name}/lua/test_lua-api_runner.neomuttrc
%doc %{_docdir}/%{name}/lua/test_lua-api_spec.lua
%doc %{_docdir}/neomutt/LICENSE.md
%files lang -f %{name}.lang