OBS User unknown 2007-01-15 23:38:41 +00:00 committed by Git OBS Bridge
commit 149a07a3d3
12 changed files with 247 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ISFST99.pdf.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53e495ab630bded9b701419d607282d7cfff953228ca05487bdc738003c266a5
size 56923

3
LC99.pdf.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9b03e330f26f9bff87c16fa059834b7818c19e6d70039eadeb1e0a1acfa4a52
size 208559

3
boiling-egg.el.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fdedbe92517e59d31961bbdfe03f39da67c90833bef0d50860e81772229a867
size 1096

3
egg-canna.el.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f7c2e5b0db8c8b861e3b04ee9511cc161693449a59024dd7c6a093e5feebefa
size 3375

19
eggrc.patch Normal file
View File

@ -0,0 +1,19 @@
--- tamago/eggrc Sat Jan 27 19:53:13 2001
+++ tamago/eggrc.new Wed Oct 17 22:31:57 2001
@@ -193,6 +193,16 @@
(canna-add-dict "fuzokugo" nil)
(canna-add-dict "hojomwd" nil)
(canna-add-dict "hojoswd" nil)
+ (canna-add-dict "keishiki" nil)
+ (canna-add-dict "chimei" nil)
+ (canna-add-dict "kanasample" nil)
+ (canna-add-dict "katakana" nil)
+ (canna-add-dict "number" nil)
+ (canna-add-dict "software" nil)
+ (canna-add-dict "suffix" nil)
+ (canna-add-dict "gcanna" nil)
+ (canna-add-dict "gcannaf" nil)
+ (canna-add-dict "yubin7" nil)
(canna-add-dict "user" t)
(canna-define-environment "Bushu" 0 t)

0
ready Normal file
View File

8
suse-start.el Normal file
View File

@ -0,0 +1,8 @@
(load "/usr/share/emacs/site-lisp/egg/leim-list")
;; egg-canna.el makes the CANNA commands of emcws available with tamago.
;; egg-canna.el is already part of the tamago package in SuSE GNU/Linux.
;; to use it you need the following hook:
(add-hook 'canna-load-hook '(lambda () (load "egg-canna.el")))

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38585373b083ff5d813892f31eb5198259c7287d28e6fdd96e1b9d9fea5d5b62
size 180985

42
tamago.changes Normal file
View File

@ -0,0 +1,42 @@
-------------------------------------------------------------------
Wed Jan 25 21:48:15 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Feb 6 14:15:56 CET 2004 - hmacht@suse.de
- building as non-root
-------------------------------------------------------------------
Wed May 21 01:05:39 CEST 2003 - ro@suse.de
- remove CVS subdirs
-------------------------------------------------------------------
Wed Nov 13 16:09:44 CET 2002 - ro@suse.de
- use x-devel-packages
-------------------------------------------------------------------
Fri Feb 1 01:28:57 CET 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
-------------------------------------------------------------------
Thu Nov 15 18:33:53 CET 2001 - mfabian@suse.de
- small fix to suse-start-tamago.el to make it work with Emacs 21
again
-------------------------------------------------------------------
Fri Nov 9 11:34:20 CET 2001 - mfabian@suse.de
- add libjpeg libpng libtiff libungif to '# neededforbuild'
-------------------------------------------------------------------
Fri Oct 19 01:52:21 CEST 2001 - mfabian@suse.de
- new package: tamago-4.0.6_20011017cvs

139
tamago.spec Normal file
View File

