tagoh / rpms / anthy

Forked from rpms/anthy 4 years ago
Clone
693aa3b
Name:		anthy
e077eeb
Version:	9100e
86c5b76
Release:	2%{?dist}
d2fa715
# The entire source code is LGPLv2+ and dictionaries is GPLv2.
d2fa715
License:	LGPLv2+ and GPLv2
693aa3b
URL:		http://sourceforge.jp/projects/anthy/
80d841f
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6dcf346
BuildRequires:	automake autoconf
ff61777
BuildRequires:	emacs
5378fe0
BuildRequires:	xemacs
693aa3b
e077eeb
Source0:	http://prdownloads.sourceforge.jp/anthy/29142/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
c21eea9
Provides:	anthy-libs = %{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
f2b2021
%package	el-xemacs
f2b2021
Summary:	Emacs Lisp files to use Anthy on XEmacs
f2b2021
Group:		System Environment/Libraries
f2b2021
Requires:	xemacs
f2b2021
Requires:	anthy = %{version}-%{release}
f2b2021
%description	el-xemacs
f2b2021
The anthy-el-xemacs package contains the emacs lisp to be able to input Japanese
f2b2021
character set on XEmacs.
693aa3b
693aa3b
%prep
9ba5c40
%setup -q #-a 2
9ba5c40
#cp alt-cannadic-%{altcannadicver}/* alt-cannadic/
693aa3b
693aa3b
%build
e0c6413
%configure --disable-static
19a610d
make %{?_smp_mflags}
693aa3b
693aa3b
%install
693aa3b
rm -rf $RPM_BUILD_ROOT
693aa3b
19a610d
make install DESTDIR=$RPM_BUILD_ROOT
693aa3b
e0c6413
# remove unnecessary files
e0c6413
rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la
e0c6413
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
f2b2021
%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
f2b2021
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp/site-start.d
f2b2021
pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util
f2b2021
make clean
f2b2021
make EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy"
f2b2021
make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="\${datadir}/xemacs/xemacs-packages/lisp/anthy"
f2b2021
popd
693aa3b
693aa3b
%clean
693aa3b
rm -rf $RPM_BUILD_ROOT
693aa3b
bcdd690
%post -p /sbin/ldconfig
bcdd690
bcdd690
%postun -p /sbin/ldconfig
bcdd690
693aa3b
%files
693aa3b
%defattr (-, root, root)
f3983af
%doc AUTHORS COPYING ChangeLog DIARY NEWS README
693aa3b
%{_bindir}/*
693aa3b
%{_sysconfdir}/*
693aa3b
%{_libdir}/lib*.so.*
4b8dd63
%{_datadir}/anthy/
693aa3b
693aa3b
%files devel
693aa3b
%defattr (-, root, root)
f3983af
%doc doc/DICLIB doc/DICUTIL doc/GLOSSARY doc/GRAMMAR doc/GUIDE.english doc/ILIB doc/LEARNING doc/LIB doc/MISC doc/POS doc/SPLITTER doc/TESTING doc/protocol.txt
693aa3b
%{_includedir}/*
693aa3b
%{_libdir}/lib*.so
693aa3b
%{_libdir}/pkgconfig
693aa3b
693aa3b
%files el
693aa3b
%defattr (-, root, root)
f3983af
%doc doc/ELISP
693aa3b
%{_datadir}/emacs/site-lisp/anthy/
693aa3b
%{_datadir}/emacs/site-lisp/site-start.d/anthy-init.el
693aa3b
f2b2021
%files el-xemacs
f2b2021
%defattr (-, root, root)
f3983af
%doc doc/ELISP
f2b2021
%{_datadir}/xemacs/xemacs-packages/lisp/anthy/
f2b2021
%{_datadir}/xemacs/site-packages/lisp/site-start.d/anthy-init.el
693aa3b
693aa3b
%changelog
86c5b76
* Tue Feb 12 2008 Akira TAGOH <tagoh@redhat.com> - 9100e-2
86c5b76
- Rebuild for gcc-4.3.
86c5b76
e077eeb
* Tue Jan 29 2008 Akira TAGOH <tagoh@redhat.com> - 9100e-1
e077eeb
- New upstream release.
e077eeb
9ba5c40
* Mon Oct 29 2007 Akira TAGOH <tagoh@redhat.com> - 9100d-1
9ba5c40
- New upstream release.
9ba5c40
- anthy-enable-dict-gtankan.patch: removed. no need to be applied anymore.
9ba5c40
6d042bf
* Tue Sep 18 2007 Akira TAGOH <tagoh@redhat.com> - 9100b-1
6d042bf
- New upstream release.
6d042bf
dfa1f16
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 9100-3
dfa1f16
- Rebuild
dfa1f16
d2fa715
* Wed Aug  8 2007 Akira TAGOH <tagoh@redhat.com> - 9100-2
d2fa715
- Update alt-cannadic to 070805.
d2fa715
- Use gtankan.ctd instead of tankanji.t.
d2fa715
- Update License tag.
d2fa715
de86ff6
* Tue Jul  3 2007 Akira TAGOH <tagoh@redhat.com> - 9100-1
de86ff6
- New upstream release.
de86ff6
de86ff6
* Wed Jun 13 2007 Akira TAGOH <tagoh@redhat.com> - 9011-1
de86ff6
- New upstream release
de86ff6
5378fe0
* Fri Jun  8 2007 Akira TAGOH <tagoh@redhat.com> - 9006-1
5378fe0
- New upstream release.
5378fe0
- Get back the anthy-el-xemacs package. (#243078)
5378fe0
c21eea9
* Fri Apr 27 2007 Akira TAGOH <tagoh@redhat.com> - 8706-2
c21eea9
- Fix wrong Provides line. (#237987)
c21eea9
6cca3eb
* Fri Mar  9 2007 Akira TAGOH <tagoh@redhat.com> - 8706-1
6cca3eb
- New upstream release.
6cca3eb
65e7055
* Mon Feb 26 2007 Akira TAGOH <tagoh@redhat.com> - 8622-1
65e7055
- New upstream release.
65e7055
916c374
* Mon Feb 19 2007 Akira TAGOH <tagoh@redhat.com> - 8616-1
916c374
- New upstream release.
916c374
f3983af
* Tue Feb 13 2007 Akira TAGOH <tagoh@redhat.com> - 8607-1
f3983af
- New upstream release.
f3983af
- correct doc installation. (#228311)
f3983af
e0c6413
* Tue Feb  6 2007 Akira TAGOH <tagoh@redhat.com> - 8604-1
e0c6413
- New upstream release.
e0c6413
- no longer needed to regenerate autotools files. (#224146)
e0c6413
- use original gcanna dict.
e0c6413
- build with --disable-static.
e0c6413
3c1a403
* Fri Aug 11 2006 Akira TAGOH <tagoh@redhat.com> - 7900-2
3c1a403
- anthy-7900-fix-undef-non-weak-symbol.patch: removed the unnecessary library
3c1a403
  chain.
3c1a403
3c1a403
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 7900-1.1
c3cc620
- rebuild
c3cc620
6dcf346
* Tue Jul 11 2006 Akira TAGOH <tagoh@redhat.com> - 7900-1
6dcf346
- New upstream release.
6dcf346
- anthy-7900-fix-undef-non-weak-symbol.patch: fixed the undefined non-weak
6dcf346
  symbols issue. (#198180)
6dcf346
- use dist tag.
6dcf346
ab78d48
* Mon Jun 26 2006 Akira TAGOH <tagoh@redhat.com> - 7824-1
ab78d48
- New upstream snapshot release.
ab78d48
f9a2057
* Tue Jun 20 2006 Akira TAGOH <tagoh@redhat.com> - 7818-1
f9a2057
- New upstream snapshot release.
f9a2057
19a610d
* Mon Jun 12 2006 Akira TAGOH <tagoh@redhat.com> - 7811-1
19a610d
- New upstream snapshot release.
19a610d
- use make install DESTDIR=... instead of %%makeinstall.
19a610d
5efd562
* Mon Jun  5 2006 Akira TAGOH <tagoh@redhat.com> - 7802-2
5efd562
- exclude ppc64 to make anthy-el package. right now emacs.ppc64 isn't provided
5efd562
  and buildsys became much stricter.
5efd562
02423a4
* Fri Jun  2 2006 Akira TAGOH <tagoh@redhat.com> - 7802-1
02423a4
- New upstream snapshot release.
02423a4
87ec408
* Wed May 17 2006 Akira TAGOH <tagoh@redhat.com> - 7716-1
87ec408
- New upstream snapshot release.
87ec408
017b75b
* Mon May 15 2006 Akira TAGOH <tagoh@redhat.com> - 7714-1
017b75b
- New upstream snapshot release.
017b75b
80d841f
* Thu May 11 2006 Akira TAGOH <tagoh@redhat.com> - 7710-1
80d841f
- New upstream snapshot release.
80d841f
80d841f
* Mon Apr 24 2006 Akira TAGOH <tagoh@redhat.com> - 7622-1
0d92c50
- New upstream snapshot release.
0d92c50
  - removed unnecessary patches:
0d92c50
    - anthy-2832.patch
0d92c50
    - anthy-2834.patch
0d92c50
80d841f
* Fri Mar 17 2006 Akira TAGOH <tagoh@redhat.com> - 7500-1
0c48627
- New upstream release.
0c48627
  - larning words works now. (#178764)
0c48627
- anthy-2832.patch: patch from upstream that fixes wrong order of candidate list.
0c48627
- anthy-2834.patch: patch from upstream that fixes unexpected word segment.
0c48627
- anthy-gcanna-nakaguro.patch: added a word to dictionary to convert nakaguro to slash.
0c48627
5b4dd8e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 7100b-2.2.1
5b4dd8e
- bump again for double-long bug on ppc(64)
5b4dd8e
d925d2e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 7100b-2.2
d925d2e
- rebuilt for new gcc4.1 snapshot and glibc changes
d925d2e
ea6f1ca
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
ea6f1ca
- rebuilt
ea6f1ca
bcdd690
* Thu Nov 10 2005 Akira TAGOH <tagoh@redhat.com> - 7100b-2
bcdd690
- run ldconfig in %%post and %%postun. (#172768)
bcdd690
d6c28ca
* Sat Nov  5 2005 Akira TAGOH <tagoh@redhat.com> - 7100b-1
d6c28ca
- New upstream release.
d6c28ca
7c1da41
* Mon Oct 31 2005 Akira TAGOH <tagoh@redhat.com> - 7029-1
7c1da41
- New upstream snapshot release.
7c1da41
64dee0b
* Fri Oct 14 2005 Akira TAGOH <tagoh@redhat.com> - 7015-1
64dee0b
- New upstream snapshot release.
64dee0b
0cb9b31
* Thu Oct 13 2005 Akira TAGOH <tagoh@redhat.com> - 7013-1
0cb9b31
- New upstream snapshot release.
0cb9b31
- removed the patches:
0cb9b31
  - anthy-add-placename-dict.patch: isn't needed anymore.
0cb9b31
  - anthy_base.t.diff: merged into upstream.
0cb9b31
  - zipcode-20050831.tar.bz2: merged into upstream.
0cb9b31
f2b2021
* Wed Sep 21 2005 Akira TAGOH <tagoh@redhat.com> - 6829-3
f2b2021
- applied some patches from anthy-dev mailing list to improve the dictionaries.
f2b2021
  - anthy_base.t.diff
f2b2021
  - anthy_gcanna.ctd.diff
f2b2021
  - anthy_gcanna.ctd_20050918.diff
f2b2021
  - anthy_gcanna.ctd_20050920.diff
f2b2021
- parameterize anthy-el-xemacs build.
f2b2021
aeddfea
* Thu Sep  1 2005 Akira TAGOH <tagoh@redhat.com> - 6829-2
aeddfea
- Added the place name dictionary.
aeddfea
8b3c80c
* Tue Aug 30 2005 Akira TAGOH <tagoh@redhat.com> - 6829-1
8b3c80c
- New upstream snapshot release.
8b3c80c
35beb88
* Wed Aug 24 2005 Akira TAGOH <tagoh@redhat.com> - 6801-1
35beb88
- updates to the snapshot version.
35beb88
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