]> git.pld-linux.org Git - packages/driconf.git/blob - driconf.spec
d464689739481176f7b75f1bba94b45ea45fda48
[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
7 Group:          X11/Applications
8 Source0:        http://people.freedesktop.org/~fxkuehl/driconf/%{name}-%{version}.tar.gz
9 # Source0-md5:  76d610bcd56aa5e8a489debb5081178a
10 URL:            http://dri.sourceforge.net/cgi-bin/moin.cgi/DriConf
11 BuildRequires:  python
12 BuildRequires:  python-devel
13 BuildRequires:  python-modules
14 BuildRequires:  rpm-pythonprov
15 Requires:       python-pygtk-gtk >= 2:2.4
16 Requires:       xorg-app-xdriinfo
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 DRIConf is the first configuration GUI for DRI and the new
21 ConfigurationInfrastructure. It is written in Python with the
22 python-gtk toolkit bindings.
23
24 %description -l pl.UTF-8
25 DRIConf to pierwszy graficzny interfejs do konfiguracji DRI i nowej
26 infrastruktury konfiguracji. Jest napisany w Pythonie z użyciem wiązań
27 python-gtk.
28
29 %prep
30 %setup -q
31
32 %build
33 python setup.py build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 python setup.py install \
39         --optimize=2 \
40         --prefix=%{_prefix} \
41         --install-purelib=%{py_sitescriptdir} \
42         --root=$RPM_BUILD_ROOT
43
44 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
45
46 %find_lang %{name}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files -f %{name}.lang
52 %defattr(644,root,root,755)
53 %doc CHANGELOG README TODO
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/driconf
56 %{py_sitescriptdir}/*.py[co]
This page took 0.039141 seconds and 2 git commands to generate.