2015-05-08 22:54:31 +02:00
|
|
|
#
|
|
|
|
# spec file for package moe
|
|
|
|
#
|
2016-07-10 19:19:58 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-05-08 22:54:31 +02:00
|
|
|
#
|
|
|
|
# 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+
|
2016-07-10 19:19:58 +02:00
|
|
|
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
|
2015-05-08 22:54:31 +02:00
|
|
|
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
|
2016-07-10 19:19:58 +02:00
|
|
|
Requires(post): %{install_info_prereq}
|
|
|
|
Requires(preun): %{install_info_prereq}
|
2015-05-08 22:54:31 +02:00
|
|
|
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
|
2016-07-10 19:19:58 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/moe.info%{ext_info}
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%preun
|
2016-07-10 19:19:58 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/moe.info%{ext_info}
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
|
%config(noreplace) %{_sysconfdir}/moerc
|
|
|
|
%{_bindir}/moe
|
2016-07-10 19:19:58 +02:00
|
|
|
%{_infodir}/moe.info%{ext_info}
|
|
|
|
%{_mandir}/man1/moe.1%{ext_man}
|
2009-02-23 09:32:13 +01:00
|
|
|
|
|
|
|
%changelog
|