Commit 0ed8f5a8 authored by David Byers's avatar David Byers

New spec file. Don't warn for UTF-8 language environment.

Detailed changes:
> 2005-01-23  David Byers  <byers@lysator.liu.se>
>
> 	* utilities.el (lyskom-check-configuration): Don't print a warning
> 	about the coding system when using UTF-8.
>
> 2005-01-22  David Byers  <byers@lysator.liu.se>
>
> 	* lyskom-elisp-client.spec: New file from C C Magnus Gustavsson.
>
parent cde645b0
2005-01-23 David Byers <byers@lysator.liu.se>
* utilities.el (lyskom-check-configuration): Don't print a warning
about the coding system when using UTF-8.
2005-01-22 David Byers <byers@lysator.liu.se>
* lyskom-elisp-client.spec: New file from C C Magnus Gustavsson.
2005-01-19 Pontus Freyhult <pont@soua.net>
* lyskom-rest.el (kom-save-text-body): Use coding system of text
......
Name: lyskom-elisp-client
Summary: LysKOM client for Emacs
Version: #REDHATCLIENTVERSION#
Release: 1
Copyright: GPL
Group: Applications/Internet
Source: http://www.ida.liu.se/~davby/lyskom-#CLIENTVERSION#.tar.gz
Vendor: Lysator
Packager: Kent Engstrm <kent@lysator.liu.se>
Requires: emacs >= 20.1
Name: lyskom-elisp-client
Summary: The LysKOM Emacs Lisp Client.
Version: #CLIENTVERSION#
Release: 1
Requires: emacs >= 20.7
BuildRequires: emacs >= 20.7
BuildArchitectures: noarch
URL: http://www.lysator.liu.se/lyskom/
Source0: lyskom-elisp-client-all-%{version}.tar.bz2
License: GPL
Group: Applications/Internet
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-root
Packager: C C Magnus Gustavsson <URL:http://magnus.gustavsson.se/>
%description
Emacs client for the LysKOM conference system developed at Lysator
Academic Computer Society (http://www.lysator.liu.se/). To be able to
start the LysKOM client conveniently, just add
LysKOM is a project in progress at the Lysator Academic Computing
Society at Linkping University in Sweden. For information about
Lysator, see <URL:http://www.lysator.liu.se/>. For more information
on LysKOM, see <URL:http://www.lysator.liu.se/lyskom/>.
(autoload 'lyskom "lyskom-elisp-client" "Start a LysKOM session." t)
to your ~/.emacs file. You may then start the client by invoking
M-x lyskom.
%prep
%setup -n lyskom-#CLIENTVERSION#
%setup -q -n lyskom-elisp-client-all-%{version}
%build
make
emacs -batch -f batch-byte-compile lyskom-all-%{version}.el
%install
install -o root -g root -m 644 lyskom-#CLIENTVERSION#.el /usr/share/emacs/site-lisp/lyskom.el
install -o root -g root -m 644 lyskom-#CLIENTVERSION#.elc /usr/share/emacs/site-lisp/lyskom.elc
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp \
$RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/site-start.d
install -m 644 lyskom-all-%{version}.elc \
$RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/lyskom.elc
echo "(autoload 'lyskom \"lyskom\" \"Start LysKOM\" t)" > \
$RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/site-start.d/lyskom-init.el
%clean
rm -rf $RPM_BUILD_ROOT
%files
/usr/share/emacs/site-lisp/lyskom.el
/usr/share/emacs/site-lisp/lyskom.elc
%doc README
%doc COPYING
%doc NEWS-0.46
%defattr(-,root,root)
%doc README COPYING NEWS-*
%{_prefix}/share/emacs/site-lisp/lyskom.elc
%{_prefix}/share/emacs/site-lisp/site-start.d/lyskom-init.el
......@@ -58,6 +58,10 @@
;; Check coding system
(when (and enable-multibyte-characters
(not (memq 'utf-8
(lyskom-coding-system-get
(symbol-value (car coding-category-list))
'alias-coding-systems)))
(not (memq lyskom-server-coding-system
(lyskom-coding-system-get
(symbol-value (car coding-category-list))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment