]> git.pld-linux.org Git - packages/driconf.git/blob - driconf.spec
BR: rpmbuild(macros) >= 1.710
[packages/driconf.git] / driconf.spec
1 Summary:        DRI configuration GUI
2 Summary(pl.UTF-8):      Graficzny interfejs do konfiguracji DRI
3 Name:           driconf
4 Version:        0.9.1
5 Release:        5
6 License:        GPL v2+
7 Group:          X11/Applications
8 # 404 currently
9 Source0:        http://people.freedesktop.org/~fxkuehl/driconf/%{name}-%{version}.tar.gz
10 # Source0-md5:  76d610bcd56aa5e8a489debb5081178a
11 URL:            http://dri.sourceforge.net/wiki/DriConf
12 BuildRequires:  python
13 BuildRequires:  python-devel
14 BuildRequires:  python-modules
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.710
17 Requires:       python-pygtk-gtk >= 2:2.4
18 Requires:       xorg-app-xdriinfo
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
26 %description -l pl.UTF-8
27 DRIConf to pierwszy graficzny interfejs do konfiguracji DRI i nowej
28 infrastruktury konfiguracji. Jest napisany w Pythonie z użyciem wiązań
29 python-gtk.
30
31 %prep
32 %setup -q
33
34 %build
35 %py_build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %py_install \
41         --prefix=%{_prefix} \
42         --install-purelib=%{py_sitescriptdir} \
43         --root=$RPM_BUILD_ROOT
44
45 %py_postclean
46
47 %find_lang %{name}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files -f %{name}.lang
53 %defattr(644,root,root,755)
54 %doc CHANGELOG README TODO
55 %attr(755,root,root) %{_bindir}/driconf
56 %{_datadir}/driconf
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
This page took 0.145842 seconds and 3 git commands to generate.