system-config-keyboard-vl.spec 10 KB

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