SHA256
1
0
forked from pool/moe
moe/moe.spec
Martin Pluskal ab993e0ac3 Accepting request 588363 from home:avindra:branches:editors
- GNU moe 1.9:
  * rc.cc: Load recursively all regular files in each directory
    passed in the command line.
  * Added a new help key 'C-a'.
  * encoding.cc: UTF-8 decoder now converts some more characters.
  * buffer_handle.h (Buffer_handle): Adjust '+line,col' for tabs.
  * set_to_matching_delimiter: Skip delimiters inside /**/ comments.
  * Added 'N' command to the basic less emulation.
  * rc.cc (process_options): Don't use stdin more than once.
  * window_vector.cc (remove_duplicate_lines): Run 20% faster.
  * Cut long filenames in messages like "File '...filename' saved".
  * Set an 8-bit "C" locale in Cygwin to show chars > 127.
  * configure: Avoid warning on some shells when testing for g++.
  * Makefile.in: Detect the existence of install-info.
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/588363
OBS-URL: https://build.opensuse.org/package/show/editors/moe?expand=0&rev=10
2018-03-19 08:23:51 +00:00

72 lines
2.4 KiB
RPMSpec

#
# spec file for package moe
#
# Copyright (c) 2018 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: moe
Version: 1.9
Release: 0
Summary: Powerful and User-friendly Text Editor
License: GPL-2.0-or-later
Group: Productivity/Text/Editors
Url: https://www.gnu.org/software/moe/moe.html
Source: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.lz
Source1: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.lz.sig
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=moe&download=1#/%{name}.keyring
BuildRequires: gcc-c++
BuildRequires: glibc-devel
BuildRequires: libstdc++-devel
BuildRequires: lzip
BuildRequires: make
BuildRequires: ncurses-devel
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%description
GNU Moe is a powerful, 8-bit clean, console text editor for ISO-8859 and ASCII
character encodings. It has a modeless, user-friendly interface, online help,
multiple windows, unlimited undo/redo capability, unlimited line length, global
search/replace (on all buffers at once), block operations, automatic
indentation, word wrapping, file name completion, directory browser, duplicate
removal from prompt histories, delimiter matching, text conversion from/to
UTF-8, romanization, etc.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
%install
%make_install install-man
%post
%install_info --info-dir=%{_infodir} %{_infodir}/moe.info%{ext_info}
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/moe.info%{ext_info}
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%config(noreplace) %{_sysconfdir}/moerc
%{_bindir}/moe
%{_infodir}/moe.info%{?ext_info}
%{_mandir}/man1/moe.1%{?ext_man}
%changelog