system-config-keyboard-vl.spec 10 KB

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