File python-telepathy.spec of Package python-telepathy
#
# spec file for package python-telepathy (Version 0.15.11)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-telepathy
%define _name telepathy-python
Version: 0.15.11
Release: 1
License: LGPL v2.1 or later
Summary: Python library for Telepathy
Url: http://telepathy.freedesktop.org/wiki/Telepathy%20Python
Group: Development/Libraries/Python
Source0: %{_name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: libxslt
BuildRequires: python
Requires: dbus-1-python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
%description
The Telepathy project aims to provide a unified framework for all forms
of real time conversations, including instant messaging, IRC, voice
calls and video calls. It uses the DBus messaging system to provide a
simple interface for client applications, allowing them to quickly
benefit from Telepathy's functionality.
%prep
%setup -q -n %{_name}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
%fdupes %{buildroot}/%{python_sitelib}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README examples/
%{python_sitelib}/telepathy
%{python_sitelib}/*.egg-info
%changelog