File telepathy-butterfly.spec of Package telepathy-butterfly

# spec file for package telepathy-butterfly (Version 0.5.15)
# Copyright (c) 2010 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

Name:           telepathy-butterfly
Version:        0.5.15
Release:        2
License:        GPLv2+
Summary:        MSN (butterfly) connection manager for Telepathy
Group:          Productivity/Networking/Instant Messenger
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM telepathy-butterfly-bad-import.patch -- Remove bad import. Taken from upstream git, commit18b44d
Patch0:         telepathy-butterfly-bad-import.patch
BuildRequires:  fdupes
BuildRequires:  python
Requires:       papyon
Requires:       python-libproxy
Requires:       python-telepathy
# For directory ownership:
BuildRequires:  dbus-1
Requires:       dbus-1
# This is highly advised by upstream, as some mess with logs appears
# otherwise. Empathy 2.29.92 has all the infrastructure needed to
# spare us from the bug reports.
Conflicts:      empathy < 2.29.92
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%define python_sitearch %{py_sitedir}
BuildArch:      noarch

Butterfly is a connection manager for Telepathy that provide support for
MSN, via the papyon library.

%setup -q
%patch0 -p1

%__make %{?jobs:-j%jobs}

%fdupes %{buildroot}/%{python_sitelib}

%{__rm} -rf %{buildroot}

%defattr(-, root, root)
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/managers

openSUSE Build Service is sponsored by