2015-05-08 22:54:31 +02:00
|
|
|
#
|
|
|
|
# spec file for package moe
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 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
|
2016-03-14 17:33:33 +01:00
|
|
|
Version: 1.8
|
2015-05-08 22:54:31 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Powerful and User-friendly Text Editor
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Editors/Other
|
|
|
|
Url: http://www.gnu.org/software/moe/moe.html
|
|
|
|
Source: ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.lz
|
|
|
|
Source1: ftp://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
|
|
|
|
Source3: %{name}.changes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: lzip
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
# FIXME: use proper Requires(pre/post/preun/...)
|
|
|
|
PreReq: %{install_info_prereq}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%description
|
2015-05-08 22:54:31 +02:00
|
|
|
GNU Moe is a powerful, 8-bit clean, console text editor for ISO-8859 and ASCII
|
2009-02-23 09:32:13 +01:00
|
|
|
character encodings. It has a modeless, user-friendly interface, online help,
|
2015-05-08 22:54:31 +02:00
|
|
|
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.
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2015-05-08 22:54:31 +02:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%install
|
2015-05-08 22:54:31 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} install-man
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%install_info --info-dir="%{_infodir}" "%{_infodir}"/moe.info*
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/moe.info*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
|
%config(noreplace) %{_sysconfdir}/moerc
|
|
|
|
%{_bindir}/moe
|
2015-05-08 22:54:31 +02:00
|
|
|
%{_infodir}/moe.info*
|
|
|
|
%{_mandir}/man1/moe.1*
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%changelog
|