kbdconfig-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Summary: A text-based interface for setting and loading a keyboard map.
  2. Summary(ja): キーボードマップの設定・読込みを行うテキストベースのインターフェース。
  3. Name: kbdconfig
  4. Version: 1.9.8
  5. Release: 6%{?_dist_release}
  6. License: GPL
  7. ExclusiveOS: Linux
  8. Group: System Environment/Base
  9. BuildRoot: %{_tmppath}/kbdconfig-%{version}-root
  10. BuildPreReq: newt-devel, findutils
  11. Requires: kbd >= 1.12
  12. Source: kbdconfig-%{version}.tar.gz
  13. Source1: kbdconfig-1.9.8.ja.po
  14. Source2: kbdconfig.8
  15. Patch10: kbdconfig-1.9.8.vine2.patch
  16. Patch11: kbdconfig-1.9.8-checkbox.patch
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. The kbdconfig utility is a terminal mode program which provides a
  21. simple interface for setting the keyboard map for your system. You
  22. need keyboard maps to use any keyboard other than the US default
  23. keyboard. Kbdconfig will load the selected keymap before exiting and
  24. configure your machine to use that keymap automatically after
  25. rebooting.
  26. You should install kbdconfig if you need a utility for changing your
  27. keyboard map.
  28. %description -l ja
  29. kbdconfig ユーティリティはシステムにキーボードマップをセットするための
  30. ターミナルモードのプログラムです。キーボードマップは US キーボード
  31. の他のキーボードを使用するときに必要です。kbdconfig は終了する前に
  32. 選択されたキーマップをロードし、リブード後自動的にキーマップを使用する
  33. よう PC を設定します。
  34. キーボードマップを変更するユーティリティが必要なときは kbdonfig を
  35. インストールしてください。
  36. %prep
  37. %setup -q
  38. %patch10 -p1
  39. %patch11 -p1
  40. #copy ja.po
  41. cp %SOURCE1 po/ja.po
  42. # keymaps are now in /lib/kbd
  43. find . -type f | xargs sed -i -e 's|/usr/lib/kbd|/lib/kbd|g'
  44. %build
  45. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make INSTROOT=$RPM_BUILD_ROOT install
  49. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/ja/man8/
  50. cp %SOURCE2 $RPM_BUILD_ROOT/%{_mandir}/ja/man8/
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %files
  54. %defattr(-,root,root)
  55. /usr/sbin/kbdconfig
  56. %{_mandir}/man?/*
  57. %{_mandir}/ja/man?/*
  58. %{_localedir}/*/LC_MESSAGES/kbdconfig.mo
  59. %changelog
  60. * Tue Aug 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.8-6
  61. - rebuild with newt-0.52
  62. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.9.8-5vl5
  63. - applied new versioning policy, spec in utf-8
  64. * Tue May 22 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.9.8-5vl4
  65. - rebuilt with new toolchain
  66. - change the path to keymaps to starting /lib/kbd/
  67. this change was due to console-tools -> kbd in VineSeed
  68. * Sat Jan 7 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.9.8-5vl3
  69. - added BuildPreReq: newt-devel
  70. - updated Patch10 (ppc on kernel >= 2.6 now use pc keymaps)
  71. * Thu Jun 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp>
  72. - 1.9.8-5vl2
  73. - change checkbox color
  74. * Fri Jan 19 2001 Jun Nishii <jun@vinelinux.org>
  75. - 1.9.8-5vl1
  76. * Mon Jan 15 2001 Bill Nottingham <notting@redhat.com>
  77. - translate copyright message (#23740)
  78. * Fri Jan 12 2001 Trond Eivind Glomsr <teg@redhat.com>
  79. - use %%lang
  80. * Thu Aug 24 2000 Erik Troan <ewt@redhat.com>
  81. - updated it/es translations
  82. * Sun Aug 20 2000 Matt Wilson <msw@redhat.com>
  83. - new translations
  84. * Tue Aug 15 2000 Bill Nottingham <notting@redhat.com>
  85. - change copyright date
  86. * Wed Aug 09 2000 Trond Eivind Glomsr <teg@redhat.com>
  87. - i18n merge
  88. - use %%{_tmppath}
  89. - use %%defattr
  90. - include translated man pages
  91. * Wed Jul 26 2000 Matt Wilson <msw@redhat.com>
  92. - new translations for de fr it es
  93. * Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
  94. - handle compressed manpages
  95. * Wed Oct 6 1999 Jakub Jelinek <jakub@redhat.com>
  96. - fix serial console check on SPARC, remove
  97. /etc/sysconfig/keyboard and console/default.kmap
  98. if on serial console.
  99. * Mon Aug 2 1999 Matt Wilson <msw@redhat.com>
  100. - rebuilt against newt 0.50
  101. * Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
  102. - release for Red Hat Linux 6.0
  103. * Mon Apr 5 1999 Bill Nottingham <notting@redhat.com>
  104. - save keymap to /etc/sysconfig/console, if available
  105. * Tue Mar 9 1999 Jeff Johnson <jbj@redhat.com>
  106. - add in_ID.po
  107. * Sat Feb 27 1999 Matt Wilson <msw@redhat.com>
  108. - synced with UltraPenguin to add support for console-tools
  109. * Sun Jan 10 1999 Matt Wilson <msw@redhat.com>
  110. - rebuilt against newt 0.40
  111. * Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
  112. - add ru.po
  113. * Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
  114. - build for Raw Hide (slang-1.2.2)
  115. * Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
  116. - translation updates
  117. * Fri Sep 25 1998 Cristian Gafton <gafton@redhat.com>
  118. - turkish message catalog
  119. * Wed Sep 23 1998 Erik Troan <ewt@redhat.com>
  120. - look in qwertz directory as well
  121. * Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com>
  122. - remove path checks from keyboard map processing.
  123. - add sparc support.
  124. * Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
  125. - added --back
  126. - built against newt 0.30
  127. * Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
  128. - added i18n support
  129. - added --back option
  130. - added man page
  131. - buildrooted spec file
  132. * Mon Jan 12 1998 Erik Troan <ewt@redhat.com>
  133. - added patch to replace alloca() with malloc()
  134. * Tue Nov 4 1997 Michael Fulbrght <msf@redhat.com>
  135. - changed to handle .map and .map.gz files properly