File matrix-synapse-angular-client.spec of Package matrix-synapse-angular-client

#
# spec file for package python-matrix-angular-sdk
#
# Copyright (c) 2017 SUSE LINUX 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/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname matrix-angular-sdk
Name:           matrix-synapse-angular-client
Version:        0.6.8
Release:        0
License:        Apache-2.0
Summary:        Matrix Angular Sdk
Url:            https://github.com/matrix-org/%{modname}
Group:          Development/Languages/Python
Source:         https://files.pythonhosted.org/packages/source/m/%{modname}/%{modname}-%{version}.tar.gz
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%ifpython2
Provides:       %{name} = %{version}
%endif

%python_subpackages

%description
.. DANGER::
   **matrix-angular-sdk is not currently being maintained or developed by the core
   team, and whilst stable it has some serious performance issues; Angular makes it
   a bit too easy to shoot yourself in the foot and doesn't help you escape when
   you do so.  All of our current focus is going into the
   https://github.com/matrix-org/matrix-js-sdk, https://github.com/matrix-org/matrix-react-sdk
   and https://github.com/matrix-org/matrix-react-skin stack instead - please use
   those rather than this if you want support from the core team.  Thanks!**

.. image:: http://matrix.org/jenkins/buildStatus/icon?job=SynapseWebClient
   :target: http://matrix.org/jenkins/job/SynapseWebClient/

This project provides AngularJS services for implementing the `Client-Server API`_
on Matrix_ : an open standard for interoperable Instant Messaging and VoIP. It 
comes shipped with Synapse_ : a home server reference implementation.

This project also provides a complete, stand-alone client which can communicate 
with Matrix home servers using a web browser.

%prep
%setup -q -n %{modname}-%{version}

%build

%python_build

%install
%python_install
%fdupes %{buildroot}%{_prefix}

%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by