File wadokujt.spec of Package wadokujt
#
# spec file for package wadokujt (Version 20030810)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wadokujt
BuildRequires: dos2unix
License: Restricted Shareware
Group: System/I18n/Japanese
Provides: gdict
Obsoletes: gdict
AutoReqProv: on
Version: 20030810
Release: 241
Url: http://bibiko.de/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
BuildArch: 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.de>
%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
* 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