dict-jisx4081-edict-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. %define rel 1
  2. %define jmdict_date 20130118
  3. %define jmdict_dir_date 2013-01-18
  4. %define dictdir %{_datadir}/dict/jisx4081
  5. %define dictpkgname engJMD
  6. Summary: JIS X 4081 format EDICT Dictionary
  7. Summary(ja): JIS X 4081 形式の EDICT 辞書
  8. Name: dict-jisx4081-edict
  9. Version: 1.0
  10. Release: %{rel}.JMdict.%{jmdict_date}%{?_dist_release}
  11. License: CC-by-sa 3.0 Unported
  12. Group: Applications/Text
  13. URL: http://www.csse.monash.edu.au/~jwb/edict.html
  14. Source0: ftp://ftp.monash.edu.au/pub/nihongo/edict_en.fpwebz.tar
  15. Source1: dict-jisx4081-edict.README.ja
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  17. BuildArch: noarch
  18. Distribution: Vine Linux
  19. Vendor: Project Vine
  20. Packager: iwaim
  21. %description
  22. JIS X 4081 format EDICT Dictionary
  23. %description -l ja
  24. JIS X 4081 形式の EDICT 辞書
  25. %prep
  26. %setup -q -nJMdict_eng_%{jmdict_dir_date}_UTC
  27. %{__cp} -a %{SOURCE1} ./README.ja
  28. %{_fixperms} .
  29. %install
  30. %{__rm} -rf %{buildroot}
  31. %{__mkdir} -p %{buildroot}%{dictdir}/%{dictpkgname}
  32. %{__install} -m0644 CATALOGS %{buildroot}%{dictdir}/%{dictpkgname}
  33. %{__cp} -a JMdict %{buildroot}%{dictdir}/%{dictpkgname}
  34. %clean
  35. %{__rm} -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc README.ja ChangeLog INFO License README
  39. %dir %{dictdir}
  40. %dir %{dictdir}/%{dictpkgname}
  41. %dir %{dictdir}/%{dictpkgname}/JMdict
  42. %dir %{dictdir}/%{dictpkgname}/JMdict/DATA
  43. %dir %{dictdir}/%{dictpkgname}/JMdict/GAIJI
  44. %{dictdir}/%{dictpkgname}/CATALOGS
  45. %{dictdir}/%{dictpkgname}/JMdict/DATA/HONMON.ebz
  46. %{dictdir}/%{dictpkgname}/JMdict/GAIJI/GAI16H.ebz
  47. %changelog
  48. * Fri Jan 25 2013 IWAI, Masaharu <iwai@alib.jp> 1.0-1.JMdict.20130118
  49. - update to 2013-01-19
  50. * Thu Mar 25 2010 IWAI, Masaharu <iwai@alib.jp> 1.0-1.JMdict.20081124
  51. - Initial build.