edict-vl.spec 1.7 KB

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