source: projects/specs/trunk/d/driconf/driconf-vl.spec @ 5742

Revision 5742, 4.0 KB checked in by daisuke, 12 years ago (diff)

new package driconf-0.9.1

Line 
1Summary:        A configuration applet for the Direct Rendering Infrastructure
2Summary(ja):    DRI を設定するためのアプレット
3Name:           driconf
4Version:        0.9.1
5Release:        3%{?_dist_release}
6
7Group:          User Interface/X
8License:        GPLv2+
9URL:            http://dri.freedesktop.org/wiki/DriConf
10Source0:        http://people.freedesktop.org/~fxkuehl/driconf/driconf-%{version}.tar.gz
11Patch1:         driconf-0.9.1-setup.patch
12Patch2:         driconf-0.9.1-glxinfo-unicode.patch
13Patch3:         driconf-0.9.1-update-toolbar-methods.patch
14Patch4:         http://patch-tracking.debian.net/patch/misc/dl/driconf/0.9.1-2/driconf_simpleui.py
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17BuildArch:      noarch
18
19BuildRequires:  python-devel
20BuildRequires:  desktop-file-utils
21Requires:       pygtk2
22Requires:       glx-utils
23
24%description
25DRIconf is a configuration applet for the Direct Rendering Infrastructure.
26It allows customizing performance and visual quality settings of OpenGL
27drivers on a per-driver, per-screen and/or per-application level.
28
29The settings are stored in system wide and per-user XML configuration files,
30which are parsed by the OpenGL drivers on startup.
31
32DRIConf 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
45rm -rf $RPM_BUILD_ROOT
46%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
47
48%find_lang driconf
49
50cat << EOF > %{name}.desktop
51[Desktop Entry]
52Name=Driconf
53Comment=configuration applet for the Direct Rendering Infrastructure
54Exec=/usr/bin/driconf
55Icon=/usr/share/driconf/driconf-icon.png
56Terminal=false
57Type=Application
58Encoding=UTF-8
59Categories=Settings;
60EOF
61
62desktop-file-install --vendor "" \
63        --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ %{name}.desktop
64
65%clean
66rm -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.
Note: See TracBrowser for help on using the repository browser.