SHA256
1
0
forked from pool/python-xapp
Alexei Sorokin 2017-05-06 20:25:46 +00:00 committed by Git OBS Bridge
commit 15ff7ff913
5 changed files with 115 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
python-xapp-1.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b23af883b386706329fa955dbf8ef9c939084475be803160510df88437f9a600
size 11880

4
python-xapp.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed May 4 17:44:11 UTC 2017 - sor.alexei@meowr.ru
- Initial package.

84
python-xapp.spec Normal file
View File

@ -0,0 +1,84 @@
#
# spec file for package python-xapp
#
# 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/
#
Name: python-xapp
Version: 1.0.0
Release: 0
Summary: XApp library and common files
License: GPL-2.0+
Group: Development/Languages/Python
Url: https://github.com/linuxmint/python-xapp
Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python3-devel
BuildArch: noarch
%description
This project gathers the components which are common to multiple
desktop environments and required to implement cross-DE solutions.
%package -n python2-xapp
Summary: Python 2 XApp library
Group: Development/Languages/Python
%if 0%{?suse_version} > 1320 || 0%{?sle_version} > 120200
Requires: python2-psutil
%else
Requires: python-psutil
%endif
%description -n python2-xapp
This package contains the Python 2 version of the library.
%package -n python3-xapp
Summary: Python 3 XApp library
Group: Development/Languages/Python
Requires: python3-psutil
%description -n python3-xapp
This package contains the Python 3 version of the library.
%prep
%setup -q
%build
for py in python2 python3; do
$py setup.py build
mv build build-$py
done
%install
for py in python2 python3; do
mv build-$py build
$py setup.py install \
--root=%{buildroot} --prefix=%{_prefix}
mv build build-$py
done
%files -n python2-xapp
%defattr(-,root,root)
%doc COPYING debian/changelog
%{python_sitelib}/xapp/
%{python_sitelib}/python_xapp-%{version}-*.egg-info
%files -n python3-xapp
%defattr(-,root,root)
%doc COPYING debian/changelog
%{python3_sitelib}/xapp/
%{python3_sitelib}/python_xapp-%{version}-*.egg-info
%changelog