48dccd1
Name:           driconf
48dccd1
Version:        0.9.1
e2119d3
Release:        24%{?dist}
48dccd1
Summary:        A configuration applet for the Direct Rendering Infrastructure
48dccd1
48dccd1
Group:          User Interface/X
5309b4c
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
61b75e5
Patch2:         driconf-0.9.1-glxinfo-unicode.patch
61b75e5
Patch3:         driconf-0.9.1-update-toolbar-methods.patch
43c6938
Patch4:         http://patch-tracking.debian.net/patch/misc/dl/driconf/0.9.1-2/driconf_simpleui.py
732a263
48dccd1
48dccd1
BuildRequires:  python-devel
48dccd1
BuildRequires:  desktop-file-utils
48dccd1
BuildArch:      noarch
61b75e5
Requires:       pygtk2
61b75e5
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
732a263
%patch2 -p1
732a263
%patch3 -p1
43c6938
%patch4 -p1
48dccd1
48dccd1
%build
48dccd1
%{__python} setup.py build
48dccd1
48dccd1
%install
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
61b75e5
Icon=/usr/share/driconf/driconf-icon
48dccd1
Terminal=false
48dccd1
Type=Application
48dccd1
Categories=Settings;
48dccd1
EOF
48dccd1
61b75e5
desktop-file-install \
48dccd1
        --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.desktop
48dccd1
48dccd1
%files -f driconf.lang
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
5bb8bae
%{python_sitelib}/driconf-0.9.1-py?.?.egg-info
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
61b75e5
%{_datadir}/applications/%{name}.desktop
48dccd1
48dccd1
%changelog
e2119d3
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-24
e2119d3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e2119d3
2880cd8
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-23
2880cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2880cd8
5dc0c6a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-22
5dc0c6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5dc0c6a
614ad0c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-21
614ad0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
614ad0c
0bd1051
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-20
0bd1051
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0bd1051
61b75e5
* Sun Feb 24 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.1-19
61b75e5
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
61b75e5
- clean up spec to follow current guidelines
61b75e5
f66196f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-18
f66196f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f66196f
535c6c9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-17
535c6c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
535c6c9
95d8f5a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-16
95d8f5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
95d8f5a
50511b8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-15
50511b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
50511b8
ef9e19f
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.1-14
ef9e19f
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
ef9e19f
2ac9417
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
2ac9417
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2ac9417
7aac6a5
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-12
7aac6a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7aac6a5
43c6938
* Tue Feb 03 2009 Kevin Fenzi <kevin@tummy.com> - 0.9.1-11
43c6938
- Add patch for traceback issue (fixes bug #482915)
43c6938
5bb8bae
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.1-10
5bb8bae
- Fix locations for Python 2.6
5bb8bae
6394de8
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.1-9
6394de8
- Rebuild for Python 2.6
6394de8
732a263
* Sun Jun  8 2008 Kevin Fenzi <kevin@tummy.com> - 0.9.1-8
732a263
- Improve unicode support (fixes bug #450083)
732a263
6e2adb8
* Tue Jan 15 2008 Kevin Fenzi <kevin@tummy.com> - 0.9.1-7
6e2adb8
- Add egginfo file. 
6e2adb8
5309b4c
* Tue Aug 21 2007 Kevin Fenzi <kevin@tummy.com> - 0.9.1-6
5309b4c
- Update license tag. 
5309b4c
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.