Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37408160
en ru br
Репозитории ALT
S:20200723-alt1_2
www.altlinux.org/Changes

Группа :: Редакторы
Пакет: mg

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Group: Editors
# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: mg
Version: 20200723
Release: alt1_2
Summary: Tiny Emacs-like editor

License: BSD and ISC and MirOS
URL: http://homepage.boetes.org/software/mg/
Source0: https://github.com/hboetes/%{name}/archive/%{version}.tar.gz
BuildRequires:  gcc
BuildRequires: libncurses++-devel libncurses-devel libncursesw-devel libtic-devel libtinfo-devel
BuildRequires: libbsd-devel >= 0.7.0
Source44: import.info

%description
mg is a tiny, mostly public-domain Emacs-like editor included in the base
OpenBSD system. It is compatible with Emacs because there shouldn't be any
reason to learn more editor types than Emacs or vi.

%prep
%setup -q

%build
%make_build CFLAGS="%{optflags}" LDFLAGS="%{optflags} -lncurses" libdir="%{_libdir}"

%install
%makeinstall_std prefix=%{_prefix} mandir=%{_mandir}

%files
%doc README tutorial
%{_bindir}/mg
%{_mandir}/man1/mg.1*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin