system-config-keyboard-vl.spec 10 KB

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