|
|
48dccd1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
48dccd1 |
|
|
|
48dccd1 |
Name: driconf
|
|
|
48dccd1 |
Version: 0.9.1
|
|
|
0ec35c9 |
Release: 7%{?dist}
|
|
|
48dccd1 |
Summary: A configuration applet for the Direct Rendering Infrastructure
|
|
|
48dccd1 |
|
|
|
48dccd1 |
Group: User Interface/X
|
|
|
c7b7527 |
License: GPLv2+
|
|
|
48dccd1 |
URL: http://dri.freedesktop.org/wiki/DriConf
|
|
|
48dccd1 |
Source0: http://people.freedesktop.org/~fxkuehl/driconf/driconf-%{version}.tar.gz
|
|
|
48dccd1 |
Patch1: driconf-0.9.1-setup.patch
|
|
|
0ec35c9 |
Patch2: driconf-0.9.1-glxinfo-unicode.patch
|
|
|
0ec35c9 |
Patch3: driconf-0.9.1-update-toolbar-methods.patch
|
|
|
0ec35c9 |
|
|
|
48dccd1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
48dccd1 |
|
|
|
48dccd1 |
BuildRequires: python-devel
|
|
|
48dccd1 |
BuildRequires: desktop-file-utils
|
|
|
48dccd1 |
BuildArch: noarch
|
|
|
48dccd1 |
Requires: pygtk2
|
|
|
48dccd1 |
Requires: glx-utils
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%description
|
|
|
48dccd1 |
DRIconf is a configuration applet for the Direct Rendering Infrastructure.
|
|
|
48dccd1 |
It allows customizing performance and visual quality settings of OpenGL
|
|
|
48dccd1 |
drivers on a per-driver, per-screen and/or per-application level.
|
|
|
48dccd1 |
|
|
|
48dccd1 |
The settings are stored in system wide and per-user XML configuration files,
|
|
|
48dccd1 |
which are parsed by the OpenGL drivers on startup.
|
|
|
48dccd1 |
|
|
|
48dccd1 |
DRIConf is written in Python with the python-gtk toolkit bindings.
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%prep
|
|
|
48dccd1 |
%setup -q
|
|
|
48dccd1 |
%patch1 -p1
|
|
|
0ec35c9 |
%patch2 -p1
|
|
|
0ec35c9 |
%patch3 -p1
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%build
|
|
|
48dccd1 |
%{__python} setup.py build
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%install
|
|
|
48dccd1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
48dccd1 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%find_lang driconf
|
|
|
48dccd1 |
|
|
|
48dccd1 |
cat << EOF > %{name}.desktop
|
|
|
48dccd1 |
[Desktop Entry]
|
|
|
48dccd1 |
Name=Driconf
|
|
|
48dccd1 |
Comment=configuration applet for the Direct Rendering Infrastructure
|
|
|
48dccd1 |
Exec=/usr/bin/driconf
|
|
|
48dccd1 |
Icon=/usr/share/driconf/driconf-icon.png
|
|
|
48dccd1 |
Terminal=false
|
|
|
48dccd1 |
Type=Application
|
|
|
48dccd1 |
Encoding=UTF-8
|
|
|
48dccd1 |
Categories=Settings;
|
|
|
48dccd1 |
EOF
|
|
|
48dccd1 |
|
|
|
48dccd1 |
desktop-file-install --vendor fedora \
|
|
|
48dccd1 |
--dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.desktop
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%clean
|
|
|
48dccd1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%files -f driconf.lang
|
|
|
48dccd1 |
%defattr(-,root,root,-)
|
|
|
48dccd1 |
%doc COPYING CHANGELOG README TODO
|
|
|
48dccd1 |
%{_bindir}/driconf
|
|
|
48dccd1 |
%{python_sitelib}/dri.py
|
|
|
48dccd1 |
%{python_sitelib}/dri.pyc
|
|
|
48dccd1 |
%{python_sitelib}/dri.pyo
|
|
|
48dccd1 |
%{python_sitelib}/driconf.py
|
|
|
48dccd1 |
%{python_sitelib}/driconf.pyc
|
|
|
48dccd1 |
%{python_sitelib}/driconf.pyo
|
|
|
48dccd1 |
%{python_sitelib}/driconf_commonui.py
|
|
|
48dccd1 |
%{python_sitelib}/driconf_commonui.pyc
|
|
|
48dccd1 |
%{python_sitelib}/driconf_commonui.pyo
|
|
|
48dccd1 |
%{python_sitelib}/driconf_complexui.py
|
|
|
48dccd1 |
%{python_sitelib}/driconf_complexui.pyc
|
|
|
48dccd1 |
%{python_sitelib}/driconf_complexui.pyo
|
|
|
48dccd1 |
%{python_sitelib}/driconf_simpleui.py
|
|
|
48dccd1 |
%{python_sitelib}/driconf_simpleui.pyc
|
|
|
48dccd1 |
%{python_sitelib}/driconf_simpleui.pyo
|
|
|
48dccd1 |
%dir %{_datadir}/driconf
|
|
|
48dccd1 |
%{_datadir}/driconf/card.png
|
|
|
48dccd1 |
%{_datadir}/driconf/drilogo.jpg
|
|
|
48dccd1 |
%{_datadir}/driconf/screen.png
|
|
|
48dccd1 |
%{_datadir}/driconf/screencard.png
|
|
|
48dccd1 |
%{_datadir}/driconf/driconf-icon.png
|
|
|
48dccd1 |
%{_datadir}/applications/*.desktop
|
|
|
48dccd1 |
|
|
|
48dccd1 |
%changelog
|
|
|
0ec35c9 |
* Sun Jun 8 2008 Kevin Fenzi <kevin@tummy.com> - 0.9.1-7
|
|
|
0ec35c9 |
- Improve unicode support (fixes bug #450083)
|
|
|
0ec35c9 |
|
|
|
c7b7527 |
* Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 0.9.1-6
|
|
|
c7b7527 |
- Update license tag.
|
|
|
c7b7527 |
|
|
|
48dccd1 |
* Wed Dec 20 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-5
|
|
|
48dccd1 |
- Remove unneeded post/postun.
|
|
|
48dccd1 |
|
|
|
48dccd1 |
* Tue Dec 19 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-4
|
|
|
48dccd1 |
- Changed desktop catigory to Settings.
|
|
|
48dccd1 |
|
|
|
48dccd1 |
* Mon Dec 18 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-3
|
|
|
48dccd1 |
- Changed pygtk2-devel BuildRequires to python-devel
|
|
|
48dccd1 |
- Added desktop file.
|
|
|
48dccd1 |
|
|
|
48dccd1 |
* Sat Dec 16 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-2
|
|
|
48dccd1 |
- Added Requires for pygtk2 and glx-utils
|
|
|
48dccd1 |
|
|
|
48dccd1 |
* Sat Dec 16 2006 Kevin Fenzi <kevin@tummy.com> - 0.9.1-1
|
|
|
48dccd1 |
- Inital fedora extras packaging
|
|
|
48dccd1 |
|
|
|
48dccd1 |
* Fri Mar 31 2005 D. Hageman <dhageman@dracken.com> 0.9.0-1
|
|
|
48dccd1 |
- Updated RPM spec file to handle new version
|
|
|
48dccd1 |
|
|
|
48dccd1 |
* Mon Mar 14 2005 D. Hageman <dhageman@dracken.com> 0.2.3-1
|
|
|
48dccd1 |
- Created the initial rpm spec file.
|