system-config-language-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. Summary: A graphical interface for modifying the system language
  2. Summary(ja): システムの言語を変更するためのグラフィカルインタフェース
  3. Name: system-config-language
  4. Version: 1.1.18
  5. Release: 2%{?_dist_release}
  6. URL: http://fedora.redhat.com/projects/config-tools/
  7. License: GPL
  8. ExclusiveOS: Linux
  9. Group: System Environment/Base
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildArch: noarch
  12. Source0: %{name}-%{version}.tar.bz2
  13. Patch0: remove-firstboot-module.patch
  14. Obsoletes: redhat-config-language
  15. BuildRequires: desktop-file-utils
  16. BuildRequires: gettext
  17. BuildRequires: intltool
  18. Requires: pygtk2
  19. Requires: python
  20. Requires: rhpl
  21. Requires: usermode
  22. Prereq: gtk2 >= 2.6
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: daisuke
  26. %description
  27. system-config-language is a graphical user interface that
  28. allows the user to change the default language of the system.
  29. %prep
  30. %setup -q
  31. %patch0 -p1
  32. %build
  33. make
  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-language.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. #%doc doc/*
  58. /usr/bin/system-config-language
  59. %dir /usr/share/system-config-language
  60. /usr/share/system-config-language/*
  61. %attr(0644,root,root) %{_datadir}/applications/system-config-language.desktop
  62. %attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/system-config-language.png
  63. %attr(0644,root,root) %config /etc/security/console.apps/system-config-language
  64. %attr(0644,root,root) %config /etc/pam.d/system-config-language
  65. %changelog
  66. * Wed Apr 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.18-2
  67. - rebuild for Vine 6
  68. * Thu Oct 02 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.18-1
  69. - initial build for Vine Linux
  70. * Fri Feb 15 2008 Chris Lumens <clumens@redhat.com> 1.1.18-2
  71. - Remove the firstboot module.
  72. Resolves: rhbz#431143
  73. * Wed Dec 13 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.18-1
  74. - Update translations (#216093)
  75. * Fri Dec 01 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.17-1
  76. - Update translations (#216093)
  77. - Add new languages (#217125)
  78. * Wed Nov 22 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.16-1
  79. - Update translations (#216093)
  80. * Thu Nov 16 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.15-1
  81. - Use correct Norwegian language (#209438)
  82. - Fix traceback in text mode (#215319)
  83. - Update potfile
  84. * Fri Oct 20 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.14-1
  85. - Fix typos (#211434)
  86. * Mon Oct 16 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.13-1
  87. - Fix Chinese locale re-selection (#208407)
  88. * Fri Oct 13 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.12-1
  89. - Add Orya support (#210373)
  90. * Mon Jul 17 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.11-2
  91. - Don't nuke *.pyc in preun (#198959)
  92. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.1.11-1.1
  93. - rebuild
  94. * Tue Feb 28 2006 Paul Nasrat <pnasrat@redhat.com> - 1.1.11-1
  95. - Update translations
  96. - Serbian locales (#172600)
  97. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  98. - rebuilt
  99. * Mon Oct 24 2005 Paul Nasrat <pnasrat@redhat.com> - 1.1.10-1
  100. - pam_stack deprecated (#170631)
  101. * Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 1.1.9-2
  102. - silence %%post
  103. * Fri Apr 01 2005 Paul Nasrat <pnasrat@redhat.com> 1.1.9-1
  104. - Translation updates
  105. - pygtk deprecations
  106. * Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
  107. - rebuilt
  108. * Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 1.1.8-2
  109. - Update the GTK+ theme icon cache on (un)install
  110. * Fri Oct 01 2004 Paul Nasrat <pnasrat@redhat.com> 1.1.8-1
  111. - Indic UTF-8 locales
  112. - Translations
  113. * Wed Sep 29 2004 Paul Nasrat <pnasrat@redhat.com> 1.1.7-1
  114. - update locale-list (bug# 134034)
  115. * Tue Sep 07 2004 Paul Nasrat <pnasrat@redhat.com> 1.1.6-2
  116. - Buildrequires intltool
  117. * Tue Sep 07 2004 Paul Nasrat <pnasrat@redhat.com> 1.1.6-1
  118. - Translatable desktop
  119. * Mon Sep 06 2004 Paul Nasrat <pnasrat@redhat.com> 1.1.5-3
  120. - fix gtk.mainloop/mainquit
  121. * Thu Apr 8 2004 Brent Fox <bfox@redhat.com> 1.1.5-2
  122. - fix icon path (bug #120177)
  123. * Mon Jan 12 2004 Brent Fox <bfox@redhat.com> 1.1.5-1
  124. - update locale-list (bug #107450)
  125. * Fri Jan 9 2004 Brent Fox <bfox@redhat.com> 1.1.4-1
  126. - enable TUI mode
  127. * Wed Jan 07 2004 Than Ngo <than@redhat.com> 1.1.3-1
  128. - make changes for Python2.3
  129. * Thu Nov 20 2003 Brent Fox <bfox@redhat.com> 1.1.2-1
  130. - fix typo in the Obsoletes
  131. * Wed Nov 19 2003 Brent Fox <bfox@redhat.com> 1.1.1-1
  132. - rebuild
  133. * Wed Nov 12 2003 Brent Fox <bfox@redhat.com> 1.1.0-1
  134. - add Obsoletes for redhat-config-language
  135. - make changes for Python2.3
  136. * Mon Nov 10 2003 Brent Fox <bfox@redhat.com> 1.1.0-1
  137. - convert redhat-config-language into system-config-language
  138. * Mon Oct 13 2003 Brent Fox <bfox@redhat.com> 1.0.16-1
  139. - rebuild for latest translations (bug #106618)
  140. * Mon Sep 15 2003 Brent Fox <bfox@redhat.com> 1.0.15-2
  141. - bump release num and rebuild
  142. * Mon Sep 15 2003 Brent Fox <bfox@redhat.com> 1.0.15-1
  143. - add Requires for rhpl (bug #104210)
  144. * Thu Aug 14 2003 Brent Fox <bfox@redhat.com> 1.0.14-1
  145. - tag on every release
  146. * Wed Aug 13 2003 Brent Fox <bfox@redhat.com> 1.0.12-1
  147. - remove python-tools dependency
  148. * Thu Jul 31 2003 Brent Fox <bfox@redhat.com> 1.0.11-2
  149. - bump relnum and rebuild
  150. * Thu Jul 31 2003 Brent Fox <bfox@redhat.com> 1.0.11-1
  151. - fix build problem
  152. * Thu Jul 31 2003 Brent Fox <bfox@redhat.com> 1.0.10-2
  153. - bump relnum and rebuild
  154. * Thu Jul 31 2003 Brent Fox <bfox@redhat.com> 1.0.10-1
  155. - change runPriority
  156. * Thu Jul 3 2003 Brent Fox <bfox@redhat.com> 1.0.9-2
  157. - bump relnum and rebuild
  158. * Thu Jul 3 2003 Brent Fox <bfox@redhat.com> 1.0.9-1
  159. - use UTF-8 in CJK locales (bug #98522)
  160. * Wed Jul 2 2003 Brent Fox <bfox@redhat.com> 1.0.8-2
  161. - bump relnum and rebuild
  162. * Wed Jul 2 2003 Brent Fox <bfox@redhat.com> 1.0.8-1
  163. - use rhpl translation module
  164. * Thu Jun 26 2003 Brent Fox <bfox@redhat.com> 1.0.7-1
  165. - make sure the config file is written before calling changeLocale()
  166. * Thu Jun 26 2003 Brent Fox <bfox@redhat.com> 1.0.6-1
  167. - add some hooks for firstboot so locale can change on the fly (#91984)
  168. * Wed May 21 2003 Brent Fox <bfox@redhat.com> 1.0.5-1
  169. - add some hacks to make simplified chinese work (bug #84772)
  170. * Tue Feb 18 2003 Brent Fox <bfox@redhat.com> 1.0.4-1
  171. - update locale-list (bug #84183)
  172. * Wed Feb 12 2003 Jeremy Katz <katzj@redhat.com> 1.0.3-3
  173. - fixes for cjk tui (#83518)
  174. * Thu Jan 30 2003 Brent Fox <bfox@redhat.com> 1.0.3-2
  175. - fix a po file encoding problem. please use utf-8 in the future
  176. * Thu Jan 30 2003 Brent Fox <bfox@redhat.com> 1.0.3-1
  177. - bump and build
  178. * Thu Jan 23 2003 Brent Fox <bfox@redhat.com> 1.0.2-2
  179. - add Bulgarian to locale-list
  180. * Thu Jan 23 2003 Brent Fox <bfox@redhat.com> 1.0.2-1
  181. - update translations in desktop file
  182. * Tue Dec 17 2002 Bill Nottingham <notting@redhat.com> 1.0.1-13
  183. - fix dangling symlink that broke firstboot
  184. * Mon Dec 16 2002 Brent Fox <bfox@redhat.com> 1.0.1-12
  185. - fix a typo
  186. * Mon Dec 16 2002 Brent Fox <bfox@redhat.com> 1.0.1-11
  187. - show a warning if run in console mode (bug #78739)
  188. * Sun Dec 15 2002 Brent Fox <bfox@redhat.com> 1.0.1-10
  189. - strip off @euro from the supported langs (bug #77637)
  190. * Tue Nov 12 2002 Brent Fox <bfox@redhat.com> 1.0.1-9
  191. - pam path changes
  192. * Tue Oct 15 2002 Brent Fox <bfox@redhat.com> 1.0.1-8
  193. - Handle upgrading with different encodings in /etc/sysconfig/clock
  194. * Thu Sep 19 2002 Brent Fox <bfox@redhat.com> 1.0.1-7
  195. - Patch to desktop file from kmraas@online.no applied for [no] translation
  196. * Tue Sep 10 2002 Bill Nottingham <notting@redhat.com> 1.0.1-6
  197. - don't write SYSFONTACM="utf8"; switch default font to match anaconda
  198. * Tue Sep 3 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.0.1-5
  199. - Obsolete locale_config
  200. * Wed Aug 28 2002 Brent Fox <bfox@redhat.com> 1.0.1-4
  201. - Convert to noarch
  202. * Wed Aug 28 2002 Brent Fox <bfox@redhat.com> 1.0.1-3
  203. - Remove dupe for Romanian
  204. * Wed Aug 28 2002 Brent Fox <bfox@redhat.com> 1.0.1-2
  205. - Only apply the changes if the user actually changed something
  206. * Wed Aug 21 2002 Preston Brown <pbrown@localhost.localdomain> 1.0.1-1
  207. - we were writing to the wrong gdm file...
  208. * Fri Aug 16 2002 Brent Fox <bfox@redhat.com> 1.0-2
  209. - pull translations into locale-list
  210. - convert locale-list to UTF-8
  211. * Fri Aug 16 2002 Preston Brown <pbrown@redhat.com> 1.0-1
  212. - reset GDM config if lang changes
  213. * Wed Aug 14 2002 Brent Fox <bfox@redhat.com> 0.9.9-8
  214. - call destroy on window close
  215. * Tue Aug 13 2002 Tammy Fox <tfox@redhat.com> 0.9.9-7
  216. - better icon
  217. * Tue Aug 13 2002 Brent Fox <bfox@redhat.com> 0.9.9-6
  218. - Fix desktop file icon path
  219. * Mon Aug 12 2002 Brent Fox <bfox@redhat.com> 0.9.9-5
  220. - update locale list
  221. * Mon Aug 12 2002 Tammy Fox <tfox@redhat.com> 0.9.9-4
  222. - Replace System with SystemSetup in desktop file categories
  223. * Sun Aug 11 2002 Brent Fox <bfox@redhat.com> 0.9.9-3
  224. - fix desktop file
  225. * Mon Aug 05 2002 Brent Fox <bfox@redhta.com> 0.9.9-1
  226. - pull in desktop file translations
  227. * Fri Aug 02 2002 Tammy Fox <tfox@redhat.com> 0.9.8-2
  228. - Fix desktop file categories
  229. * Fri Aug 02 2002 Brent Fox <bfox@redhat.com> 0.9.8-1
  230. - Make changes for new pam timestamp policy
  231. * Wed Jul 24 2002 Brent Fox <bfox@redhat.com> 0.9.6-3
  232. - fix Makefiles and spec files so that translations get installed
  233. * Wed Jul 24 2002 Brent Fox <bfox@redhat.com> 0.9.6-2
  234. - update spec file for public beta 2
  235. * Tue Jul 23 2002 Tammy Fox <tfox@redhat.com> 0.9.5-2
  236. - Fix desktop file (bug #69475)
  237. * Thu Jul 18 2002 Brent Fox <bfox@redhat.com> 0.9.5-1
  238. - Update for pygtk2 API change
  239. * Tue Jul 16 2002 Brent Fox <bfox@redhat.com> 0.9.4-2
  240. - bump rev num and rebuild
  241. * Thu Jul 11 2002 Brent Fox <bfox@redhat.com> 0.9.3-2
  242. - Update changelogs and rebuild
  243. * Thu Jul 11 2002 Brent Fox <bfox@redhat.com> 0.9.3-1
  244. - Update changelogs and rebuild
  245. * Mon Jul 01 2002 Brent Fox <bfox@redhat.com> 0.9.2-1
  246. - Bump rev number
  247. * Mon Jul 01 2002 Brent Fox <bfox@redhat.com> 0.9.2-1
  248. - Bump rev number
  249. * Thu Jun 27 2002 Brent Fox <bfox@redhat.com> 0.9.1-2
  250. - Added a message dialog when applying changes
  251. * Wed Jun 26 2002 Brent Fox <bfox@redhat.com> 0.9.1-1
  252. - Fixed description
  253. * Tue Jun 25 2002 Brent Fox <bfox@redhat.com> 0.9.4-5
  254. - Create pot file
  255. * Mon Jun 24 2002 Brent Fox <bfox@redhat.com> 0.9.4-4
  256. - Fix spec file
  257. * Fri Jun 21 2002 Brent Fox <bfox@redhat.com> 0.9.0-3
  258. - Remove cancel button
  259. - init doDebug to None
  260. * Thu Jun 20 2002 Brent Fox <bfox@redhat.com> 0.9.0-2
  261. - Don't pass doDebug into init
  262. - Add snapsrc to Makefile
  263. * Wed May 29 2002 Brent Fox <bfox@redhat.com> 0.2.0-6
  264. - handle an existing but empty i18n file
  265. * Sun May 26 2002 Brent Fox <bfox@redhat.com> 0.2.0-5
  266. - raise a RuntimeError if /etc/sysconfig/i18n file doesn't exist
  267. * Tue May 14 2002 Brent Fox <bfox@redhat.com>
  268. - improved check for existing i18n file
  269. - added debug mode capability
  270. * Tue Nov 28 2001 Brent Fox <bfox@redhat.com>
  271. - initial coding and packaging