dbskkd-cdb-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. %define pkg_name dbskkd-cdb
  2. %define pkg_version 2.00
  3. %define pkg_release 7%{?_dist_release}
  4. %define cdb_ver 0.78
  5. Summary: A dictionary server for the SKK Japanese input method system
  6. Summary(ja): SKK 日本語入力メソッドの辞書サーバ
  7. Name: %{pkg_name}
  8. Version: %{pkg_version}
  9. Release: %{pkg_release}
  10. License: GPL
  11. Group: Applications/System
  12. URL: http://www.ne.jp/asahi/bdx/info/software/jp-dbskkd.html
  13. Source0: https://github.com/jj1bdx/dbskkd-cdb/archive/%{name}-%{version}_IMPORTED_FROM_SVN.tar.gz
  14. Source1: http://www.corpit.ru/mjt/tinycdb/tinycdb-%{cdb_ver}.tar.gz
  15. Source2: dbskkd-cdb.xinetd
  16. Patch1: dbskkd-cdb-2.00.c.patch
  17. Patch2: dbskkd-cdb-2.00.makefile.patch
  18. Requires: skkdic-cdb
  19. Requires: xinetd
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
  21. Provides: skkserv
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: ara_t
  25. %description
  26. dbskkd-cdb is a dictionary server for the SKK Japanese input method
  27. system. dbskkd-cdb is based on the code of skkserv (the original SKK
  28. server) 3.9.3, using the cdb constant database package of
  29. D. J. Bernstein (DJB) for faster dictionary access.
  30. #Add an entry for dbskkd-cdb to /etc/hosts.allow when using with tcp_wrappers.
  31. #ex. dbskkd-cdb: 127.0.0.1
  32. %description -l ja
  33. dbskkd-cdbは、skkservと同様の機能を提供する
  34. SKK用の共通辞書サーバーである。
  35. 辞書は D. J. Bernsteinのcdbを使ってデータベース化し、
  36. 検索を高速化している。
  37. 本サーバーは同種のツールpskkservを基にしている。
  38. %prep
  39. %setup -q -n %{name}-%{version}_IMPORTED_FROM_SVN -q -a 1
  40. %patch1 -p1
  41. %patch2 -p1
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %build
  44. %{__make} -C tinycdb-%{cdb_ver}
  45. %{__make} CDBLIB="-Ltinycdb-%{cdb_ver} -lcdb"
  46. %install
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %{__mkdir_p} ${RPM_BUILD_ROOT}%{_sbindir}
  49. %{__mkdir_p} ${RPM_BUILD_ROOT}/etc/xinetd.d/
  50. %{__install} -m0755 dbskkd-cdb ${RPM_BUILD_ROOT}%{_prefix}/sbin
  51. %{__install} -m0644 %{SOURCE2} ${RPM_BUILD_ROOT}/etc/xinetd.d/dbskkd-cdb
  52. %clean
  53. %{__rm} -rf $RPM_BUILD_ROOT
  54. %files
  55. %defattr(-, root, root)
  56. %config(noreplace) /etc/xinetd.d/dbskkd-cdb
  57. %doc CHANGES LICENSE README READMEJP
  58. %{_sbindir}/
  59. %config
  60. %changelog
  61. * Fri Apr 29 2016 Toshiaki Ara <ara_t@384.jp> 2.00-7
  62. - delete BuildRequires: skkdic
  63. - add Requires: skkdic-cdb
  64. * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 2.00-6
  65. - rebuild with skkdic-2016410
  66. - add Packager tag
  67. * Sat Mar 12 2016 Toshiaki Ara <ara_t@384.jp> 2.00-5
  68. - rebuild with skkdic-20160306
  69. * Mon Dec 28 2015 Toshiaki Ara <ara_t@384.jp> 2.00-4
  70. - rebuild with skkdic-20151227
  71. * Tue Nov 17 2015 Toshiaki Ara <ara_t@384.jp> 2.00-3
  72. - rebuild with skkdic-20151115
  73. - add Requires: xinetd
  74. * Thu Sep 24 2015 Toshiaki Ara <ara_t@384.jp> 2.00-2
  75. - rebuild with skkdic-20150920
  76. * Thu Jul 09 2015 Toshiaki Ara <ara_t@384.jp> 2.00-1
  77. - update 2.00
  78. * Sat Jun 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.01-20
  79. - rebuild with Vine6 environment
  80. * Sat Aug 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-19
  81. - spec in utf-8, new versioning policy
  82. * Wed Jan 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.01-18vl2
  83. - s/Copyright/License/
  84. * Sun May 25 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  85. - modified for VineLinux
  86. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  87. - rebuilt
  88. * Mon Nov 25 2002 Jens Petersen <petersen@redhat.com> 1.01-17
  89. - improve service description in xinetd config file (#77711)
  90. * Mon Jun 24 2002 Jens Petersen <petersen@redhat.com> 1.01-16
  91. - don't install dbskkd-cdb stripped
  92. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.01-15
  93. - automated rebuild
  94. * Thu May 23 2002 Tim Powers <timp@redhat.com> 1.01-14
  95. - automated rebuild
  96. * Mon Feb 25 2002 Jens Petersen <petersen@redhat.com> 1.01-13
  97. - rebuild in new environment
  98. * Thu Feb 21 2002 Jens Petersen <petersen@redhat.com> 1.01-12
  99. - generate and include SKK-JISYO.L.cdb (formerly in skkdic)
  100. - silence depend files warnings while building freecdb with -include
  101. - no longer include skktocdbm.sh in docs
  102. * Wed Jan 30 2002 Jens Petersen <petersen@redhat.com> 1.01-11
  103. - tidy spec
  104. - freecdb-0.62 included for build, so no longer buildrequires freecdb
  105. - build it first and link with it
  106. * Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.01-10
  107. - automated rebuild
  108. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> 1.01-9
  109. - Bump release + rebuild.
  110. * Wed Feb 28 2001 SATO Satoru <ssato@redhat.com>
  111. - add /etc/xinetd.d/dbskkd-cdb
  112. * Wed Feb 28 2001 Bill Nottingham <notting@redhat.com>
  113. - remove %post, just put it in the default /etc/services (#29759)
  114. * Tue Jan 23 2001 Karsten Hopp <karsten@redhat.de>
  115. - change Conflicts: skkserv to Obsoletes: skkserv
  116. * Mon Jan 22 2001 SATO Satoru <ssato@redhat.com>
  117. - fix category
  118. * Mon Jan 21 2001 SATO Satoru <ssato@redhat.com>
  119. - remove some macros
  120. - remove the dictionary
  121. - clean up upstream sources
  122. - clean up SPEC
  123. * Mon Dec 18 2000 SATO Satoru <ssato@redhat.com>
  124. - use system macros
  125. * Mon Aug 4 2000 SATO Satoru <ssato@redhat.com>
  126. - Initial release