1 | Summary: A configuration applet for the Direct Rendering Infrastructure |
---|
2 | Summary(ja): DRI を設定するためのアプレット |
---|
3 | Name: driconf |
---|
4 | Version: 0.9.1 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | |
---|
7 | Group: User Interface/X |
---|
8 | License: GPLv2+ |
---|
9 | URL: http://dri.freedesktop.org/wiki/DriConf |
---|
10 | Source0: http://people.freedesktop.org/~fxkuehl/driconf/driconf-%{version}.tar.gz |
---|
11 | Patch1: driconf-0.9.1-setup.patch |
---|
12 | Patch2: driconf-0.9.1-glxinfo-unicode.patch |
---|
13 | Patch3: driconf-0.9.1-update-toolbar-methods.patch |
---|
14 | Patch4: http://patch-tracking.debian.net/patch/misc/dl/driconf/0.9.1-2/driconf_simpleui.py |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | BuildArch: noarch |
---|
18 | |
---|
19 | BuildRequires: python-devel |
---|
20 | BuildRequires: desktop-file-utils |
---|
21 | Requires: pygtk2 |
---|
22 | Requires: glx-utils |
---|
23 | |
---|
24 | %description |
---|
25 | DRIconf is a configuration applet for the Direct Rendering Infrastructure. |
---|
26 | It allows customizing performance and visual quality settings of OpenGL |
---|
27 | drivers on a per-driver, per-screen and/or per-application level. |
---|
28 | |
---|
29 | The settings are stored in system wide and per-user XML configuration files, |
---|
30 | which are parsed by the OpenGL drivers on startup. |
---|
31 | |
---|
32 | DRIConf is written in Python with the python-gtk toolkit bindings. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | %patch1 -p1 |
---|
37 | %patch2 -p1 |
---|
38 | %patch3 -p1 |
---|
39 | %patch4 -p1 |
---|
40 | |
---|
41 | %build |
---|
42 | %{__python} setup.py build |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix} |
---|
47 | |
---|
48 | %find_lang driconf |
---|
49 | |
---|
50 | cat << EOF > %{name}.desktop |
---|
51 | [Desktop Entry] |
---|
52 | Name=Driconf |
---|
53 | Comment=configuration applet for the Direct Rendering Infrastructure |
---|
54 | Exec=/usr/bin/driconf |
---|
55 | Icon=/usr/share/driconf/driconf-icon.png |
---|
56 | Terminal=false |
---|
57 | Type=Application |
---|
58 | Encoding=UTF-8 |
---|
59 | Categories=Settings; |
---|
60 | EOF |
---|
61 | |
---|
62 | desktop-file-install --vendor "" \ |
---|
63 | --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.desktop |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %files -f driconf.lang |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %doc COPYING CHANGELOG README TODO |
---|
71 | %{_bindir}/driconf |
---|
72 | %{python_sitelib}/dri.py |
---|
73 | %{python_sitelib}/dri.pyc |
---|
74 | %{python_sitelib}/dri.pyo |
---|
75 | %{python_sitelib}/driconf.py |
---|
76 | %{python_sitelib}/driconf.pyc |
---|
77 | %{python_sitelib}/driconf.pyo |
---|
78 | %{python_sitelib}/driconf_commonui.py |
---|
79 | %{python_sitelib}/driconf_commonui.pyc |
---|
80 | %{python_sitelib}/driconf_commonui.pyo |
---|
81 | %{python_sitelib}/driconf_complexui.py |
---|
82 | %{python_sitelib}/driconf_complexui.pyc |
---|
83 | %{python_sitelib}/driconf_complexui.pyo |
---|
84 | %{python_sitelib}/driconf_simpleui.py |
---|
85 | %{python_sitelib}/driconf_simpleui.pyc |
---|
86 | %{python_sitelib}/driconf_simpleui.pyo |
---|
87 | %{python_sitelib}/driconf-0.9.1-py?.?.egg-info |
---|
88 | %dir %{_datadir}/driconf |
---|
89 | %{_datadir}/driconf/card.png |
---|
90 | %{_datadir}/driconf/drilogo.jpg |
---|
91 | %{_datadir}/driconf/screen.png |
---|
92 | %{_datadir}/driconf/screencard.png |
---|
93 | %{_datadir}/driconf/driconf-icon.png |
---|
94 | %{_datadir}/applications/*.desktop |
---|
95 | |
---|
96 | %changelog |
---|
97 | * Thu Feb 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.1-3 |
---|
98 | - rebuilt |
---|
99 | |
---|
100 | * Fri Feb 19 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.1-2 |
---|
101 | - rebuild with python-2.6 |
---|
102 | |
---|
103 | * Sun Sep 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.1-1 |
---|
104 | - initial build for Vine Linux |
---|
105 | |
---|
106 | * Sun Jun 8 2008 Kevin Fenzi <kevin@tummy.com> - 0.9.1-8 |
---|
107 | - Improve unicode support (fixes bug #450083) |
---|
108 | |
---|
109 | * Tue Jan 15 2008 Kevin Fenzi <kevin@tummy.com> - 0.9.1-7 |
---|
110 | - Add egginfo file. |
---|
111 | |
---|
112 | * Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 0.9.1-6 |
---|
113 | - Update license tag. |
---|
114 | |
---|
115 | * Wed Dec 20 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-5 |
---|
116 | - Remove unneeded post/postun. |
---|
117 | |
---|
118 | * Tue Dec 19 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-4 |
---|
119 | - Changed desktop catigory to Settings. |
---|
120 | |
---|
121 | * Mon Dec 18 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-3 |
---|
122 | - Changed pygtk2-devel BuildRequires to python-devel |
---|
123 | - Added desktop file. |
---|
124 | |
---|
125 | * Sat Dec 16 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-2 |
---|
126 | - Added Requires for pygtk2 and glx-utils |
---|
127 | |
---|
128 | * Sat Dec 16 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-1 |
---|
129 | - Inital fedora extras packaging |
---|
130 | |
---|
131 | * Fri Mar 31 2005 D. Hageman <dhageman@dracken.com> 0.9.0-1 |
---|
132 | - Updated RPM spec file to handle new version |
---|
133 | |
---|
134 | * Mon Mar 14 2005 D. Hageman <dhageman@dracken.com> 0.2.3-1 |
---|
135 | - Created the initial rpm spec file. |
---|