source: projects/specs/branches/6/s/system-config-keyboard/system-config-keyboard-vl.spec @ 4008

Revision 4008, 10.4 KB checked in by daisuke, 13 years ago (diff)

update patches for anaconda

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