Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37042815
en ru br
ALT Linux repositórios
S:20200723-alt1_2

Group :: Editores
RPM: mg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009