1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://www.freedesktop.org/software/dbus/
13 summary = Dbus Python Bindings.
16 D-Bus python bindings for use with python programs.
19 thisapp = dbus-python-%{version}
21 source_dl = http://dbus.freedesktop.org/releases/dbus-python/
32 configure_options += \
33 --mandir=/usr/share/man
35 DIR_APP3 = %{DIR_APP}-python3
38 cp -av %{DIR_APP} %{DIR_APP3}
41 find -name '*.py' | xargs sed -i '1s|^#!python|#!%{python3}|'
44 find -name '*.py' | xargs sed -i '1s|^#!python|#!%{python}|'
49 export PYTHON=%{python3}
50 ./configure %{configure_options}
51 make %{PARALLELISMFLAGS}
54 export PYTHON=%{python}
55 ./configure %{configure_options}
56 make %{PARALELLISMFLAGS}
61 export PYTHON=%{python3}
62 make install DESTDIR=%{BUILDROOT}
65 export PYTHON=%{python}
66 make install DESTDIR=%{BUILDROOT}
81 package %{name}-debuginfo