system-config-keyboard-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  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: 5%{?_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. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-5
  81. - rebuild with python-2.7.2
  82. * Mon May 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.1-4
  83. - fix patch1
  84. - add patch2 to work in anaconda
  85. - use Require(post) instead of PreReq
  86. * Wed Apr 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.1-3
  87. - rebuild for Vine 6
  88. * Tue Mar 30 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.1-2
  89. - add patch1
  90. - do not add keyboard settings to xorg.conf
  91. - remove keyboard settings from xorg.conf
  92. * Fri Mar 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.1-1
  93. - update to 1.3.1
  94. * Sat Aug 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.2.11-2
  95. - revert to 1.2.11
  96. * Fri Jun 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.15-1
  97. - new upstream release, add upstream patches
  98. * Thu Oct 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.11-1
  99. - initial build for Vine Linux
  100. * Tue Nov 21 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.11-1
  101. - Update translations
  102. * Fri Oct 13 2006 Bill Nottingham <notting@redhat.com> - 1.2.10-1
  103. - use valid charset for translations (#210720)
  104. * Wed Oct 04 2006 Chris Lumens <clumens@redhat.com> - 1.2.9-1
  105. - Fix type ahead order to use displayed names (#209218).
  106. * Mon Oct 2 2006 Jeremy Katz <katzj@redhat.com> - 1.2.8-1
  107. - update translations
  108. * Mon Jul 17 2006 Paul Nasrat <pnasrat@redhat.com> - 1.2.7-2
  109. - Don't nuke *.pyc in preun (#198952)
  110. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.7-1.1.1
  111. - rebuild
  112. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  113. - rebuilt
  114. * Thu Oct 20 2005 Paul Nasrat <pnasrat@redhat.com> - 1.2.7-1
  115. - Update pam file (#170630)
  116. - New firstboot module
  117. - Compiled python
  118. * Thu Sep 15 2005 Jeremy Katz <katzj@redhat.com> - 1.2.6-3
  119. - exclude ppc64 since we don't have X stuff there
  120. * Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 1.2.6-2
  121. - silence %%post
  122. * Fri Apr 01 2005 Paul Nasrat <pnasrat@redhat.com> - 1.2.6-1
  123. - Translations
  124. - Gtk deprecations
  125. * Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
  126. - rebuilt
  127. * Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 1.2.5-2
  128. - Update the GTK+ theme icon cache on (un)install
  129. * Fri Oct 08 2004 Paul Nasrat <pnasrat@redhat.com> - 1.2.5-1
  130. - Firstboot fix for xorg.conf
  131. * Fri Oct 01 2004 Paul Nasrat <pnasrat@redhat.com> - 1.2.4-1
  132. - Translations
  133. * Wed Sep 22 2004 Jeremy Katz <katzj@redhat.com> - 1.2.3-1
  134. - fix traceback when using treeview typeahead (#133178)
  135. * Tue Sep 07 2004 Paul Nasrat <pnasrat@redhat.com> 1.2.2-1
  136. - i18n desktop
  137. * Thu Apr 8 2004 Brent Fox <bfox@redhat.com> 1.2.1-2
  138. - fix icon path (bug #120175)
  139. * Wed Nov 12 2003 Brent Fox <bfox@redhat.com> 1.2.1-1
  140. - renamed from redhat-config-keyboard
  141. - add Obsoletes for redhat-config-keyboard
  142. - make changes for Python2.3
  143. * Mon Oct 13 2003 Brent Fox <bfox@redhat.com> 1.1.5-2
  144. - pull in Croatian translation (bug #106617)
  145. * Thu Aug 14 2003 Brent Fox <bfox@redhat.com> 1.1.5-1
  146. - tag on every build
  147. * Wed Jul 2 2003 Brent Fox <bfox@redhat.com> 1.1.3-2
  148. - bump release and rebuild
  149. * Wed Jul 2 2003 Brent Fox <bfox@redhat.com> 1.1.3-1
  150. - mark string for translation
  151. * Tue Jul 1 2003 Brent Fox <bfox@redhat.com> 1.1.2-2
  152. - bump version and rebuild
  153. * Tue Jul 1 2003 Brent Fox <bfox@redhat.com> 1.1.2-1
  154. - fix formatting problem (bug #97873)
  155. - create an XkbOption if it doesn't exist (bug #97877)
  156. * Wed May 21 2003 Brent Fox <bfox@redhat.com> 1.1.1-2
  157. - made a typo in redhat-config-keyboard.py
  158. * Wed May 21 2003 Brent Fox <bfox@redhat.com> 1.1.1-1
  159. - Created a command line interface
  160. - updated all copyright dates
  161. * Wed Apr 2 2003 Brent Fox <bfox@redhat.com> 1.0.5-1
  162. - pass window size into rhpl
  163. * Wed Mar 5 2003 Brent Fox <bfox@redhat.com> 1.0.4-1
  164. - add functions in keyboard_gui.py for anaconda popup mode
  165. * Wed Feb 12 2003 Jeremy Katz <katzj@redhat.com> 1.0.3-4
  166. - fixes for tui cjk (#83518)
  167. * Tue Feb 4 2003 Brent Fox <bfox@redhat.com> 1.0.3-3
  168. - change packing order a little for firstboot reconfig mode
  169. * Thu Jan 30 2003 Brent Fox <bfox@redhat.com> 1.0.3-2
  170. - bump and build
  171. * Wed Jan 22 2003 Brent Fox <bfox@redhat.com> 1.0.3-1
  172. - add a us keymap to keymaps with non-latin chars (bug #82440)
  173. - write out the XkbVariant line if it is present
  174. - handle XkbOptions to allow toggling between keymaps
  175. * Mon Dec 23 2002 Brent Fox <bfox@redhat.com> 1.0.2-1
  176. - add a textdomain for rhpl so we pull in translations (bug #78831)
  177. * Thu Dec 12 2002 Brent Fox <bfox@redhat.com> 1.0.1-9
  178. - remove requires for pygtk2 since we have a text mode now
  179. * Wed Dec 11 2002 Brent Fox <bfox@redhat.com> 1.0.1-8
  180. - fall back to text mode if gui mode fails
  181. * Tue Nov 12 2002 Brent Fox <bfox@redhat.com> 1.0.1-7
  182. - pam path changes
  183. * Thu Nov 07 2002 Brent Fox <bfox@redhat.com> 1.0.1-6
  184. - Add keyboard_backend.py to cvs
  185. * Thu Oct 31 2002 Brent Fox <bfox@redhat.com> 1.0.1-5
  186. - Obsolete kbdconfig
  187. * Wed Oct 09 2002 Brent Fox <bfox@redhat.com> 1.0.1-4
  188. - Added a tui mode - keyboard_tui.py
  189. - Moved some non-UI code to keyboard_backend.py
  190. * Fri Oct 04 2002 Brent Fox <bfox@redhat.com> 1.0.1-3
  191. - Add a window icon
  192. - set selection mode to browse
  193. * Wed Aug 28 2002 Brent Fox <bfox@redhat.com> 1.0.1-1
  194. - Make no arch
  195. * Wed Aug 14 2002 Brent Fox <bfox@redhat.com> 0.9.9-6
  196. - rebuild for translations
  197. * Tue Aug 13 2002 Brent Fox <bfox@redhat.com> 0.9.9-5
  198. - fix textdomain so translations show up correctly
  199. * Tue Aug 13 2002 Brent Fox <bfox@redhat.com> 0.9.9-4
  200. - pull translations into desktop file
  201. * Mon Aug 12 2002 Tammy Fox <tfox@redhat.com> 0.9.9-3
  202. - Replace System with SystemSetup in desktop file categories
  203. * Sun Aug 11 2002 Brent Fox <bfox@redhat.com> 0.9.9-2
  204. - Fix ordering of layout and model. Fixes bug 71067
  205. * Thu Aug 08 2002 Brent Fox <bfox@redhat.com> 0.9.9-1
  206. - Added Requires for pyxf86config
  207. * Fri Aug 02 2002 Brent Fox <bfox@redhat.com> 0.9.8-1
  208. - Make changes for new pam timestamp policy
  209. * Thu Aug 01 2002 Brent Fox <bfox@redhat.com> 0.9.7-2
  210. - sort the list by the full keyboard name, not the keymap
  211. * Thu Aug 01 2002 Brent Fox <bfox@redhat.com> 0.9.7-1
  212. - make calls to pyxf86config to update XF86Config file
  213. * Wed Jul 24 2002 Brent Fox <bfox@redhat.com> 0.9.6-3
  214. - fix Makefiles and spec files so that translations get installed
  215. * Wed Jul 24 2002 Brent Fox <bfox@redhat.com> 0.9.6-2
  216. - update spec file for public beta 2
  217. * Tue Jul 23 2002 Brent Fox <bfox@redhat.com> 0.9.6-1
  218. - put desktop file in correct location
  219. * Mon Jul 22 2002 Jeremy Katz <katzj@redhat.com> 0.9.5-2
  220. - add scrollto hack back
  221. * Fri Jul 19 2002 Brent Fox <bfox@redhat.com> 0.9.5-1
  222. - add version dependency for pygtk2 API change
  223. * Thu Jul 18 2002 Jeremy Katz <katzj@redhat.com> 0.9.4-3
  224. - add fix for list store changes in new pygtk2
  225. * Tue Jul 16 2002 Brent Fox <bfox@redhat.com> 0.9.4-2
  226. - bump rev num and rebuild
  227. * Thu Jul 11 2002 Brent Fox <bfox@redhat.com> 0.9.3-2
  228. - Update changelogs and rebuild
  229. * Mon Jul 1 2002 Jeremy Katz <katzj@redhat.com> 0.9.3-1
  230. - add wacky scrollto hack so that the screen in the installer scrolls properly
  231. * Mon Jul 01 2002 Brent Fox <bfox@redhat.com> 0.9.2-1
  232. - Bump rev number
  233. * Mon Jul 1 2002 Brent Fox <bfox@redhat.com> 0.9.2-1
  234. - Wrap the destroy call in a try/except because there is no self.mainWindow in firstboot reconfig mode
  235. * Wed Jun 26 2002 Brent Fox <bfox@redhat.com> 0.9.1-1
  236. - Fixed description
  237. * Tue Jun 25 2002 Brent Fox <bfox@redhat.com> 0.9.0-5
  238. - Create pot file
  239. * Mon Jun 24 2002 Brent Fox <bfox@redhat.com> 0.9.0-4
  240. - Fix spec file
  241. * Fri Jun 21 2002 Brent Fox <bfox@redhat.com> 0.9.0-3
  242. - Print init message on debug mode
  243. * Thu Jun 20 2002 Brent Fox <bfox@redhat.com> 0.9.0-2
  244. - Pass doDebug into launch instead of setupScreen
  245. - Add snapsrc to Makefile
  246. * Tue Jun 18 2002 Brent Fox <bfox@redhat.com> 0.9.0-1
  247. - Create a way to pass keymap name back to firstboot
  248. * Wed May 29 2002 Brent Fox <bfox@redhat.com> 0.2.0-3
  249. - Make symbolic link in /usr/share/firstboot/modules point to keyboard_gui.py
  250. * Tue May 28 2002 Jeremy Katz <katzj@redhat.com>
  251. - changes to be usable within an anaconda context
  252. * Tue Dec 05 2001 Brent Fox <bfox@redhat.com>
  253. - initial coding and packaging