system-config-language-vl.spec 11 KB

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