dict-jisx4081-gene95-vl.spec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. %define gene95fpw_pkgname gene95-fpw
  2. %define dictdir %{_datadir}/dict/jisx4081
  3. %define dictpkgname gene95
  4. Summary: JIS X 4081 format GENE95 Dictionary
  5. Summary(ja): JIS X 4081 形式の GENE95 辞書
  6. Name: dict-jisx4081-gene95
  7. Version: 1.0
  8. Release: 1%{?_dist_release}
  9. Source0: http://www.namazu.org/~tsuchiya/sdic/data/gene95.tar.bz2
  10. License: non-free
  11. Group: Applications/Text
  12. URL: http://www.namazu.org/~tsuchiya/sdic/data/gene.html
  13. BuildArch: noarch
  14. BuildRequires: %{gene95fpw_pkgname}
  15. BuildRequires: freepwing
  16. BuildRequires: jcode.pl
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Distribution: Vine Linux
  19. Vendor: Project Vine
  20. Packager: iwaim
  21. %description
  22. JIS X 4081 format GENE95 Dictionary
  23. %description -l ja
  24. JIS X 4081 形式の GENE95 辞書
  25. %prep
  26. %setup -q -c %{name}-%{version}
  27. ln -s %{_datadir}/%{gene95fpw_pkgname}/Makefile .
  28. ln -s %{_datadir}/%{gene95fpw_pkgname}/catalogs.txt .
  29. ln -s %{_bindir}/fpwgene95
  30. ln -s %{_datadir}/freepwing/fpwutils.mk .
  31. %build
  32. make PACKAGE=%{dictpkgname}
  33. make catalogs PACKAGE=%{dictpkgname}
  34. make package-tar-bz2 PACKAGE=%{dictpkgname}
  35. %install
  36. %{__rm} -rf %{buildroot}
  37. %{__mkdir} -p %{buildroot}%{dictdir}/%{dictpkgname}/%{dictpkgname}/data
  38. %{__install} -m0644 catalogs %{buildroot}%{dictdir}/%{dictpkgname}
  39. %{__install} -m0644 honmon %{buildroot}%{dictdir}/%{dictpkgname}/%{dictpkgname}/data
  40. %clean
  41. %{__rm} -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc readme.txt
  45. %dir %{dictdir}
  46. %{dictdir}/%{dictpkgname}
  47. %changelog
  48. * Thu Mar 25 2010 IWAI, Masaharu <iwai@alib.jp> 1.0-1
  49. - first release for Vine Linux