Package emacs-mmm-mode: Specfile

Version: 0.4.8
Release: alt2.1
Name: emacs-mmm-mode
Copyright: GPL
Group: Editors
Url: http://mmm-mode.sourceforge.net/
Summary: Multiple Major Modes in Emacs
Packager: Emacs Maintainers Team <emacs@packages.altlinux.org>
Requires: emacs-common 
Source: mmm-mode-%{version}.tar.gz
Source1: mmm-emacs.el

BuildArch: noarch

# Automatically added by buildreq on Thu Jul 18 2002
BuildRequires: emacs-common 
# 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.CP1251
\xd0\xe5\xe6\xe8\xec MMM \xff\xe2\xeb\xff\xe5\xf2\xf1\xff \xe2\xf1\xef\xee\xec\xee\xe3\xe0\xf2\xe5\xeb\xfc\xed\xfb\xec \xf0\xe5\xe6\xe8\xec\xee\xec \xe4\xeb\xff Emacs, \xef\xee\xe7\xe2\xee\xeb\xff\xfe\xf9\xe8\xec \xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xf2\xfc 
\xed\xe5\xf1\xea\xee\xeb\xfc\xea\xee \xee\xf1\xed\xee\xe2\xed\xfb\xf5 \xf0\xe5\xe6\xe8\xec\xee\xe2 \xe2 \xee\xe4\xed\xee\xec \xe1\xf3\xf4\xe5\xf0\xe5. \xc2 \xf7\xe0\xf1\xf2\xed\xee\xf1\xf2\xe8 \xee\xed \xf3\xe4\xee\xe1\xe5\xed \xe4\xeb\xff \xf0\xe5\xe4\xe0\xea\xf2\xe8\xf0\xee\xe2\xe0\xed\xe8\xff
\xe2\xf1\xf2\xf0\xee\xe5\xed\xed\xee\xe3\xee \xea\xee\xe4\xe0, \xf2\xe0\xea\xee\xe3\xee \xea\xe0\xea \xea\xee\xe4 \xed\xe0 Perl \xe2 Mason \xe8\xeb\xe8 \xe4\xf0\xf3\xe3\xee\xe3\xee.

\xc2\xe5\xf1\xfc \xea\xee\xe4 \xed\xe0 Emacs Lisp \xee\xf2\xea\xee\xec\xef\xe8\xeb\xe8\xf0\xee\xe2\xe0\xed, \xe4\xeb\xff \xef\xee\xeb\xf3\xf7\xe5\xed\xe8\xff \xe8\xf1\xf5\xee\xe4\xed\xfb\xf5 \xf2\xe5\xea\xf1\xf2\xee\xe2 \xf3\xf1\xf2\xe0\xed\xee\xe2\xe8\xf2\xe5 
\xef\xe0\xea\xe5\xf2 %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.CP1251
\xcf\xe0\xea\xe5\xf2 %name-el \xf1\xee\xe4\xe5\xf0\xe6\xe8\xf2 \xe8\xf1\xf5\xee\xe4\xed\xfb\xe5 \xf2\xe5\xea\xf1\xf2\xfb \xe4\xeb\xff \xef\xe0\xea\xe5\xf2\xe0 %name, \xea\xee\xf2\xee\xf0\xfb\xe9 
\xff\xe2\xeb\xff\xe5\xf2\xf1\xff \xe4\xee\xef\xee\xeb\xed\xe5\xed\xe8\xe5\xec \xea \xf0\xe5\xe4\xe0\xea\xf2\xee\xf0\xf3 Emacs.

%name-el \xed\xe5\xee\xe1\xf5\xee\xe4\xe8\xec \xe2\xe0\xec \xf2\xee\xeb\xfc\xea\xee, \xe5\xf1\xeb\xe8 \xe2\xfb \xf1\xee\xe1\xe8\xf0\xe0\xe5\xf2\xe5\xf1\xfc \xe8\xe7\xec\xe5\xed\xff\xf2\xfc \xf4\xe0\xe9\xeb\xfb
\xe2\xf5\xee\xe4\xff\xf9\xe8\xe5 \xe2 %name, \xe8\xeb\xe8 \xf5\xee\xf2\xe8\xf2\xe5 \xef\xee\xf1\xec\xee\xf2\xf0\xe5\xf2\xfc \xed\xe5\xea\xee\xf2\xee\xf0\xfb\xe5 \xef\xf0\xe8\xec\xe5\xf0\xfb.

%prep
%setup -n mmm-mode-%{version}

%build
./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
* Thu Dec 03 2015 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2.1
- NMU: added BR: texinfo

* Sat Oct 24 2009 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2
- applied repocop patch: removed obsolete (un)install_info macros

* Wed Jan 11 2006 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt1
- updated url; now maintained by Emacs Maintainers Team
- new version

* Mon Feb 17 2003 Ott Alex <ott@altlinux.ru> 0.4.7-alt5
- Fixing spec file

* Sat Feb 08 2003 Ott Alex <ott@altlinux.ru> 0.4.7-alt4
- fixing spec

* Wed Oct 09 2002 Ott Alex <ott@altlinux.ru> 0.4.7-alt2
- Fixing patch

* Fri Sep 20 2002 Ott Alex <ott@altlinux.ru> 0.4.7-alt1
- Initial build