tagoh / rpms / anthy

Forked from rpms/anthy 4 years ago
Clone
4b8dd63
%define	version	6700b
693aa3b
693aa3b
Name:		anthy
693aa3b
Version:	%{version}
cdd31cd
Release:	2.fc5
693aa3b
License:	GPL
693aa3b
URL:		http://sourceforge.jp/projects/anthy/
693aa3b
Buildroot:	%{_tmppath}/%{name}-%{version}-buildroot
ff61777
BuildRequires:	emacs
ff61777
#BuildRequires:	xemacs
693aa3b
693aa3b
Source0:	http://prdownloads.sourceforge.jp/anthy/9723/anthy-%{version}.tar.gz
693aa3b
Source1:	anthy-init.el
693aa3b
693aa3b
Summary:	Japanese character set input library
4b8dd63
Group:		System Environment/Libraries
4b8dd63
Obsoletes:	anthy-libs
ad43b6c
Provides:	anthy-libs = %{name}-%{version}
693aa3b
%description
693aa3b
Anthy provides the library to input Japanese on the applications, such as
693aa3b
X applications and emacs. and the user dictionaries and the users information
693aa3b
which is used for the conversion, is stored into their own home directory.
693aa3b
So Anthy is secure than other conversion server.
693aa3b
693aa3b
%package	devel
693aa3b
Summary:	Header files and library for developing programs which uses Anthy
693aa3b
Group:		Development/Libraries
4b8dd63
Requires:	anthy = %{version}-%{release}
693aa3b
%description	devel
693aa3b
The anthy-devel package contains the development files which is needed to build
693aa3b
the programs which uses Anthy.
693aa3b
693aa3b
%package	el
693aa3b
Summary:	Emacs Lisp files to use Anthy on Emacs
693aa3b
Group:		System Environment/Libraries
693aa3b
Requires:	emacs
693aa3b
Requires:	anthy = %{version}-%{release}
693aa3b
%description	el
693aa3b
The anthy-el package contains the emacs lisp to be able to input Japanese
693aa3b
character set on Emacs.
693aa3b
4b8dd63
#%%package	el-xemacs
4b8dd63
#Summary:	Emacs Lisp files to use Anthy on XEmacs
4b8dd63
#Group:		System Environment/Libraries
4b8dd63
#Requires:	xemacs
4b8dd63
#Requires:	anthy = %{version}-%{release}
4b8dd63
#%description	el-xemacs
4b8dd63
#The anthy-el-xemacs package contains the emacs lisp to be able to input Japanese
4b8dd63
#character set on XEmacs.
693aa3b
693aa3b
%prep
693aa3b
%setup -q
693aa3b
693aa3b
%build
693aa3b
%configure
693aa3b
make
693aa3b
693aa3b
%install
693aa3b
rm -rf $RPM_BUILD_ROOT
693aa3b
693aa3b
%makeinstall
693aa3b
693aa3b
## for anthy-el
693aa3b
%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
693aa3b
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
693aa3b
693aa3b
## for anthy-el-xemacs
4b8dd63
#%%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
4b8dd63
#install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
4b8dd63
#pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util
4b8dd63
#make clean
4b8dd63
#make EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy"
4b8dd63
#make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy"
4b8dd63
#popd
693aa3b
693aa3b
%clean
693aa3b
rm -rf $RPM_BUILD_ROOT
693aa3b
693aa3b
%files
693aa3b
%defattr (-, root, root)
693aa3b
%doc AUTHORS COPYING ChangeLog DIARY NEWS README doc
693aa3b
%{_bindir}/*
693aa3b
%{_sysconfdir}/*
693aa3b
%{_libdir}/lib*.so.*
4b8dd63
%{_datadir}/anthy/
693aa3b
693aa3b
%files devel
693aa3b
%defattr (-, root, root)
693aa3b
%{_includedir}/*
693aa3b
%{_libdir}/lib*.so
693aa3b
%{_libdir}/lib*.a
693aa3b
%{_libdir}/lib*.la
693aa3b
%{_libdir}/pkgconfig
693aa3b
693aa3b
%files el
693aa3b
%defattr (-, root, root)
693aa3b
%{_datadir}/emacs/site-lisp/anthy/
693aa3b
%{_datadir}/emacs/site-lisp/site-start.d/anthy-init.el
693aa3b
4b8dd63
#%%files el-xemacs
4b8dd63
#%%defattr (-, root, root)
4b8dd63
#%%{_datadir}/xemacs/xemacs-packages/lisp/anthy/
4b8dd63
#%%{_datadir}/xemacs/site-packages/lisp/site-start.d/anthy-init.el
693aa3b
693aa3b
%changelog
cdd31cd
* Tue Aug  9 2005 Akira TAGOH <tagoh@redhat.com>
cdd31cd
- added dist tag in Release.
cdd31cd
ad43b6c
* Mon Aug  1 2005 Akira TAGOH <tagoh@redhat.com> - 6700b-2
ad43b6c
- added Provides: anthy-libs = %%{name}-%%{version}
ad43b6c
4b8dd63
* Fri Jul 29 2005 Akira TAGOH <tagoh@redhat.com> - 6700b-1
4b8dd63
- New upstream release.
4b8dd63
- Import into Core.
4b8dd63
- includes the libraries into anthy and added Obsoletes: anthy-libs.
4b8dd63
693aa3b
* Wed Jun 29 2005 Akira TAGOH <tagoh@redhat.com> - 6700-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Fri Apr  1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 6300d-3
693aa3b
- include anthy datadir in main package, and anthy site directory
693aa3b
  in -el and -el-xemacs packages
693aa3b
693aa3b
* Sun Mar 27 2005 Akira TAGOH <tagoh@redhat.com> - 6300d-2
693aa3b
- real updates (#152203)
693aa3b
693aa3b
* Sun Mar 20 2005 Akira TAGOH <tagoh@redhat.com> - 6300d-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Thu Feb 24 2005 Akira TAGOH <tagoh@redhat.com> - 6131-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Wed Jan 12 2005 Akira TAGOH <tagoh@redhat.com> - 6024-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Wed Sep 08 2004 Akira TAGOH <tagoh@redhat.com> 5704-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Mon Jul 05 2004 Akira TAGOH <tagoh@redhat.com> 5500-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Wed Jun 23 2004 Akira TAGOH <tagoh@redhat.com> 5414-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Tue Jun 08 2004 Akira TAGOH <tagoh@redhat.com> 5406-1
693aa3b
- New upstream release.
693aa3b
693aa3b
* Fri Jun 04 2004 Warren Togami <wtogami@redhat.com> 5330-3
693aa3b
- some spec cleanups
693aa3b
693aa3b
* Tue Jun 01 2004 Akira TAGOH <tagoh@redhat.com> 5330-2
693aa3b
- anthy-init.el: add some elisp to configure anthy.
693aa3b
693aa3b
* Tue Jun 01 2004 Akira TAGOH <tagoh@redhat.com> 5330-1
693aa3b
- Initial package.
693aa3b