forked from pool/python-nbxmpp
Accepting request 173291 from home:DarkSS
A XMPP library for Gajim 0.15.3+ Please add a link to devel:languages:python3. The are no x86_64-specific build errors (see Factory for example). It is just an ATM time economy. python3 package is really required to build. "-O1 --skip-build" flags are used to distribute building and installing between corresponding spec-file sections. Sorry, I failed to use %doc and %fdupes together. If it is possible please give me a tip ;) OBS-URL: https://build.opensuse.org/request/show/173291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=1
This commit is contained in:
commit
00161d0815
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
nbxmpp-0.1.tar.gz
Normal file
3
nbxmpp-0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d37713fbc1810beeb7217ef2bcb5f9b54eb0442661dc51dfc677270e5582970
|
||||
size 1520492
|
8
python-nbxmpp.changes
Normal file
8
python-nbxmpp.changes
Normal file
@ -0,0 +1,8 @@
|
||||
Sat Apr 20 14:59:16 UTC 2013 - dap.darkness@gmail.com
|
||||
|
||||
- Fixed up to submit.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 6 19:52:54 UTC 2013 - nekolayer@yandex.ru
|
||||
|
||||
- Initial package.
|
77
python-nbxmpp.spec
Normal file
77
python-nbxmpp.spec
Normal file
@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package python-nbxmpp
|
||||
#
|
||||
# Copyright (c) 2013 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/
|
||||
#
|
||||
|
||||
# To buid at SLE <= 11 SP2.
|
||||
%if 0%{?suse_version} < 1140
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%endif
|
||||
|
||||
Name: python-nbxmpp
|
||||
Version: 0.1
|
||||
Release: 1
|
||||
License: GPL-3.0
|
||||
Summary: XMPP library by Gajim team
|
||||
Url: http://python-nbxmpp.gajim.org/
|
||||
Group: Development/Libraries/Python
|
||||
Source0: nbxmpp-%{version}.tar.gz
|
||||
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel
|
||||
|
||||
# To buid at SLE <= 11 SP2.
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} >= 1140
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Python-nbxmpp is a Python library that provides a way for Python
|
||||
applications to use Jabber/XMPP networks in a non-blocking way. This
|
||||
library is initialy a fork of xmpppy one, but using non-blocking sockets.
|
||||
|
||||
%package doc
|
||||
Summary: Nbxmpp Documentation
|
||||
|
||||
# To buid at SLE <= 11 SP2.
|
||||
Group: Development/Libraries/Python
|
||||
|
||||
%description doc
|
||||
This packages provides documentation of Nbxmpp API.
|
||||
|
||||
%prep
|
||||
%setup -q -n nbxmpp-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
|
||||
%fdupes %{buildroot}%{python_sitelib}
|
||||
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}-doc
|
||||
cp -r doc/* %{buildroot}%{_docdir}/%{name}-doc
|
||||
%fdupes %{buildroot}%{_docdir}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog COPYING README
|
||||
%{python_sitelib}/nbxmpp-*.egg-info
|
||||
%{python_sitelib}/nbxmpp/
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}-doc
|
8
python3-nbxmpp.changes
Normal file
8
python3-nbxmpp.changes
Normal file
@ -0,0 +1,8 @@
|
||||
Sat Apr 20 14:59:16 UTC 2013 - dap.darkness@gmail.com
|
||||
|
||||
- Fixed up to submit.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 6 19:52:54 UTC 2013 - nekolayer@yandex.ru
|
||||
|
||||
- Initial package.
|
66
python3-nbxmpp.spec
Normal file
66
python3-nbxmpp.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python3-nbxmpp
|
||||
#
|
||||
# Copyright (c) 2013 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: python3-nbxmpp
|
||||
Version: 0.1
|
||||
Release: 1
|
||||
License: GPL-3.0
|
||||
Summary: XMPP library by Gajim team
|
||||
Url: http://python-nbxmpp.gajim.org/
|
||||
Group: Development/Libraries/Python
|
||||
Source0: nbxmpp-%{version}.tar.gz
|
||||
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
Requires: python3
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Python-nbxmpp is a Python library that provides a way for Python
|
||||
applications to use Jabber/XMPP networks in a non-blocking way. This
|
||||
library is initialy a fork of xmpppy one, but using non-blocking sockets.
|
||||
|
||||
%package doc
|
||||
Summary: Nbxmpp Documentation
|
||||
|
||||
%description doc
|
||||
This packages provides documentation of Nbxmpp API.
|
||||
|
||||
%prep
|
||||
%setup -q -n nbxmpp-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install -O1 --skip-build --root=%{buildroot} --prefix=%{_prefix}
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}-doc
|
||||
cp -r doc/* %{buildroot}%{_docdir}/%{name}-doc
|
||||
%fdupes %{buildroot}%{_docdir}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog COPYING README
|
||||
%{python3_sitelib}/nbxmpp-*.egg-info
|
||||
%{python3_sitelib}/nbxmpp/
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}-doc
|
Loading…
Reference in New Issue
Block a user