Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37849300
en ru br
ALT Linux repos
5.0: 1.4.259-alt0.1.20080303
4.1: 1.4.259-alt0.1.20080303
4.0: 1.4.4-alt2
3.0: 1.4-alt1

Group :: Editors
RPM: emacs-w3m

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# -*- coding: utf-8; mode: rpm-spec -*-
# $Id: emacs-w3m.spec,v 1.6 2005/11/12 21:39:21 eugene Exp $

%define pkg_name w3m

Version: 1.4.259
Release: alt0.1.20080303
Name: emacs-%pkg_name
License: GPL
Group: Editors
Summary: Emacs-%pkg_name is a simple Emacs interface to w3m
Url: http://emacs-w3m.namazu.org/
BuildArch: noarch

Packager: Emacs Maintainers Team <emacs at packages.altlinux.org>

Source: %name-%version.tar.gz
Source1: %name-start-script.el

# Automatically added by buildreq on Tue Oct 14 2003

BuildRequires: emacs-common emacs-devel

Requires: emacs-common emacsen-startscripts w3m

%description
Emacs-%pkg_name is a simple Emacs interface to %pkg_name.

%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 -q -n %name-%version

%build
autoconf
%configure --with-icondir=%_emacs_etc_dir/%pkg_name/icons \
  --with-lispdir=%_emacslispdir/%pkg_name
make clean
make

%install
%__mkdir_p %buildroot/%_emacslispdir/%pkg_name
%__mkdir_p %buildroot/%_emacs_etc_dir/%pkg_name/icons
%__install -m 644 icons/*.xpm %buildroot/%_emacs_etc_dir/%pkg_name/icons/
%__install -m 644 *.el* %buildroot/%_emacslispdir/%pkg_name/
%__mkdir_p %buildroot/%_infodir/
%__install -m 644 doc/emacs-%pkg_name.info* %buildroot/%_infodir/
%__mkdir_p %buildroot/%_emacs_sitestart_dir
%__install -m 644 %SOURCE1 %buildroot/%_emacs_sitestart_dir/%pkg_name.el

%post
%install_info emacs-%pkg_name.info

%preun
%uninstall_info emacs-%pkg_name.info


%files
%doc README ChangeLog*
%dir %_emacslispdir/%pkg_name/
%_emacslispdir/%pkg_name/*.elc
%_emacs_etc_dir/%pkg_name/
%config(noreplace) %_emacs_sitestart_dir/%pkg_name.el
%_infodir/emacs-%pkg_name.info*

%files el
%_emacslispdir/%pkg_name/*.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