]> git.pld-linux.org Git - packages/python-dbus.git/blame - python-dbus.spec
- converted to UTF-8
[packages/python-dbus.git] / python-dbus.spec
CommitLineData
1a760d13 1#
2%define dbus_version 0.91
3%define expat_version 1:1.95.5
4%define glib2_version 1:2.12.1
5%define rname dbus-python
6#
7Summary: Python library for using D-BUS
029680e0 8Summary(pl.UTF-8): Biblioteka do używania D-BUS oparta o Pythona
1a760d13 9Name: python-dbus
10Version: 0.71
1d57fb41 11Release: 6
1a760d13 12License: AFL v2.1 or GPL v2
13Group: Libraries
14Source0: http://dbus.freedesktop.org/releases/%{rname}-%{version}.tar.gz
15# Source0-md5: ee893bc87b784a8c2285f5041b5e7033
16Patch0: dbus-python_fixes.patch
99333d3a 17URL: http://www.freedesktop.org/Software/DBusBindings
1a760d13 18BuildRequires: autoconf >= 2.52
19BuildRequires: automake
20BuildRequires: cpp
21BuildRequires: dbus-glib-devel >= 0.71
22BuildRequires: libtool
23BuildRequires: pkgconfig
48fdf686 24BuildRequires: python-Pyrex >= 0.9.4.2
03599d26 25BuildRequires: python-devel >= 1:2.5
1a760d13 26BuildRequires: rpmbuild(macros) >= 1.268
27BuildRequires: rpm-pythonprov
28%pyrequires_eq python-modules
59878da5 29Requires: dbus-glib >= 0.71
1a760d13 30Requires: python-libxml2 >= 1:2.6.26
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34D-BUS add-on library to integrate the standard D-BUS library with
35Python.
36
029680e0 37%description -l pl.UTF-8
1a760d13 38Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
39z Pythonem.
40
41%prep
42%setup -qn %{rname}-%{version}
43%patch0 -p1
44
45%build
46python setup.py build
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51python setup.py install \
52 --root=$RPM_BUILD_ROOT \
53 --optimize=2
54
55rm -f $RPM_BUILD_ROOT%{py_sitedir}/dbus/*.{py,la,a}
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
3d663292
JB
62# AFL not in common-licenses, so COPYING included
63%doc AUTHORS COPYING ChangeLog NEWS
1a760d13 64%dir %{py_sitedir}/dbus
65%attr(755,root,root) %{py_sitedir}/dbus/*.so
66%{py_sitedir}/dbus/*.py[co]
03599d26 67%{py_sitedir}/dbus_python-*.egg-info
This page took 0.030293 seconds and 4 git commands to generate.