Group :: Editors
RPM: emacs-wiki
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# -*- coding: utf-8; mode: rpm-spec -*-
# $Id: emacs-wiki.spec,v 1.4 2006/05/27 13:10:23 eugene Exp $
%define base_rel alt3
Version: 2.72
%ifdef cvsdate
Release: %base_rel.%cvsdate.1
%else
Release: %base_rel.1
%endif
Name: emacs-wiki
License: GPL
Group: Editors
Url: http://mwolson.org/projects/EmacsWiki.html
Summary: Wiki package for Emacs
Requires: emacs-common emacs-misc-modes
Packager: Emacs Maintainers Team <emacs at packages.altlinux.org>
%ifdef cvsdate
Source: http://mwolson.org/static/dist/%name-latest.tar.gz
%else
Source: http://www.mwolson.org/static/dist/%name/%name-%version.tar.gz
%endif
Source1: %name.el
BuildArch: noarch
BuildPreReq: emacs-misc-modes >= 0.2-alt3
BuildPreReq: emacs-devel
# Automatically added by buildreq on Wed Nov 16 2005
BuildRequires: emacs-common fontconfig freetype2 libX11-locales
# explicitly added texinfo for info files
BuildRequires: texinfo
%description
Emacs-wiki allows you to create a wiki on your local system and export
HTML pages.
Emacs-wiki has many uses. It has been used to organize links. It can
make web page maintenance and design a lot easier. It is used as the
back-end of Planner. You can store and link together various bits of
information in a coherent manner. A weblog of sorts can be made with
it, but RSS syndication is not supported.
%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
%ifdef cvsdate
%setup -q -n %name
%else
%setup -q -n %name-%version
%endif
%build
%__make PREFIX=%prefix
%install
%__mkdir_p %buildroot%_emacslispdir/%name
%__install -m 644 *.el* %buildroot%_emacslispdir/%name
%__mkdir_p %buildroot%_infodir
%__install -m 644 *.info* %buildroot%_infodir/
%__mkdir_p %buildroot%_emacs_sitestart_dir
%__install -m 644 %SOURCE1 %buildroot%_emacs_sitestart_dir/%name.el
gzip ChangeLog*
%files
%doc ChangeLog.gz ChangeLog.2004.gz README
%_infodir/*
%dir %_emacslispdir/%name
%_emacslispdir/%name/*.elc
%config(noreplace) %_emacs_sitestart_dir/*
%files el
%_emacslispdir/%name/*.el
%changelog
…
Full changelog you can see here
# $Id: emacs-wiki.spec,v 1.4 2006/05/27 13:10:23 eugene Exp $
%define base_rel alt3
Version: 2.72
%ifdef cvsdate
Release: %base_rel.%cvsdate.1
%else
Release: %base_rel.1
%endif
Name: emacs-wiki
License: GPL
Group: Editors
Url: http://mwolson.org/projects/EmacsWiki.html
Summary: Wiki package for Emacs
Requires: emacs-common emacs-misc-modes
Packager: Emacs Maintainers Team <emacs at packages.altlinux.org>
%ifdef cvsdate
Source: http://mwolson.org/static/dist/%name-latest.tar.gz
%else
Source: http://www.mwolson.org/static/dist/%name/%name-%version.tar.gz
%endif
Source1: %name.el
BuildArch: noarch
BuildPreReq: emacs-misc-modes >= 0.2-alt3
BuildPreReq: emacs-devel
# Automatically added by buildreq on Wed Nov 16 2005
BuildRequires: emacs-common fontconfig freetype2 libX11-locales
# explicitly added texinfo for info files
BuildRequires: texinfo
%description
Emacs-wiki allows you to create a wiki on your local system and export
HTML pages.
Emacs-wiki has many uses. It has been used to organize links. It can
make web page maintenance and design a lot easier. It is used as the
back-end of Planner. You can store and link together various bits of
information in a coherent manner. A weblog of sorts can be made with
it, but RSS syndication is not supported.
%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
%ifdef cvsdate
%setup -q -n %name
%else
%setup -q -n %name-%version
%endif
%build
%__make PREFIX=%prefix
%install
%__mkdir_p %buildroot%_emacslispdir/%name
%__install -m 644 *.el* %buildroot%_emacslispdir/%name
%__mkdir_p %buildroot%_infodir
%__install -m 644 *.info* %buildroot%_infodir/
%__mkdir_p %buildroot%_emacs_sitestart_dir
%__install -m 644 %SOURCE1 %buildroot%_emacs_sitestart_dir/%name.el
gzip ChangeLog*
%files
%doc ChangeLog.gz ChangeLog.2004.gz README
%_infodir/*
%dir %_emacslispdir/%name
%_emacslispdir/%name/*.elc
%config(noreplace) %_emacs_sitestart_dir/*
%files el
%_emacslispdir/%name/*.el
%changelog
…
Full changelog you can see here