kcc-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Summary: Kanji code filter
  2. Summary(ja): 漢字コード変換フィルタ
  3. Name: kcc
  4. Group: Applications/Text
  5. Version: 2.3
  6. Release: 1%{?_dist_release}
  7. Source: kcc.tar.gz
  8. Patch0: kcc-stdarg.patch
  9. License: GPL2
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. Kanji code filter with auto-detection of the code.
  15. %description -l ja
  16. 自動判別機能つき漢字コードフィルターです。日本語EUC,7ビットJIS,
  17. 8ビットJIS,シフトJISに対応しており、半角かなにも対応しています。
  18. %prep
  19. rm -rf %{buildroot}
  20. %setup -q -n %{name}
  21. %patch0 -p1 -b .stdarg
  22. %build
  23. make CFLAGS="$RPM_OPT_FLAGS"
  24. %install
  25. mkdir -p %{buildroot}/%{_bindir}
  26. mkdir -p %{buildroot}/%{_mandir}/ja/man1
  27. make BINPATH=%{buildroot}/%{_bindir} install
  28. make MANPATH=%{buildroot}/%{_mandir} JMANDIR=ja install.man
  29. %clean
  30. rm -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root)
  33. %doc COPYING README
  34. %{_bindir}/kcc
  35. %{_mandir}/ja/man1/*
  36. %changelog
  37. * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-1
  38. - applied new versioning policy, spec in UTF-8
  39. * Tue Aug 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3-0vl4
  40. - rebuild with new toolchains
  41. - added Patch0 to compiler gcc >= 3.3
  42. - s/Copyright/License/
  43. * Fri Jan 12 2001 Jun Nishii <jun@vinelinux.org>
  44. - 2.3-0vl3
  45. - use macros in spec
  46. * Tue Aug 1 2000 Jun Nishii <jun@vinelinux.org>
  47. - 2.3-0vl2
  48. - move man to ja from ja_JP.ujis
  49. - auto gzip man by brp
  50. * Thu Jan 6 2000 Jun Nishii <jun@vinelinux.org>
  51. - ver 2.3
  52. * Sun Sep 26 1999 Hideya Hane <Vine@flatout.org>
  53. - rebuild for glibc-2.1
  54. * Fri Dec 18 1998 Jun NISHII <jun@vinelinux.org>
  55. - first release