From 693aa3b56a1e5f430318a3c4e35916579beafa1c Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Jul 29 2005 05:35:08 +0000 Subject: auto-import anthy-6700-1 on branch devel from anthy-6700-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..320652b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +anthy-6700.tar.gz diff --git a/anthy-init.el b/anthy-init.el new file mode 100644 index 0000000..3354cc2 --- /dev/null +++ b/anthy-init.el @@ -0,0 +1,10 @@ +;; anthy-init.el +;; +(if (featurep 'xemacs) + (setq load-path (cons "/usr/share/xemacs/xemacs-packages/lisp/anthy" load-path)) + (setq load-path (cons "/usr/share/emacs/site-lisp/anthy" load-path))) +(autoload 'anthy-leim-activate "anthy" nil t) +(register-input-method "japanese-anthy" "Japanese" + 'anthy-leim-activate "[anthy]" + "Anthy Kana Kanji conversion system") + diff --git a/anthy.spec b/anthy.spec new file mode 100644 index 0000000..4744086 --- /dev/null +++ b/anthy.spec @@ -0,0 +1,152 @@ +%define version 6700 + +Name: anthy +Version: %{version} +Release: 1 +License: GPL +Group: System Environment/Libraries +URL: http://sourceforge.jp/projects/anthy/ +Buildroot: %{_tmppath}/%{name}-%{version}-buildroot +BuildRequires: emacs xemacs + +Source0: http://prdownloads.sourceforge.jp/anthy/9723/anthy-%{version}.tar.gz +Source1: anthy-init.el + +Summary: Japanese character set input library +%description +Anthy provides the library to input Japanese on the applications, such as +X applications and emacs. and the user dictionaries and the users information +which is used for the conversion, is stored into their own home directory. +So Anthy is secure than other conversion server. + +%package libs +Summary: Runtime library for Anthy +Group: System Environment/Libraries +%description libs +The anthy-libs package contains the runtime library to get working the programs +which uses Anthy, Japanese character set input library. + +%package devel +Summary: Header files and library for developing programs which uses Anthy +Group: Development/Libraries +Requires: anthy-libs = %{version}-%{release} +%description devel +The anthy-devel package contains the development files which is needed to build +the programs which uses Anthy. + +%package el +Summary: Emacs Lisp files to use Anthy on Emacs +Group: System Environment/Libraries +Requires: emacs +Requires: anthy = %{version}-%{release} +%description el +The anthy-el package contains the emacs lisp to be able to input Japanese +character set on Emacs. + +%package el-xemacs +Summary: Emacs Lisp files to use Anthy on XEmacs +Group: System Environment/Libraries +Requires: xemacs +Requires: anthy = %{version}-%{release} +%description el-xemacs +The anthy-el-xemacs package contains the emacs lisp to be able to input Japanese +character set on XEmacs. + +%prep +%setup -q + +%build +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT + +%makeinstall + +## for anthy-el +%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d +install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d + +## for anthy-el-xemacs +%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d +install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d +pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util +make clean +make EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy" +make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy" +popd + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr (-, root, root) +%doc AUTHORS COPYING ChangeLog DIARY NEWS README doc +%{_bindir}/* +%{_sysconfdir}/* +%{_datadir}/anthy/ + +%files libs +%defattr (-, root, root) +%{_libdir}/lib*.so.* + +%files devel +%defattr (-, root, root) +%{_includedir}/* +%{_libdir}/lib*.so +%{_libdir}/lib*.a +%{_libdir}/lib*.la +%{_libdir}/pkgconfig + +%files el +%defattr (-, root, root) +%{_datadir}/emacs/site-lisp/anthy/ +%{_datadir}/emacs/site-lisp/site-start.d/anthy-init.el + +%files el-xemacs +%defattr (-, root, root) +%{_datadir}/xemacs/xemacs-packages/lisp/anthy/ +%{_datadir}/xemacs/site-packages/lisp/site-start.d/anthy-init.el + +%changelog +* Wed Jun 29 2005 Akira TAGOH - 6700-1 +- New upstream release. + +* Fri Apr 1 2005 Michael Schwendt - 6300d-3 +- include anthy datadir in main package, and anthy site directory + in -el and -el-xemacs packages + +* Sun Mar 27 2005 Akira TAGOH - 6300d-2 +- real updates (#152203) + +* Sun Mar 20 2005 Akira TAGOH - 6300d-1 +- New upstream release. + +* Thu Feb 24 2005 Akira TAGOH - 6131-1 +- New upstream release. + +* Wed Jan 12 2005 Akira TAGOH - 6024-1 +- New upstream release. + +* Wed Sep 08 2004 Akira TAGOH 5704-1 +- New upstream release. + +* Mon Jul 05 2004 Akira TAGOH 5500-1 +- New upstream release. + +* Wed Jun 23 2004 Akira TAGOH 5414-1 +- New upstream release. + +* Tue Jun 08 2004 Akira TAGOH 5406-1 +- New upstream release. + +* Fri Jun 04 2004 Warren Togami 5330-3 +- some spec cleanups + +* Tue Jun 01 2004 Akira TAGOH 5330-2 +- anthy-init.el: add some elisp to configure anthy. + +* Tue Jun 01 2004 Akira TAGOH 5330-1 +- Initial package. + diff --git a/sources b/sources index e69de29..1538119 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +14c604f26d7626838058b257c835e293 anthy-6700.tar.gz