]>
Commit | Line | Data |
---|---|---|
cdb9df53 | 1 | Summary: DRI configuration GUI |
7d5b9c43 | 2 | Summary(pl.UTF-8): Graficzny interfejs do konfiguracji DRI |
cdb9df53 | 3 | Name: driconf |
28a66b27 | 4 | Version: 0.9.1 |
b7323a64 | 5 | Release: 5 |
95af323b | 6 | License: GPL v2+ |
cdb9df53 | 7 | Group: X11/Applications |
95af323b | 8 | # 404 currently |
28a66b27 JW |
9 | Source0: http://people.freedesktop.org/~fxkuehl/driconf/%{name}-%{version}.tar.gz |
10 | # Source0-md5: 76d610bcd56aa5e8a489debb5081178a | |
95af323b | 11 | URL: http://dri.sourceforge.net/wiki/DriConf |
cdb9df53 | 12 | BuildRequires: python |
28a66b27 | 13 | BuildRequires: python-devel |
01f287a6 | 14 | BuildRequires: python-modules |
28a66b27 | 15 | BuildRequires: rpm-pythonprov |
0f3132bd | 16 | BuildRequires: rpmbuild(macros) >= 1.710 |
124862d1 | 17 | Requires: python-pygtk-gtk >= 2:2.4 |
5b7a0fdb | 18 | Requires: xorg-app-xdriinfo |
cdb9df53 JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | DRIConf is the first configuration GUI for DRI and the new | |
23 | ConfigurationInfrastructure. It is written in Python with the | |
24 | python-gtk toolkit bindings. | |
25 | ||
03566a02 | 26 | %description -l pl.UTF-8 |
cdb9df53 | 27 | DRIConf to pierwszy graficzny interfejs do konfiguracji DRI i nowej |
03566a02 | 28 | infrastruktury konfiguracji. Jest napisany w Pythonie z użyciem wiązań |
cdb9df53 JB |
29 | python-gtk. |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
266168af | 35 | %py_build |
cdb9df53 JB |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
266168af | 40 | %py_install \ |
cdb9df53 | 41 | --prefix=%{_prefix} \ |
013c1c76 | 42 | --install-purelib=%{py_sitescriptdir} \ |
cdb9df53 JB |
43 | --root=$RPM_BUILD_ROOT |
44 | ||
95af323b | 45 | %py_postclean |
cdb9df53 | 46 | |
e0bdeca1 | 47 | %find_lang %{name} |
48 | ||
cdb9df53 JB |
49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
e0bdeca1 | 52 | %files -f %{name}.lang |
cdb9df53 JB |
53 | %defattr(644,root,root,755) |
54 | %doc CHANGELOG README TODO | |
95af323b | 55 | %attr(755,root,root) %{_bindir}/driconf |
e0bdeca1 | 56 | %{_datadir}/driconf |
95af323b JB |
57 | %{py_sitescriptdir}/dri.py[co] |
58 | %{py_sitescriptdir}/driconf*.py[co] | |
59 | %if "%{py_ver}" > "2.4" | |
60 | %{py_sitescriptdir}/driconf-*.egg-info | |
61 | %endif |