commit 149a07a3d346a71ee557dfd8b6ea20ebdebbb876b534ce87de3e0ce13b232a39 Author: OBS User unknown Date: Mon Jan 15 23:38:41 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tamago?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ISFST99.pdf.bz2 b/ISFST99.pdf.bz2 new file mode 100644 index 0000000..e3dc4b7 --- /dev/null +++ b/ISFST99.pdf.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53e495ab630bded9b701419d607282d7cfff953228ca05487bdc738003c266a5 +size 56923 diff --git a/LC99.pdf.bz2 b/LC99.pdf.bz2 new file mode 100644 index 0000000..4a82d4d --- /dev/null +++ b/LC99.pdf.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9b03e330f26f9bff87c16fa059834b7818c19e6d70039eadeb1e0a1acfa4a52 +size 208559 diff --git a/boiling-egg.el.bz2 b/boiling-egg.el.bz2 new file mode 100644 index 0000000..52be4ef --- /dev/null +++ b/boiling-egg.el.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fdedbe92517e59d31961bbdfe03f39da67c90833bef0d50860e81772229a867 +size 1096 diff --git a/egg-canna.el.bz2 b/egg-canna.el.bz2 new file mode 100644 index 0000000..e07a104 --- /dev/null +++ b/egg-canna.el.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f7c2e5b0db8c8b861e3b04ee9511cc161693449a59024dd7c6a093e5feebefa +size 3375 diff --git a/eggrc.patch b/eggrc.patch new file mode 100644 index 0000000..3000f0d --- /dev/null +++ b/eggrc.patch @@ -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) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/suse-start.el b/suse-start.el new file mode 100644 index 0000000..f769c69 --- /dev/null +++ b/suse-start.el @@ -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"))) + diff --git a/tamago-4.0.6_20011017cvs.tar.bz2 b/tamago-4.0.6_20011017cvs.tar.bz2 new file mode 100644 index 0000000..df3ef36 --- /dev/null +++ b/tamago-4.0.6_20011017cvs.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38585373b083ff5d813892f31eb5198259c7287d28e6fdd96e1b9d9fea5d5b62 +size 180985 diff --git a/tamago.changes b/tamago.changes new file mode 100644 index 0000000..80ddfd1 --- /dev/null +++ b/tamago.changes @@ -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 to + +------------------------------------------------------------------- +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 + + diff --git a/tamago.spec b/tamago.spec new file mode 100644 index 0000000..e9145c9 --- /dev/null +++ b/tamago.spec @@ -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 +# KATAYAMA Yoshio +# TOMURA Satoru + +%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 + KATAYAMA Yoshio + TOMURA Satoru + +%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 to +* 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