File papyon.spec of Package papyon

# spec file for package papyon
# Copyright (c) 2012 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:           papyon
Version:        0.5.6
Release:        0
Summary:        Python client library for the MSN protocol
License:        GPL-2.0+
Group:          Development/Libraries/Python
BuildRequires:  fdupes
BuildRequires:  python
BuildRequires:  python-crypto
BuildRequires:  python-gobject2
BuildRequires:  python-pyOpenSSL
BuildRequires:  python-xml
Requires:       python-crypto
Requires:       python-gobject2
Requires:       python-pyOpenSSL
Requires:       python-xml
# The package was named python-msn before
Provides:       python-msn = 0.3.3
Obsoletes:      python-msn < 0.3.3
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{suse_version} > 1110
BuildArch:      noarch
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}

papyon is an MSN client library, that tries to abstract the MSN protocol
gory details.

%setup -q

%{__python} build

%{__python} install --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
%fdupes %{buildroot}/%{python_sitelib}

%{__rm} -rf %{buildroot}

%defattr(-, root, root)