dict-jisx4081-edict-vl.spec 1.4 KB

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