[521] | 1 | Summary: Japanese/English Dictionary |
---|
| 2 | Name: edict |
---|
| 3 | Version: V00_004 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Url: http://www.csse.monash.edu.au/~jwb/edict.html |
---|
| 6 | Group: Applications/Text |
---|
| 7 | License: Distrubutable |
---|
| 8 | BuildArchitectures: noarch |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | |
---|
| 11 | Source0: ftp://ftp.cc.monash.edu.au/pub/nihongo/%{name}.gz |
---|
| 12 | Source1: ftp://ftp.cc.monash.edu.au/pub/nihongo/%{name}_doc.html |
---|
| 13 | Source2: ftp://ftp.cc.monash.edu.au/pub/nihongo/%{name}_doc.txt |
---|
| 14 | Source3: http://www.csse.monash.edu.au/groups/edrdg/newlic.html |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | The EDICT file is the outcome of a voluntary project to produce a freely- |
---|
| 18 | available Japanese/English Dictionary in machine-readable form. This project |
---|
| 19 | has been under way since early 1991, beginning with the small original |
---|
| 20 | file included with the MOKE (Mark's Own Kanji Editor) Japanese word-processing |
---|
| 21 | package. It reached a size of nearly 103,000 entries when it was split |
---|
| 22 | into two files: EDICT containing the "normal" dictionary entries, and |
---|
| 23 | ENAMDICT containing names. Both files are used by a number of software |
---|
| 24 | packages and thousands of users world-wide. The EDICT file is now over |
---|
| 25 | 60,000 entries and the ENAMDICT file over 160,000. |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -n %{name} -c -T |
---|
| 29 | cp $RPM_SOURCE_DIR/%{name}.gz . |
---|
| 30 | cp $RPM_SOURCE_DIR/%{name}_doc.html . |
---|
| 31 | cp $RPM_SOURCE_DIR/%{name}_doc.txt . |
---|
| 32 | cp $RPM_SOURCE_DIR/newlic.html . |
---|
| 33 | gzip -d %{name}.gz |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | mkdir -p $RPM_BUILD_ROOT/usr/share |
---|
| 37 | install -m 644 %{name} $RPM_BUILD_ROOT/usr/share |
---|
| 38 | |
---|
| 39 | %clean |
---|
| 40 | rm -rf $RPM_BUILD_ROOT |
---|
| 41 | |
---|
| 42 | %files |
---|
| 43 | %defattr(-,root,root) |
---|
| 44 | %doc edict_doc.html edict_doc.txt newlic.html |
---|
| 45 | /usr/share/edict |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %changelog |
---|
| 49 | * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> V00_004-1vl5 |
---|
| 50 | - applied new versioning policy |
---|
| 51 | |
---|
| 52 | * Wed Feb 28 2001 Uechi Yasumasa <uh@u.dhis.portside.net> |
---|
| 53 | - V00_004vl1 |
---|
| 54 | - 1st release |
---|
| 55 | |
---|