source: projects/specs/trunk/s/system-config-display/system-config-display-vl.spec @ 3655

Revision 3655, 17.6 KB checked in by daisuke, 13 years ago (diff)

system-config-display: rebuild for Vine6

Line 
1Summary: A graphical interface for configuring the X Window System display
2Summary(ja): X ウィンドウシステムのディスプレイを設定するためのグラフィカルインタフェース
3Name: system-config-display
4Version: 1.1.3
5Release: 3%{?_dist_release}
6URL: http://fedoraproject.org/wiki/SystemConfig/Tools
7License: GPL
8ExclusiveOS: Linux
9Group: System Environment/Base
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildArch: noarch
12
13Source0: http://fedorahosted.org/releases/s/y/%{name}/%{name}-%{version}.tar.bz2
14Patch10: system-config-display-1.1.3-check-DISPLAY.patch
15
16ExcludeArch: s390 s390x
17BuildRequires: desktop-file-utils
18BuildRequires: intltool, gettext
19Requires: pygtk2 >= 1.99.11
20Requires: pygtk2-libglade
21Requires: python
22Requires: usermode >= 1.98
23Requires: usermode-gtk
24Requires: hwdata
25Requires: dbus-python
26Requires: pyxf86config >= 0.3.16
27Requires: rhpl >= 0.170-1
28Requires: rhpxl >= 0.34-1
29Requires: /usr/bin/Xorg
30Requires: metacity
31Requires: gtk2 >= 2.6
32Requires: hicolor-icon-theme
33
34%description
35system-config-display is a graphical application for configuring an
36X Window System X server display.
37
38%prep
39%setup -q
40%patch10 -p1
41
42for i in src/* ;do
43  perl -pi -e 's|python2|python|g' $i
44done
45
46%build
47make
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make INSTROOT=$RPM_BUILD_ROOT install
52desktop-file-install --vendor "" --delete-original      \
53  --dir $RPM_BUILD_ROOT%{_datadir}/applications         \
54  --remove-category Application                         \
55  --remove-category SystemSetup                         \
56  --add-category Settings                               \
57  $RPM_BUILD_ROOT%{_datadir}/applications/system-config-display.desktop
58chmod a-x $RPM_BUILD_ROOT%{_datadir}/system-config-display/pixmaps/*
59
60%find_lang %name
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%postun
66touch --no-create %{_datadir}/icons/hicolor
67if [ -x /usr/bin/gtk-update-icon-cache -a -e %{_datadir}/icons/hicolor ]; then
68  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
69fi
70
71%post
72touch --no-create %{_datadir}/icons/hicolor
73if [ -x /usr/bin/gtk-update-icon-cache -a -e %{_datadir}/icons/hicolor ]; then
74  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
75fi
76
77
78%files -f %{name}.lang
79%defattr(-,root,root)
80%{_bindir}/system-config-display
81%{_datadir}/system-config-display
82%{_datadir}/applications/*
83%attr(0644,root,root) %config /etc/security/console.apps/system-config-display
84%attr(0644,root,root) %config /etc/pam.d/system-config-display
85%attr(0644,root,root) %{_datadir}/icons/hicolor/48x48/apps/system-config-display.png
86
87%changelog
88* Sat Apr 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-3
89- rebuild for Vine 6
90
91* Mon Aug 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-2
92- add Patch10 to run on no-X environment. (<BTS:760>)
93
94* Tue Apr 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
95- new upstream release
96- remove obsolete patches
97
98* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.51-2
99- require usermode >= 1.98
100
101* Tue Aug 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.51-1
102- initial build for Vine Linux
103
104* Sun Apr 06 2008 Adam Jackson <ajax@redhat.com> 1.0.51-9
105- scd-1.0.51-backtick.patch: Fix unicode hilarity. (#441060)
106
107* Thu Mar 27 2008 Bill Nottingham <notting@redhat.com> 1.0.51-8
108- don't use rhpxl.mouse any more
109
110* Mon Feb 25 2008 Adam Jackson <ajax@redhat.com> 1.0.51-7
111- scd-1.0.51-unkudzify.patch: Replace kudzu dependency with dbus dependency.
112- Fix the chmod fix from -6 to, you know, work.
113
114* Tue Feb 12 2008 Adam Jackson <ajax@redhat.com> 1.0.51-6
115- Clear executable bit from the icons. (#429875)
116
117* Tue Jan 22 2008 Adam Jackson <ajax@redhat.com> 1.0.51-5
118- scd-1.0.51-config-util.patch: Update for new usermode. (#428397)
119
120* Mon Oct 01 2007 Adam Jackson <ajax@redhat.com> 1.0.51-4
121- Un-Require: redhat-artwork, we don't actually require it. (#314001)
122
123* Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 1.0.51-3
124- Remove ppc64 from ExcludeArch.
125
126* Wed Jun 27 2007 Matthias Clasen <mclasen@redhat.com> 1.0.51-2
127- Fix up categories in desktop file
128
129* Wed Apr 11 2007 Adam Jackson <ajax@redhat.com> 1.0.51-1
130- Load the mouse and keyboard configs from the config file, so as not to
131  clobber them. (#145316)
132
133* Wed Mar 28 2007 Jeremy Katz <katzj@redhat.com> - 1.0.50-1
134- start X server with a black background; we don't need xsri anymore
135
136* Thu Mar 22 2007 Adam Jackson <ajax@redhat.com> 1.0.49-1
137- Package review cleanups.
138
139* Mon Jan 29 2007 Adam Jackson <ajax@redhat.com>
140- Copy instead of rename when doing backup of xorg.conf, in case the user has
141  it as a symlink. (#181965)
142
143* Fri Dec 15 2006 Adam Jackson <ajax@redhat.com> 1.0.48-2
144- Rebuild for translations.
145
146* Fri Dec 8 2006 Adam Jackson <ajax@redhat.com>
147- Add dist tag to Release.
148
149* Thu Dec 7 2006 Adam Jackson <ajax@redhat.com> 1.0.48-1
150- Import old driver list code from rhpxl. (#218241)
151
152* Wed Dec 6 2006 Adam Jackson <ajax@redhat.com> 1.0.47-1
153- Fail gracefully on machines with no video.
154
155* Tue Nov 21 2006 Matthias Clasen <mclasen@redhat.com> - 1.0.46-1
156- Fix mnemonic for the color depth combo on the last tab (#216391)
157
158* Wed Sep 13 2006 Adam Jackson <ajackson@redhat.com> 1.0.45-1
159- Refresh the mode state before first paint, to give rhpxl a chance to ask
160  RANDR for the current mode.
161
162* Mon Aug 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.44-1
163- Unpack properly when given a refresh rate instead of a refresh range.
164
165* Fri Aug 25 2006 Adam Jackson <ajackson@redhat.com> 1.0.43-1
166- Drop 8bpp support.
167- Simplify monitor selection view.
168- Fix initial window sizing to be large enough for all fields.
169
170* Mon Aug 21 2006 Adam Jackson <ajackson@redhat.com> 1.0.42-1
171- Align lists correctly in RTL locales.  (#202754)
172
173* Thu Aug  3 2006 Bill Nottingham <notting@redhat.com> 1.0.41-1
174- adjust to new rhpxl (<clumens@redhat.com>)
175- work with newer, sparser, config files
176- when dealing with autoprobed monitors, pull current resolution from randr
177
178* Wed Jul 26 2006 Chris Lumens <clumens@redhat.com> 1.0.38-1
179- Fix CHARSET in te and kn translations (#200203).
180- Add gettext to buildrequires.
181
182* Thu Mar 09 2006 Chris Lumens <clumens@redhat.com> 1.0.37-2
183- Add back spec file parts that got lost on last rebuild.
184
185* Tue Mar 07 2006 Chris Lumens <clumens@redhat.com> 1.0.37-1
186- Initialize monitor name label to something other than unknown if we
187  really know what it is.
188
189* Fri Mar 03 2006 Martin Stransky <stransky@redhat.com> 1.0.36-3
190- added pam fix (#170625)
191- fix prereq (#182861, #182862)
192
193* Wed Feb 22 2006 Chris Lumens <clumens@redhat.com> 1.0.36-2
194- Add rhpxl to requires
195
196* Fri Jan 27 2006 Paul Nasrat <pnasrat@redhat.com> - 1.0.36-1
197- Rebuild for translations
198- Fix reconfig mode
199
200* Thu Jan 12 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.35-1
201- Rebuild
202
203* Tue Jan 10 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.34-1
204- Some s/rhpl/rhpxl/ type changes
205
206* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> - 1.0.33-1
207- minor changes needed for modular X
208
209* Wed Sep 21 2005 Bill Nottingham <notting@redhat.com> 1.0.32-1
210- Fix up some leftover code that still needed migration (#168932)
211
212* Fri Sep  9 2005 Bill Nottingham <notting@redhat.com> 1.0.31-1
213- Adapt to new kudzu video driver probing, and new rhpl
214
215* Mon Jun 27 2005 Soren Sandmann <sandmann@redhat.com> 1.0.30-1
216- Add ppc64 to ExcludeArchs
217
218* Mon May 23 2005 Jeremy Katz <katzj@redhat.com> - 1.0.29-1
219- put scriptlets from distcvs in this specfile
220
221* Mon May 23 2005 Jeremy Katz <katzj@redhat.com> - 1.0.28-1
222- fix typo in cleanup leading to traceback (#157423)
223
224* Thu Apr 28 2005 Soren Sandmann <sandmann@redhat.com> 1.0.26-1
225- Clean up deprecation warnings (#153937)
226
227* Tue Jan 04 2005 Paul Nasrat <pnasrat@redhat.com> 1.0.25-1
228- Only merge hardware_state if defined (#143944)
229- Only print card if verbose (#143271)
230
231* Mon Nov 15 2004 Paul Nasrat <pnasrat@redhat.com> 1.0.24-1
232- Dual Head patch for testing thanks to Marc Andre Morissette (#136916)
233
234* Tue Oct 19 2004 Paul Nasrat <pnasrat@redhat.com> 1.0.23-1
235- Firstboot - re-read config so both kbd and display changes persist (#135361)
236
237* Thu Oct 14 2004 Paul Nasrat <pnasrat@redhat.com> 1.0.22-1
238- Depth callback patch from twaugh (#128650)
239
240* Fri Oct 01 2004 Paul Nasrat <pnasrat@redhat.com> 1.0.21-1
241- fix mouse traceback
242
243* Tue Sep 07 2004 Paul Nasrat <pnasrat@redhat.com> - 1.0.20-1
244- Refactor some stuff into rhpl
245- Don't override driver changes unless in reconfig (#127779)
246 
247* Tue Sep 07 2004 Paul Nasrat <pnasrat@redhat.com> - 1.0.19-1
248- Translatable desktop
249- Layout changes for firstboot screen
250
251* Thu Aug 19 2004 Paul Nasrat <pnasrat@redhat.com> - 1.0.18-2
252- Ensure selection string translatable
253
254* Thu Aug 19 2004 Paul Nasrat <pnasrat@redhat.com> - 1.0.18-1
255- Monitor selection for first boot
256
257* Fri Jun 25 2004 Brent Fox <bfox@redhat.com> - 1.0.17-1
258- initialize self.probed_path in videocardDialog.py (bug #113695)
259
260* Wed Jun 23 2004 Brent Fox <bfox@redhat.com> - 1.0.16-1
261- reduce size of monitor-off.png and monitor-on.png to fit in 640x480 (bug #122142)
262
263* Mon Jun 14 2004 Brent Fox <bfox@redhat.com> - 1.0.15-2
264- set the text domain for xconf.py and xConfigDialog.py (bug #123494)
265
266* Wed Jun  2 2004 Alex Larsson <alexl@redhat.com> 1.0.15-1
267- fix --reconfig and catch some exceptions for readonly root
268
269* Tue May 25 2004 Brent Fox <bfox@redhat.com> 1.0.14-2
270- add BuildRequires for desktop-file-utils (bug# 124181)
271
272* Fri Apr 30 2004 Brent Fox <bfox@redhat.com> 1.0.14-1
273- do not write out extra XF86Config file during firstboot (bug #121729)
274
275* Tue Apr 20 2004 Brent Fox <bfox@redhat.com> 1.0.13-3
276- Do not write out XkbRules line to config file, as it is unnecessary to hard
277  code the rules file, which has a built in default which should always
278  work. (#120858)
279
280* Wed Apr 14 2004 Brent Fox <bfox@redhat.com> 1.0.13-2
281- update requires for new pyxf86config
282
283* Tue Apr 13 2004 Brent Fox <bfox@redhat.com> 1.0.13-1
284- make changes for XFree86 -> Xorg conversion
285
286* Thu Apr  8 2004 Brent Fox <bfox@redhat.com> 1.0.12-2
287- fix icon path (bug #120174)
288
289* Tue Mar 23 2004 Brent Fox <bfox@redhat.com> 1.0.12-1
290- filter out duplicate monitor entries (bug #118976)
291
292* Wed Mar 17 2004 Mike A. Harris <mharris@redhat.com> 1.0.11-1
293- Change Requires: XFree86 to Requires: /usr/X11R6/bin/XFree86, which is
294  what it appears from the sources is being called.  That will need to change
295  when the server gets renamed, so it should be implemented IMHO in a way
296  that is not hard coded.  This should suffice for now however.
297- Changed package description to remove "XFree86" name and replace it with
298  generic "X Window System X server" term.
299- Added the "via", and "voodoo" drivers that were missing to internal driver
300  list in videocardDialog.py.  The list is still missing stuff though, but
301  those sprung to mind.
302- Added force-tag target to Makefile with tag -cF
303- Added tag target without -F to Makefile
304- Removed -F from archive target as that can potentially blow away an already
305  tagged and released version from the repository if someone accidentally
306  does a "make archive" without updating the spec file Version: field like
307  I just about did.  ;o)
308
309* Mon Mar  1 2004 Brent Fox <bfox@redhat.com> 1.0.10-1
310- sanity check the monitor selection (bug #112314)
311
312* Mon Mar  1 2004 Brent Fox <bfox@redhat.com> 1.0.9-3
313- remove Requires on system-config-mouse
314
315* Fri Feb 27 2004 Brent Fox <bfox@redhat.com> 1.0.9-2
316- another stab at the dual-head code
317
318* Thu Feb 26 2004 Brent Fox <bfox@redhat.com> 1.0.9-1
319- write out "Screen" entry for dual-head cards
320
321* Tue Feb 24 2004 Brent Fox <bfox@redhat.com> 1.0.8-1
322- start up metacity to make the windows look nice (bug #108206)
323
324* Thu Feb 19 2004 Brent Fox <bfox@redhat.com> 1.0.7-1
325- don't import rhpl.mouse in xconf.py
326
327* Tue Feb 17 2004 Brent Fox <bfox@redhat.com> 1.0.6-1
328- write XF86Config to the correct path (bug #115501)
329
330* Fri Jan 30 2004 Brent Fox <bfox@redhat.com> 1.0.5-1
331- correct naming in the spec file description
332
333* Thu Dec  4 2003 Brent Fox <bfox@redhat.com> 1.0.4-1
334- add code to apply changes made in the firstboot display screen
335
336* Tue Dec  2 2003 Brent Fox <bfox@redhat.com> 1.0.3-1
337- add code to pull display notebook page into firstboot
338
339* Thu Nov 20 2003 Brent Fox <bfox@redhat.com> 1.0.2-1
340- fix path problem
341
342* Wed Nov 19 2003 Brent Fox <bfox@redhat.com> 1.0.1-1
343- rename from redhat-config-xfree86 to system-config-display
344- add Obsoletes for redhat-config-xfree86
345- make changes for Python2
346
347* Thu Oct 23 2003 Brent Fox <bfox@redhat.com> 0.9.15-1
348- work around cards with no driver entries (bug #106501)
349
350* Thu Oct 23 2003 Brent Fox <bfox@redhat.com> 0.9.14-1
351- check length of list before removing items (bug #107790)
352
353* Thu Oct 16 2003 Brent Fox <bfox@redhat.com> 0.9.13-1
354- allow dualhead to be disabled (bug #107261)
355
356* Wed Oct 15 2003 Brent Fox <bfox@redhat.com> 0.9.12-1
357- fix bug #106884 for real this time
358
359* Tue Oct 14 2003 Brent Fox <bfox@redhat.com> 0.9.11-1
360- package lightrays.png inside redhat-config-xfree86
361
362* Mon Oct 13 2003 Brent Fox <bfox@redhat.com> 0.9.10-1
363- make sure current is initialized (bug #106884)
364
365* Mon Oct  6 2003 Brent Fox <bfox@redhat.com> 0.9.9-3
366- add a Requires for XFree86 (bug #105992)
367
368* Mon Oct  6 2003 Brent Fox <bfox@redhat.com> 0.9.9-2
369- finish up the dual-head code
370- catch case of having no layout options
371
372* Thu Oct  2 2003 Brent Fox <bfox@redhat.com> 0.9.9-1
373- first stab at multihead code
374- commit some additional monitor icons
375
376* Thu Aug 14 2003 Brent Fox <bfox@redhat.com> 0.9.8-1
377- tag on every build
378
379* Thu Jun  5 2003 Brent Fox <bfox@redhat.com> 0.9.7-1
380- see if we have the name for an unprobed monitor
381
382* Tue Jun  3 2003 Brent Fox <bfox@redhat.com> 0.9.6-1
383- only offer the resolutions that we know to be reasonable for the selected monitor (bug #88269)
384
385* Fri May 30 2003 Brent Fox <bfox@redhat.com> 0.9.5-1
386- big UI changes
387- make room in the UI for multihead stuff
388
389* Wed May 28 2003 Brent Fox <bfox@redhat.com> 0.7.6-1
390- add an ExcludeArch for s390 and s390x (bug #91811)
391
392* Fri May 23 2003 Brent Fox <bfox@redhat.com> 0.7.5-1
393- turn on horizontal scrolling in videocard window
394- initialize dpi measurement option menu correctly (bug #90190)
395
396* Wed May 21 2003 Michael Fulbright <msf@redhat.com> 0.7.4-1
397- converted to use new way of representing Generic monitors in MonitorsDB
398
399* Tue Feb  4 2003 Brent Fox <bfox@redhat.com> 0.7.3-2
400- paint the background with lightrays.png
401
402* Thu Jan 30 2003 Brent Fox <bfox@redhat.com> 0.7.3-1
403- bump and build
404
405* Tue Jan 21 2003 Brent Fox <bfox@redhat.com> 0.7.2-3
406- add closing parenthesis (bug #80398)
407
408* Mon Jan 20 2003 Brent Fox <bfox@redhat.com> 0.7.2-2
409- iterate through available video cards until one works
410- clean up the output
411
412* Fri Jan 17 2003 Brent Fox <bfox@redhat.com> 0.7.1-6
413- make monitor dialog a little larger and allow horz. scrolling (bug #82112)
414
415* Tue Jan 14 2003 Brent Fox <bfox@redhat.com> 0.7.1-5
416- fixed desktop file icon
417
418* Thu Jan  9 2003 Jeremy Katz <katzj@redhat.com> 0.7.1-4
419- import rhpl.monitor
420
421* Mon Jan  6 2003 Brent Fox <bfox@redhat.com> 0.7.1-3
422- try to read the XMOUSETYPE from /etc/sysconfig/mouse (bug #74992)
423
424* Sun Jan  5 2003 Brent Fox <bfox@redhat.com> 0.7.1-2
425- fix the dialog centering code
426- connect the resolution menu to update_ui so the screenshot gets refreshed
427
428* Sun Jan  5 2003 Brent Fox <bfox@redhat.com> 0.7.1-1
429- change radio buttons to OptionMenus
430
431* Fri Jan  3 2003 Brent Fox <bfox@redhat.com> 0.7.0-6
432- default to us keyboard if /etc/sysconfig/keyboard contains a keyboard unknown to rhpl (bug #80993)
433
434* Sun Dec 22 2002 Brent Fox <bfox@redhat.com> 0.7.0-5
435- change xconfig.comment to reflect that redhat-config-xfree86 made the change
436
437* Fri Dec 20 2002 Brent Fox <bfox@redhat.com> 0.7.0-4
438- call mouse.read() if probing didn't return a valid DEVICE info (bug #80115)
439- import string in videocardDialog.py
440- pass hardware_state into VideocardDialog
441
442* Thu Dec 19 2002 Brent Fox <bfox@redhat.com> 0.7.0-2
443- made some ui cleanups that keeps the dialog from resizing while changing resolutions
444- removed all the autoconf stuff and replaced it with simpler Makefile and spec file
445- rebuild for completeness
446
447* Fri Dec 13 2002 Brent Fox <bfox@redhat.com> 0.7.0-1
448- pulled the classes out into their own files to make it more understandable
449
450* Tue Nov 12 2002 Michael Fulbright <msf@redhat.com> 0.6.9-1
451- migrated to new rhpl based backend
452
453* Tue Nov  5 2002 Alexander Larsson <alexl@redhat.com>
454- Fixed some small bugs
455
456* Thu Sep  5 2002 Alexander Larsson <alexl@redhat.com>
457- Require pygtk2-libglade
458
459* Fri Aug 30 2002 Jeremy Katz <katzj@redhat.com> 0.6.6-1
460- create /etc/X11/X symlink (#73108)
461
462* Wed Aug 28 2002 Alexander Larsson <alexl@redhat.com> 0.6.5-1
463- Fix DRI state changes. (#72255)
464
465* Tue Aug 27 2002 Alexander Larsson <alexl@redhat.com> 0.6.4-1
466- Fix XF86Option typo (#72243)
467
468* Mon Aug 26 2002 Alexander Larsson <alexl@redhat.com> 0.6.3-1
469- Fixes bug #72456
470
471* Fri Aug 23 2002 Alexander Larsson <alexl@redhat.com> 0.6.2-1
472- Fixed part of Bug #72275, the rest is in Gtk+.
473
474* Wed Aug 21 2002 Preston Brown <pbrown@redhat.com> 0.6.1-1
475- fixed starting tool when XF86Config is corrupt (#71461)
476
477* Fri Aug  9 2002 Alexander Larsson <alexl@redhat.com> 0.6.0-1
478- Add 640x480 to list of resolutions
479- Kluge around treeview horizontal scroll bug in videocard dialog
480- set textdomain everywhere it is needed to make i18n work
481- Try --reconfig if starting an xserver with the current config file doesn't work.
482- Tell gdm to restart server on logout after we write the config file.
483
484* Tue Aug  6 2002 Preston Brown <pbrown@redhat.com> 0.5.2-1
485- output to XF86Config (not XF86Config-4) when using --reconfig
486
487* Fri Jul 19 2002 Alexander Larsson <alexl@redhat.com>
488- Obsolete Xconfigurator
489
490* Wed Jun 26 2002 Alexander Larsson <alexl@redhat.com> 0.3.1-1
491- Updated to use configure
492
493* Mon Jun 17 2002 Alexander Larsson <alexl@redhat.com>
494- Bumped version to 0.3.0
495
496* Thu May 30 2002 Alex Larsson <alexl@redhat.com>
497- Bumped to 0.2.2
498
499* Tue May 28 2002 Alex Larsson <alexl@redhat.com>
500- Update to version 0.2.0
501
502* Thu Apr 11 2002 Alex Larsson <alexl@redhat.com> 0.1.0-1
503- Initial release
504
505* Tue Apr  9 2002 Alex Larsson <alexl@redhat.com>
506- Initial specfile
507
508
Note: See TracBrowser for help on using the repository browser.