tagoh / rpms / anthy

Forked from rpms/anthy 9 months ago
Clone
02423a
%define	version		7802
0cb9b3
%define	gcanna_ver	20051002
f2b202
%{expand: %%define build_with_xemacs %{?_with_xemacs:1}%{!?_with_xemacs:0}}
693aa3
693aa3
Name:		anthy
693aa3
Version:	%{version}
80d841
Release:	1.fc6
693aa3
License:	GPL
693aa3
URL:		http://sourceforge.jp/projects/anthy/
80d841
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ff6177
BuildRequires:	emacs
f2b202
%{?_with_xemacs:BuildRequires:	xemacs}
693aa3
693aa3
Source0:	http://prdownloads.sourceforge.jp/anthy/9723/anthy-%{version}.tar.gz
693aa3
Source1:	anthy-init.el
0cb9b3
Source2:	http://www.geocities.jp/ep3797/snapshot/tmp/anthy_gcanna_ut-%{gcanna_ver}.tar.bz2
0c4862
Patch2:		anthy-gcanna-nakaguro.patch
693aa3
693aa3
Summary:	Japanese character set input library
4b8dd6
Group:		System Environment/Libraries
4b8dd6
Obsoletes:	anthy-libs
ad43b6
Provides:	anthy-libs = %{name}-%{version}
693aa3
%description
693aa3
Anthy provides the library to input Japanese on the applications, such as
693aa3
X applications and emacs. and the user dictionaries and the users information
693aa3
which is used for the conversion, is stored into their own home directory.
693aa3
So Anthy is secure than other conversion server.
693aa3
693aa3
%package	devel
693aa3
Summary:	Header files and library for developing programs which uses Anthy
693aa3
Group:		Development/Libraries
4b8dd6
Requires:	anthy = %{version}-%{release}
693aa3
%description	devel
693aa3
The anthy-devel package contains the development files which is needed to build
693aa3
the programs which uses Anthy.
693aa3
693aa3
%package	el
693aa3
Summary:	Emacs Lisp files to use Anthy on Emacs
693aa3
Group:		System Environment/Libraries
693aa3
Requires:	emacs
693aa3
Requires:	anthy = %{version}-%{release}
693aa3
%description	el
693aa3
The anthy-el package contains the emacs lisp to be able to input Japanese
693aa3
character set on Emacs.
693aa3
f2b202
%if %{build_with_xemacs}
f2b202
%package	el-xemacs
f2b202
Summary:	Emacs Lisp files to use Anthy on XEmacs
f2b202
Group:		System Environment/Libraries
f2b202
Requires:	xemacs
f2b202
Requires:	anthy = %{version}-%{release}
f2b202
%description	el-xemacs
f2b202
The anthy-el-xemacs package contains the emacs lisp to be able to input Japanese
f2b202
character set on XEmacs.
f2b202
%endif
693aa3
693aa3
%prep
aeddfe
%setup -q -a 2
0c4862
%patch2 -p1
693aa3
693aa3
%build
693aa3
%configure
0cb9b3
cp anthy_gcanna_ut-%{gcanna_ver}/gcanna.ctd cannadic/
693aa3
make
693aa3
693aa3
%install
693aa3
rm -rf $RPM_BUILD_ROOT
693aa3
693aa3
%makeinstall
693aa3
693aa3
## for anthy-el
693aa3
%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
693aa3
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
693aa3
693aa3
## for anthy-el-xemacs
f2b202
%if %{build_with_xemacs}
f2b202
%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
f2b202
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
f2b202
pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util
f2b202
make clean
f2b202
make EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy"
f2b202
make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy"
f2b202
popd
f2b202
%endif
693aa3
693aa3
%clean
693aa3
rm -rf $RPM_BUILD_ROOT
693aa3
bcdd69
%post -p /sbin/ldconfig
bcdd69
bcdd69
%postun -p /sbin/ldconfig
bcdd69
693aa3
%files
693aa3
%defattr (-, root, root)
693aa3
%doc AUTHORS COPYING ChangeLog DIARY NEWS README doc
693aa3
%{_bindir}/*
693aa3
%{_sysconfdir}/*
693aa3
%{_libdir}/lib*.so.*
4b8dd6
%{_datadir}/anthy/
693aa3
693aa3
%files devel
693aa3
%defattr (-, root, root)
693aa3
%{_includedir}/*
693aa3
%{_libdir}/lib*.so
693aa3
%{_libdir}/lib*.a
693aa3
%{_libdir}/lib*.la
693aa3
%{_libdir}/pkgconfig
693aa3
693aa3
%files el
693aa3
%defattr (-, root, root)
693aa3
%{_datadir}/emacs/site-lisp/anthy/
693aa3
%{_datadir}/emacs/site-lisp/site-start.d/anthy-init.el
693aa3
f2b202
%if %{build_with_xemacs}
f2b202
%files el-xemacs
f2b202
%defattr (-, root, root)
f2b202
%{_datadir}/xemacs/xemacs-packages/lisp/anthy/
f2b202
%{_datadir}/xemacs/site-packages/lisp/site-start.d/anthy-init.el
f2b202
%endif
693aa3
693aa3
%changelog
02423a
* Fri Jun  2 2006 Akira TAGOH <tagoh@redhat.com> - 7802-1
02423a
- New upstream snapshot release.
02423a
87ec40
* Wed May 17 2006 Akira TAGOH <tagoh@redhat.com> - 7716-1
87ec40
- New upstream snapshot release.
87ec40
017b75
* Mon May 15 2006 Akira TAGOH <tagoh@redhat.com> - 7714-1
017b75
- New upstream snapshot release.
017b75
80d841
* Thu May 11 2006 Akira TAGOH <tagoh@redhat.com> - 7710-1
80d841
- New upstream snapshot release.
80d841
80d841
* Mon Apr 24 2006 Akira TAGOH <tagoh@redhat.com> - 7622-1
0d92c5
- New upstream snapshot release.
0d92c5
  - removed unnecessary patches:
0d92c5
    - anthy-2832.patch
0d92c5
    - anthy-2834.patch
0d92c5
80d841
* Fri Mar 17 2006 Akira TAGOH <tagoh@redhat.com> - 7500-1
0c4862
- New upstream release.
0c4862
  - larning words works now. (#178764)
0c4862
- anthy-2832.patch: patch from upstream that fixes wrong order of candidate list.
0c4862
- anthy-2834.patch: patch from upstream that fixes unexpected word segment.
0c4862
- anthy-gcanna-nakaguro.patch: added a word to dictionary to convert nakaguro to slash.
0c4862
5b4dd8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 7100b-2.2.1
5b4dd8
- bump again for double-long bug on ppc(64)
5b4dd8
d925d2
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 7100b-2.2
d925d2
- rebuilt for new gcc4.1 snapshot and glibc changes
d925d2
ea6f1c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ea6f1c
- rebuilt
ea6f1c
bcdd69
* Thu Nov 10 2005 Akira TAGOH <tagoh@redhat.com> - 7100b-2
bcdd69
- run ldconfig in %%post and %%postun. (#172768)
bcdd69
d6c28c
* Sat Nov  5 2005 Akira TAGOH <tagoh@redhat.com> - 7100b-1
d6c28c
- New upstream release.
d6c28c
7c1da4
* Mon Oct 31 2005 Akira TAGOH <tagoh@redhat.com> - 7029-1
7c1da4
- New upstream snapshot release.
7c1da4
64dee0
* Fri Oct 14 2005 Akira TAGOH <tagoh@redhat.com> - 7015-1
64dee0
- New upstream snapshot release.
64dee0
0cb9b3
* Thu Oct 13 2005 Akira TAGOH <tagoh@redhat.com> - 7013-1
0cb9b3
- New upstream snapshot release.
0cb9b3
- removed the patches:
0cb9b3
  - anthy-add-placename-dict.patch: isn't needed anymore.
0cb9b3
  - anthy_base.t.diff: merged into upstream.
0cb9b3
  - zipcode-20050831.tar.bz2: merged into upstream.
0cb9b3
f2b202
* Wed Sep 21 2005 Akira TAGOH <tagoh@redhat.com> - 6829-3
f2b202
- applied some patches from anthy-dev mailing list to improve the dictionaries.
f2b202
  - anthy_base.t.diff
f2b202
  - anthy_gcanna.ctd.diff
f2b202
  - anthy_gcanna.ctd_20050918.diff
f2b202
  - anthy_gcanna.ctd_20050920.diff
f2b202
- parameterize anthy-el-xemacs build.
f2b202
aeddfe
* Thu Sep  1 2005 Akira TAGOH <tagoh@redhat.com> - 6829-2
aeddfe
- Added the place name dictionary.
aeddfe
8b3c80
* Tue Aug 30 2005 Akira TAGOH <tagoh@redhat.com> - 6829-1
8b3c80
- New upstream snapshot release.
8b3c80
35beb8
* Wed Aug 24 2005 Akira TAGOH <tagoh@redhat.com> - 6801-1
35beb8
- updates to the snapshot version.
35beb8
cdd31c
* Tue Aug  9 2005 Akira TAGOH <tagoh@redhat.com>
cdd31c
- added dist tag in Release.
cdd31c
ad43b6
* Mon Aug  1 2005 Akira TAGOH <tagoh@redhat.com> - 6700b-2
ad43b6
- added Provides: anthy-libs = %%{name}-%%{version}
ad43b6
4b8dd6
* Fri Jul 29 2005 Akira TAGOH <tagoh@redhat.com> - 6700b-1
4b8dd6
- New upstream release.
4b8dd6
- Import into Core.
4b8dd6
- includes the libraries into anthy and added Obsoletes: anthy-libs.
4b8dd6
693aa3
* Wed Jun 29 2005 Akira TAGOH <tagoh@redhat.com> - 6700-1
693aa3
- New upstream release.
693aa3
693aa3
* Fri Apr  1 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 6300d-3
693aa3
- include anthy datadir in main package, and anthy site directory
693aa3
  in -el and -el-xemacs packages
693aa3
693aa3
* Sun Mar 27 2005 Akira TAGOH <tagoh@redhat.com> - 6300d-2
693aa3
- real updates (#152203)
693aa3
693aa3
* Sun Mar 20 2005 Akira TAGOH <tagoh@redhat.com> - 6300d-1
693aa3
- New upstream release.
693aa3
693aa3
* Thu Feb 24 2005 Akira TAGOH <tagoh@redhat.com> - 6131-1
693aa3
- New upstream release.
693aa3
693aa3
* Wed Jan 12 2005 Akira TAGOH <tagoh@redhat.com> - 6024-1
693aa3
- New upstream release.
693aa3
693aa3
* Wed Sep 08 2004 Akira TAGOH <tagoh@redhat.com> 5704-1
693aa3
- New upstream release.
693aa3
693aa3
* Mon Jul 05 2004 Akira TAGOH <tagoh@redhat.com> 5500-1
693aa3
- New upstream release.
693aa3
693aa3
* Wed Jun 23 2004 Akira TAGOH <tagoh@redhat.com> 5414-1
693aa3
- New upstream release.
693aa3
693aa3
* Tue Jun 08 2004 Akira TAGOH <tagoh@redhat.com> 5406-1
693aa3
- New upstream release.
693aa3
693aa3
* Fri Jun 04 2004 Warren Togami <wtogami@redhat.com> 5330-3
693aa3
- some spec cleanups
693aa3
693aa3
* Tue Jun 01 2004 Akira TAGOH <tagoh@redhat.com> 5330-2
693aa3
- anthy-init.el: add some elisp to configure anthy.
693aa3
693aa3
* Tue Jun 01 2004 Akira TAGOH <tagoh@redhat.com> 5330-1
693aa3
- Initial package.
693aa3