@ -0,0 +1,139 @@
#
# spec file for package tamago (Version 4.0.6_20011017cvs)
#
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
# usedforbuild aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt ps pwdutils rcs readline sed sendmail strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel XFree86-devel XFree86-libs autoconf automake binutils emacs emacs-x11 expat fontconfig fontconfig-devel gcc gdbm gettext libjpeg libpng libpng-devel libtiff libtool libungif perl rpm xaw3d
Name: tamago
BuildRequires: emacs-x11 giflib-devel libpng-devel libtiff-devel xorg-x11-devel
License: GPL
Group: System/I18n/Japanese
Requires: emacs
Autoreqprov: on
Version: 4.0.6_20011017cvs
Release: 534
URL: http://www.m17n.org/tamago
# Other useful, tamago related URLs:
# http://emacs-20.ki.nu/tamago/
# http://cgi18.plala.or.jp/~nyy/canna/
# http://www.gcd.org/sengoku/boiling-egg/
# ftp://ftp.ki.nu/pub/emcws/README.html (obsoleted by tamago)
# Source: ftp://ftp.m17n.org/pub/tamago/tamago-4.0.6.tar.gz
# I think it is better to use the CVS version, it already contains Canna support
# without the need of patches:
# get the tamago CVS source with:
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/tamago co tamago
# and create the following tarball:
Source0: tamago-%{version}.tar.bz2
Source1: http://cgi18.plala.or.jp/nyy/canna/egg-canna.el.bz2
Source2: http://www.gcd.org/sengoku/boiling-egg/boiling-egg.el.bz2
Source3: http://www.m17n.org/tamago/pdf/ISFST99.pdf.bz2
Source4: http://www.m17n.org/tamago/pdf/LC99.pdf.bz2
Source5: suse-start.el
Patch0: eggrc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Summary: Multilingual input method for Emacs
# Summary(ja): Emacs のための多言語入力方法
# %description -l ja
# すべてのソースが Emacs Lisp で実現されており、Tamago は、GNU Emacs
# 20.5 以降で多言語入力環境を提供します。バックエンドサーバとしては、
# FreeWnn (jserver, cserver, tserver), Wnn6, SJ3 Ver.2, Canna に対応しています。
#
# 著者:
# ------
# NIIBE Yutaka <gniibe@chroot.org>
# KATAYAMA Yoshio <kate@pfu.co.jp>
# TOMURA Satoru <tomura@etl.go.jp>
%description
Tamago offers a multilingual input enviroment for GNU Emacs (>= 20.5).
It is completely written in Emacs Lisp and can use the backends FreeWnn
(jserver, cserver, tserver), Wnn6, SJ3 Ver.2, and Canna.
Authors:
--------
NIIBE Yutaka <gniibe@chroot.org>
KATAYAMA Yoshio <kate@pfu.co.jp>
TOMURA Satoru <tomura@etl.go.jp>
%prep
%setup -n tamago
%patch0 -p 1
cp -p $RPM_SOURCE_DIR/suse-start.el .
cp -p $RPM_SOURCE_DIR/egg-canna.el.bz2 .
cp -p $RPM_SOURCE_DIR/boiling-egg.el.bz2 .
cp -p $RPM_SOURCE_DIR/*.pdf.bz2 .
bunzip2 *.bz2
find -type d -name "CVS" | xargs rm -rfv
%build
%define emacs_sitelisp_dir %{_datadir}/emacs/site-lisp
%define emacs_package_dir %{emacs_sitelisp_dir}/egg
./configure --prefix=/usr
make
for i in egg-canna boiling-egg
do
emacs -batch -q -no-site-file -no-init-file -f batch-byte-compile $i.el
done
%install
if [ -n "%{?buildroot}" ] ; then
[ %{buildroot} != "/" ] && rm -rf %{buildroot}
fi
mkdir -p $RPM_BUILD_ROOT%{emacs_sitelisp_dir}
make install prefix=$RPM_BUILD_ROOT/usr
for i in egg-canna boiling-egg
do
install -m644 $i.{el,elc} $RPM_BUILD_ROOT%{emacs_sitelisp_dir}
done
{
echo ";; %{emacs_sitelisp_dir}/suse-start-%{name}.el"
echo ""
echo "(add-to-list 'load-path \"%{emacs_package_dir}\")"
echo ""
cat suse-start.el
echo ""
echo ";; %{emacs_sitelisp_dir}/suse-start-%{name}.el ends here"
} > %{buildroot}%{emacs_sitelisp_dir}/suse-start-%{name}.el
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog* PROBLEMS README* TODO *.pdf doc/*
%{emacs_package_dir}
%config %{emacs_sitelisp_dir}/suse-start-%{name}.el
%{emacs_sitelisp_dir}/egg-canna.el
%{emacs_sitelisp_dir}/egg-canna.elc
%{emacs_sitelisp_dir}/boiling-egg.el
%{emacs_sitelisp_dir}/boiling-egg.elc
%changelog -n tamago
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Feb 06 2004 - hmacht@suse.de
- building as non-root
* Wed May 21 2003 - ro@suse.de
- remove CVS subdirs
* Wed Nov 13 2002 - ro@suse.de
- use x-devel-packages
* Fri Feb 01 2002 - ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Thu Nov 15 2001 - mfabian@suse.de
- small fix to suse-start-tamago.el to make it work with Emacs 21
again
* Fri Nov 09 2001 - mfabian@suse.de
- add libjpeg libpng libtiff libungif to '# neededforbuild'
* Fri Oct 19 2001 - mfabian@suse.de
- new package: tamago-4.0.6_20011017cvs