Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1583537
 поиск   регистрация   авторизация 
 
Группа :: Редакторы
Пакет: emacs-jabber

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

# -*- coding: utf-8; mode: rpm-spec -*-

%define pkg_name jabber
%define cvsdate 20060723

Version: 0.8
Release: alt0.%cvsdate.M24.1
Name: emacs-%pkg_name
Copyright: GPL
Group: Editors
Url: http://emacs-jabber.sourceforge.net
Summary: A minimal jabber client for Emacs
Packager: Evgenii Terechkov <evg at altlinux.ru>

Source: %name-%cvsdate.tar.gz
Source1: %pkg_name-emacs.el
Patch1: %name-log.patch

BuildArch: noarch
Requires: emacs-common emacs-gnus

BuildPreReq: emacs-devel >= 0.0.1-alt2

BuildPreReq: emacs-common
BuildPreReq: emacs-gnus >= 5.11

%description
jabber.el is a minimal Jabber client running under Emacs.

Recommends: xprintidle

%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.


%prep
%setup -qn %name
%patch1 -p1

%build
makeinfo jabber.texi

%install
%__mkdir_p %buildroot%_emacslispdir/%pkg_name
%__install -m 644 *.el %buildroot%_emacslispdir/%pkg_name/

%__mkdir_p %buildroot%_emacs_sitestart_dir
%__install -m 644 %SOURCE1 %buildroot%_emacs_sitestart_dir/%pkg_name.el

%__mkdir_p %buildroot%_infodir
%__install -m 644 %pkg_name.info %buildroot%_infodir/

%add_lisp_loadpath %buildroot%_emacslispdir/%pkg_name
%byte_recompile_lispdir

%post
%install_info %pkg_name.info

%preun
%uninstall_info %pkg_name.info


%files
%doc README AUTHORS NEWS
%dir %_emacslispdir/%pkg_name
%_emacslispdir/%pkg_name/*.elc
%_infodir/%pkg_name.info*
%config(noreplace) %_emacs_sitestart_dir/%pkg_name.el

%files el
%_emacslispdir/%pkg_name/*.el


%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005