]> git.pld-linux.org Git - packages/python-dbus.git/blame - python-dbus.spec
- updated to 0.82.3
[packages/python-dbus.git] / python-dbus.spec
CommitLineData
1a760d13 1#
a797bc9b 2# TODO:
a797bc9b 3# - package documentation
4#
1a760d13 5%define dbus_version 0.91
6%define expat_version 1:1.95.5
7%define glib2_version 1:2.12.1
8%define rname dbus-python
9#
10Summary: Python library for using D-BUS
b52e4a1e 11Summary(pl.UTF-8): Biblioteka do używania D-BUS oparta o Pythona
1a760d13 12Name: python-dbus
bec1dc7e 13Version: 0.82.3
6370c921 14Release: 1
bec1dc7e 15License: AFL v2.1 or GPL v2 (some parts relicensed on MIT)
7018692f 16Group: Libraries/Python
9c8b3a6a 17Source0: http://dbus.freedesktop.org/releases/dbus-python/%{rname}-%{version}.tar.gz
bec1dc7e 18# Source0-md5: 6b7626979b63994613a533a2d244c48c
99333d3a 19URL: http://www.freedesktop.org/Software/DBusBindings
fc7ea16e 20BuildRequires: autoconf >= 2.59c
1a760d13 21BuildRequires: automake
22BuildRequires: cpp
fc7ea16e 23BuildRequires: dbus-devel >= 0.93
a797bc9b 24BuildRequires: dbus-glib-devel >= 0.73
1a760d13 25BuildRequires: libtool
26BuildRequires: pkgconfig
03599d26 27BuildRequires: python-devel >= 1:2.5
1a760d13 28BuildRequires: rpmbuild(macros) >= 1.268
29BuildRequires: rpm-pythonprov
30%pyrequires_eq python-modules
a797bc9b 31Requires: dbus-glib >= 0.73
fc7ea16e 32Requires: dbus-libs >= 0.93
1a760d13 33Requires: python-libxml2 >= 1:2.6.26
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37D-BUS add-on library to integrate the standard D-BUS library with
38Python.
39
029680e0 40%description -l pl.UTF-8
1a760d13 41Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
42z Pythonem.
43
8bc76f31
JB
44%package devel
45Summary: C API for _dbus_bindings module
46Summary(pl.UTF-8): API C dla modułu _dbus_bindings
47License: AFL v2.1 or LGPL v2.1
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: dbus-devel >= 0.93
51Requires: python-devel >= 1:2.5
52
53%description devel
54C API for _dbus_bindings module.
55
56%description devel -l pl.UTF-8
57API C dla modułu _dbus_bindings.
58
1a760d13 59%prep
60%setup -qn %{rname}-%{version}
1a760d13 61
62%build
6370c921
PZ
63%configure \
64 CPPFLAGS="-I/usr/include/python2.5"
a797bc9b 65%{__make}
1a760d13 66
67%install
68rm -rf $RPM_BUILD_ROOT
69
a797bc9b 70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
fc7ea16e
JB
72
73%py_postclean
74rm -f $RPM_BUILD_ROOT%{py_sitedir}/_dbus*.la
1a760d13 75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
3d663292 81# AFL not in common-licenses, so COPYING included
8bc76f31 82%doc AUTHORS COPYING COPYING.AFL-2.1 ChangeLog NEWS
a797bc9b 83%dir %{py_sitescriptdir}/dbus
84%dir %{py_sitescriptdir}/dbus/mainloop
85%attr(755,root,root) %{py_sitedir}/_dbus*.so
86%{py_sitescriptdir}/*.py[co]
87%{py_sitescriptdir}/dbus/*.py[co]
88%{py_sitescriptdir}/dbus/mainloop/*.py[co]
89#%{py_sitedir}/dbus_python-*.egg-info
fc7ea16e 90
8bc76f31
JB
91%files devel
92%defattr(644,root,root,755)
93%{_includedir}/dbus-1.0/dbus/dbus-python.h
94%{_pkgconfigdir}/dbus-python.pc
This page took 0.045132 seconds and 4 git commands to generate.