system-config-keyboard-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. Summary: A graphical interface for modifying the keyboard
  2. Summary(ja): キーボードを変更するためのグラフィカルインタフェース
  3. Name: system-config-keyboard
  4. Epoch: 1
  5. Version: 1.2.11
  6. Release: 2%{?_dist_release}
  7. URL: https://fedorahosted.org/system-config-keyboard/
  8. License: GPL
  9. ExclusiveOS: Linux
  10. Group: System Environment/Base
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. Source0: %{name}-%{version}.tar.bz2
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext
  16. BuildRequires: intltool
  17. Obsoletes: kbdconfig
  18. Obsoletes: redhat-config-keyboard
  19. ExcludeArch: s390 s390x ppc64
  20. Requires: python
  21. Requires: usermode >= 1.36
  22. Requires: rhpl >= 0.53
  23. Requires: pyxf86config
  24. Requires: firstboot
  25. Prereq: gtk2 >= 2.6
  26. %description
  27. system-config-keyboard is a graphical user interface that allows
  28. the user to change the default keyboard of the system.
  29. %description -l ja
  30. %{name} はシステムのデフォルトのキーボードを変更するための
  31. グラフィカルユーザインタフェースです。
  32. %prep
  33. %setup -q
  34. %install
  35. make INSTROOT=$RPM_BUILD_ROOT install
  36. desktop-file-install --vendor system --delete-original \
  37. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  38. --add-category System \
  39. --add-category Settings \
  40. $RPM_BUILD_ROOT%{_datadir}/applications/system-config-keyboard.desktop
  41. %find_lang %name
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post
  45. touch --no-create %{_datadir}/icons/hicolor
  46. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  47. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  48. fi
  49. %postun
  50. touch --no-create %{_datadir}/icons/hicolor
  51. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  52. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  53. fi
  54. %files -f %{name}.lang
  55. %defattr(-,root,root)
  56. #%doc COPYING
  57. %{_bindir}/system-config-keyboard
  58. %dir %{_datadir}/system-config-keyboard
  59. %{_datadir}/system-config-keyboard/*
  60. %dir %{_datadir}/firstboot/
  61. %dir %{_datadir}/firstboot/modules
  62. %{_datadir}/firstboot/modules/*
  63. %attr(0644,root,root) %{_datadir}/applications/system-config-keyboard.desktop
  64. %attr(0644,root,root) %config /etc/security/console.apps/system-config-keyboard
  65. %attr(0644,root,root) %config /etc/pam.d/system-config-keyboard
  66. %attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/system-config-keyboard.png
  67. %changelog
  68. * Sat Aug 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.2.11-2
  69. - revert to 1.2.11
  70. * Fri Jun 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.15-1
  71. - new upstream release, add upstream patches
  72. * Thu Oct 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-1
  73. - initial build for Vine Linux
  74. * Tue Nov 21 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.11-1
  75. - Update translations
  76. * Fri Oct 13 2006 Bill Nottingham <notting@redhat.com> - 1.2.10-1
  77. - use valid charset for translations (#210720)
  78. * Wed Oct 04 2006 Chris Lumens <clumens@redhat.com> - 1.2.9-1
  79. - Fix type ahead order to use displayed names (#209218).
  80. * Mon Oct 2 2006 Jeremy Katz <katzj@redhat.com> - 1.2.8-1
  81. - update translations
  82. * Mon Jul 17 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.7-2
  83. - Don't nuke *.pyc in preun (#198952)
  84. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.7-1.1.1
  85. - rebuild
  86. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  87. - rebuilt
  88. * Thu Oct 20 2005 Paul Nasrat <pnasrat@redhat.com> - 1.2.7-1
  89. - Update pam file (#170630)
  90. - New firstboot module
  91. - Compiled python
  92. * Thu Sep 15 2005 Jeremy Katz <katzj@redhat.com> - 1.2.6-3
  93. - exclude ppc64 since we don't have X stuff there
  94. * Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 1.2.6-2
  95. - silence %%post
  96. * Fri Apr 01 2005 Paul Nasrat <pnasrat@redhat.com> - 1.2.6-1
  97. - Translations
  98. - Gtk deprecations
  99. * Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
  100. - rebuilt
  101. * Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 1.2.5-2
  102. - Update the GTK+ theme icon cache on (un)install
  103. * Fri Oct 08 2004 Paul Nasrat <pnasrat@redhat.com> - 1.2.5-1
  104. - Firstboot fix for xorg.conf
  105. * Fri Oct 01 2004 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-1
  106. - Translations
  107. * Wed Sep 22 2004 Jeremy Katz <katzj@redhat.com> - 1.2.3-1
  108. - fix traceback when using treeview typeahead (#133178)
  109. * Tue Sep 07 2004 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
  110. - i18n desktop
  111. * Thu Apr 8 2004 Brent Fox <bfox@redhat.com> 1.2.1-2
  112. - fix icon path (bug #120175)
  113. * Wed Nov 12 2003 Brent Fox <bfox@redhat.com> 1.2.1-1
  114. - renamed from redhat-config-keyboard
  115. - add Obsoletes for redhat-config-keyboard
  116. - make changes for Python2.3
  117. * Mon Oct 13 2003 Brent Fox <bfox@redhat.com> 1.1.5-2
  118. - pull in Croatian translation (bug #106617)
  119. * Thu Aug 14 2003 Brent Fox <bfox@redhat.com> 1.1.5-1
  120. - tag on every build
  121. * Wed Jul 2 2003 Brent Fox <bfox@redhat.com> 1.1.3-2
  122. - bump release and rebuild
  123. * Wed Jul 2 2003 Brent Fox <bfox@redhat.com> 1.1.3-1
  124. - mark string for translation
  125. * Tue Jul 1 2003 Brent Fox <bfox@redhat.com> 1.1.2-2
  126. - bump version and rebuild
  127. * Tue Jul 1 2003 Brent Fox <bfox@redhat.com> 1.1.2-1
  128. - fix formatting problem (bug #97873)
  129. - create an XkbOption if it doesn't exist (bug #97877)
  130. * Wed May 21 2003 Brent Fox <bfox@redhat.com> 1.1.1-2
  131. - made a typo in redhat-config-keyboard.py
  132. * Wed May 21 2003 Brent Fox <bfox@redhat.com> 1.1.1-1
  133. - Created a command line interface
  134. - updated all copyright dates
  135. * Wed Apr 2 2003 Brent Fox <bfox@redhat.com> 1.0.5-1
  136. - pass window size into rhpl
  137. * Wed Mar 5 2003 Brent Fox <bfox@redhat.com> 1.0.4-1
  138. - add functions in keyboard_gui.py for anaconda popup mode
  139. * Wed Feb 12 2003 Jeremy Katz <katzj@redhat.com> 1.0.3-4
  140. - fixes for tui cjk (#83518)
  141. * Tue Feb 4 2003 Brent Fox <bfox@redhat.com> 1.0.3-3
  142. - change packing order a little for firstboot reconfig mode
  143. * Thu Jan 30 2003 Brent Fox <bfox@redhat.com> 1.0.3-2
  144. - bump and build
  145. * Wed Jan 22 2003 Brent Fox <bfox@redhat.com> 1.0.3-1
  146. - add a us keymap to keymaps with non-latin chars (bug #82440)
  147. - write out the XkbVariant line if it is present
  148. - handle XkbOptions to allow toggling between keymaps
  149. * Mon Dec 23 2002 Brent Fox <bfox@redhat.com> 1.0.2-1
  150. - add a textdomain for rhpl so we pull in translations (bug #78831)
  151. * Thu Dec 12 2002 Brent Fox <bfox@redhat.com> 1.0.1-9
  152. - remove requires for pygtk2 since we have a text mode now
  153. * Wed Dec 11 2002 Brent Fox <bfox@redhat.com> 1.0.1-8
  154. - fall back to text mode if gui mode fails
  155. * Tue Nov 12 2002 Brent Fox <bfox@redhat.com> 1.0.1-7
  156. - pam path changes
  157. * Thu Nov 07 2002 Brent Fox <bfox@redhat.com> 1.0.1-6
  158. - Add keyboard_backend.py to cvs
  159. * Thu Oct 31 2002 Brent Fox <bfox@redhat.com> 1.0.1-5
  160. - Obsolete kbdconfig
  161. * Wed Oct 09 2002 Brent Fox <bfox@redhat.com> 1.0.1-4
  162. - Added a tui mode - keyboard_tui.py
  163. - Moved some non-UI code to keyboard_backend.py
  164. * Fri Oct 04 2002 Brent Fox <bfox@redhat.com> 1.0.1-3
  165. - Add a window icon
  166. - set selection mode to browse
  167. * Wed Aug 28 2002 Brent Fox <bfox@redhat.com> 1.0.1-1
  168. - Make no arch
  169. * Wed Aug 14 2002 Brent Fox <bfox@redhat.com> 0.9.9-6
  170. - rebuild for translations
  171. * Tue Aug 13 2002 Brent Fox <bfox@redhat.com> 0.9.9-5
  172. - fix textdomain so translations show up correctly
  173. * Tue Aug 13 2002 Brent Fox <bfox@redhat.com> 0.9.9-4
  174. - pull translations into desktop file
  175. * Mon Aug 12 2002 Tammy Fox <tfox@redhat.com> 0.9.9-3
  176. - Replace System with SystemSetup in desktop file categories
  177. * Sun Aug 11 2002 Brent Fox <bfox@redhat.com> 0.9.9-2
  178. - Fix ordering of layout and model. Fixes bug 71067
  179. * Thu Aug 08 2002 Brent Fox <bfox@redhat.com> 0.9.9-1
  180. - Added Requires for pyxf86config
  181. * Fri Aug 02 2002 Brent Fox <bfox@redhat.com> 0.9.8-1
  182. - Make changes for new pam timestamp policy
  183. * Thu Aug 01 2002 Brent Fox <bfox@redhat.com> 0.9.7-2
  184. - sort the list by the full keyboard name, not the keymap
  185. * Thu Aug 01 2002 Brent Fox <bfox@redhat.com> 0.9.7-1
  186. - make calls to pyxf86config to update XF86Config file
  187. * Wed Jul 24 2002 Brent Fox <bfox@redhat.com> 0.9.6-3
  188. - fix Makefiles and spec files so that translations get installed
  189. * Wed Jul 24 2002 Brent Fox <bfox@redhat.com> 0.9.6-2
  190. - update spec file for public beta 2
  191. * Tue Jul 23 2002 Brent Fox <bfox@redhat.com> 0.9.6-1
  192. - put desktop file in correct location
  193. * Mon Jul 22 2002 Jeremy Katz <katzj@redhat.com> 0.9.5-2
  194. - add scrollto hack back
  195. * Fri Jul 19 2002 Brent Fox <bfox@redhat.com> 0.9.5-1
  196. - add version dependency for pygtk2 API change
  197. * Thu Jul 18 2002 Jeremy Katz <katzj@redhat.com> 0.9.4-3
  198. - add fix for list store changes in new pygtk2
  199. * Tue Jul 16 2002 Brent Fox <bfox@redhat.com> 0.9.4-2
  200. - bump rev num and rebuild
  201. * Thu Jul 11 2002 Brent Fox <bfox@redhat.com> 0.9.3-2
  202. - Update changelogs and rebuild
  203. * Mon Jul 1 2002 Jeremy Katz <katzj@redhat.com> 0.9.3-1
  204. - add wacky scrollto hack so that the screen in the installer scrolls properly
  205. * Mon Jul 01 2002 Brent Fox <bfox@redhat.com> 0.9.2-1
  206. - Bump rev number
  207. * Mon Jul 1 2002 Brent Fox <bfox@redhat.com> 0.9.2-1
  208. - Wrap the destroy call in a try/except because there is no self.mainWindow in firstboot reconfig mode
  209. * Wed Jun 26 2002 Brent Fox <bfox@redhat.com> 0.9.1-1
  210. - Fixed description
  211. * Tue Jun 25 2002 Brent Fox <bfox@redhat.com> 0.9.0-5
  212. - Create pot file
  213. * Mon Jun 24 2002 Brent Fox <bfox@redhat.com> 0.9.0-4
  214. - Fix spec file
  215. * Fri Jun 21 2002 Brent Fox <bfox@redhat.com> 0.9.0-3
  216. - Print init message on debug mode
  217. * Thu Jun 20 2002 Brent Fox <bfox@redhat.com> 0.9.0-2
  218. - Pass doDebug into launch instead of setupScreen
  219. - Add snapsrc to Makefile
  220. * Tue Jun 18 2002 Brent Fox <bfox@redhat.com> 0.9.0-1
  221. - Create a way to pass keymap name back to firstboot
  222. * Wed May 29 2002 Brent Fox <bfox@redhat.com> 0.2.0-3
  223. - Make symbolic link in /usr/share/firstboot/modules point to keyboard_gui.py
  224. * Tue May 28 2002 Jeremy Katz <katzj@redhat.com>
  225. - changes to be usable within an anaconda context
  226. * Tue Dec 05 2001 Brent Fox <bfox@redhat.com>
  227. - initial coding and packaging