Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37551518
en ru br
ALT Linux repos
S:0.5.8-alt1
5.0: 0.4.8-alt1
4.1: 0.4.8-alt1
4.0: 0.4.8-alt1
3.0: 0.4.7-alt5

Group :: Editors
RPM: emacs-mmm-mode

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Version: 0.5.8
Release: alt1
Name: emacs-mmm-mode
License: GPLv2+
Group: Editors
Url: http://mmm-mode.sourceforge.net/
Vcs: https://github.com/purcell/mmm-mode.git
Summary: Multiple Major Modes in Emacs
Packager: Emacs Maintainers Team <emacs at packages.altlinux.org>
Requires: emacs-common
Source: %name-%{version}.tar
Source1: mmm-emacs.el

BuildArch: noarch

# Automatically added by buildreq on Thu Jul 18 2002

BuildRequires: rpm-build-emacs
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
MMM Mode is a minor mode for Emacs that allows Multiple Major Modes
(hence the name) to coexist in one buffer.  It is particularly
well-suited to editing embedded code, such as Mason server-side
Perl, or HTML output in CGI scripts.

%description -l ru_RU.UTF-8
Режим MMM является вспомогательным режимом для Emacs, позволяющим использовать
несколько основных режимов в одном буфере. В частности он удобен для редактирования
встроенного кода, такого как код на Perl в Mason или другого.

Весь код на Emacs Lisp откомпилирован, для получения исходных текстов установите
пакет %name-el

%package el
Summary: The Emacs Lisp sources for bytecode included in %name
Group: Development/Other
Requires: %name = %version-%release

%description el
%name-el contains the Emacs Lisp sources for the bytecode
included in the %name package, that extends the Emacs editor.

You need to install %name-el only if you intend to modify any of the
%name code or see some Lisp examples.

%description el -l ru_RU.UTF-8
Пакет %name-el содержит исходные тексты для пакета %name, который
является дополнением к редактору Emacs.

%name-el необходим вам только, если вы собираетесь изменять файлы
входящие в %name, или хотите посмотреть некоторые примеры.

%prep
%setup -q

%build
%autoreconf
./configure --prefix=%{_prefix} --infodir=%{_infodir} --with-emacs
make

%install
mkdir -p $RPM_BUILD_ROOT%{_emacslispdir}/mmm
install -m 644 *.el* $RPM_BUILD_ROOT%{_emacslispdir}/mmm

mkdir -p $RPM_BUILD_ROOT%{_infodir}
install -m 644 *.info* $RPM_BUILD_ROOT%{_infodir}

mkdir -p $RPM_BUILD_ROOT/etc/emacs/site-start.d
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/emacs/site-start.d/mmm.el

%files
%defattr(-, root, root)
%doc AUTHORS FAQ INSTALL README* TODO NEWS
%dir %{_emacslispdir}/mmm/
%{_emacslispdir}/mmm/*.elc
/etc/emacs/site-start.d/*
%{_infodir}/*

%files el
%{_emacslispdir}/mmm/*.el

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin