File wadokujt.spec of Package wadokujt
#
# spec file for package wadokujt (Version 20030810)
#
# 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 procinfo procps psmisc pwdutils rcs readline sed sendmail strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils dos2unix gcc gdbm gettext libtool perl rpm
Name: wadokujt
BuildRequires: dos2unix
License: , Other License(s), see package
Group: System/I18n/Japanese
Provides: gdict
Obsoletes: gdict
Autoreqprov: on
Version: 20030810
Release: 75
URL: http://www.bibiko.com/dlen.htm
# original source http://www.bibiko.com/WdJTEUC.zip (EUC-JP Version)
# original source http://www.bibiko.com/WdJTUTF.zip (UTF-8 Version)
# bzipped2 to save space:
Source0: wadokujt.tar.bz2
Source1: http://bunmei7.hus.osaka-u.ac.jp/WaDokuDatei_Lizenz.html
Source2: http://bunmei7.hus.osaka-u.ac.jp/read_me.htm
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: German/Japanese dictionary 'Wadoku Jiten' in EDICT format
%description
'wadokujt' is the German/Japanese dictionary 'Wadoku Jiten' compiled by
Ulrich Apel <apel@hus.osaka-u.ac.jp> and converted by Hans-Joerg Bibiko
<mail@bibiko.com> to EDICT format (EDICT is a well known
Japanese/English dictionary compiled by Jim Breen
<j.breen@csse.monash.edu.au>).
'wadokujt' can be used with all lookup programs which can work with
dictionary files in EDICT format, for example gjiten, xjdic, and
edict.el.
Authors:
--------
Ulrich Apel <apel@hus.osaka-u.ac.jp>
Hans-Joerg Bibiko <mail@bibiko.com>
%prep
%setup -n %{name}
cp $RPM_SOURCE_DIR/*.htm* .
dos2unix WdJTUTF.txt
%build
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT/usr/share/edict
install -m 644 WdJTUTF.txt $RPM_BUILD_ROOT/usr/share/edict/wadokujt
%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%doc read_me.htm WaDokuDatei_Lizenz.html
%dir /usr/share/edict/
/usr/share/edict/wadokujt
%changelog -n wadokujt
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Feb 23 2004 - hmacht@suse.de
- building as non-root
* Sun Aug 24 2003 - mfabian@suse.de
- update to version 20030810 (use UTF-8 encoded version).
(now 211.300 entries + 49.000 variants with 87.000 lemmata)
- remove MS-DOS line endings.
* Fri Jun 13 2003 - mfabian@suse.de
- add %%dir /usr/share/edict to file list.
* Sat Feb 15 2003 - mfabian@suse.de
- update to version 20020509 (now 225532 entries, last version
had 201800 entries).
- rename to wadokujt (renamed like this upstream).
* Tue Apr 02 2002 - mfabian@suse.de
- update to version 20020327
* Wed Jan 23 2002 - mfabian@suse.de
- new package gdict, version 20010512