14
0

Accepting request 619005 from devel:languages:python:singlespec-staging

Clean up SPEC file
Upgrade to 0.3 ... just minor upgrades, py3k port

OBS-URL: https://build.opensuse.org/request/show/619005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-liblarch?expand=0&rev=8
This commit is contained in:
2018-06-25 15:56:34 +00:00
committed by Git OBS Bridge
parent 2b82e3f456
commit 1e2cacc308
4 changed files with 43 additions and 31 deletions

View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 25 15:41:22 UTC 2018 - mcepl@suse.com
- Clean up SPEC file
- Upgrade to 0.3 ... just minor upgrades, py3k port
-------------------------------------------------------------------
Thu Aug 24 13:44:26 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Sat Jan 26 13:52:53 UTC 2013 - zaitor@opensuse.org
@@ -25,3 +36,4 @@ Wed Feb 15 19:34:52 UTC 2012 - dimstar@opensuse.org
- Initial package, version 0.1.0.

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-liblarch
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
@@ -17,30 +17,29 @@
#
Name: python-liblarch
%define _name liblarch
Version: 2.1.0
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-liblarch
Version: 3.0
Release: 0
Summary: A python library to easily handle data structure
License: LGPL-3.0+
License: LGPL-3.0-or-later
Group: Development/Languages/Python
Url: https://live.gnome.org/liblarch
Source: http://gtg.fritalk.com/publique/gtg.fritalk.com/liblarch/2.1.0/%{_name}-%{version}.tar.gz
URL: https://live.gnome.org/liblarch
Source: https://github.com/getting-things-gnome/%{_name}/archive/v%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python
BuildRequires: python-rpm-macros
Requires: python-gobject2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{py_requires}
%else
BuildArch: noarch
%endif
%python_subpackages
%description
Liblarch is a python library built to easily handle data structure such are lists, trees and acyclic graphs
(tree where nodes can have multiple parents)
Liblarch is a python library built to easily handle data structure such
are lists, trees and acyclic graphs (tree where nodes can have multiple
parents)
%package -n python-liblarch_gtk
%package gtk
%define _name_gtk liblarch_gtk
Summary: GTK bindings for liblarch
Group: Development/Languages/Python
@@ -48,9 +47,10 @@ Requires: %{name} = %{version}
Requires: python-gobject2
Requires: python-gtk
%description -n python-liblarch_gtk
Liblarch is a python library built to easily handle data structure such are lists, trees and acyclic graphs
(tree where nodes can have multiple parents)
%description gtk
Liblarch is a python library built to easily handle data structure such
are lists, trees and acyclic graphs (tree where nodes can have multiple
parents)
This package provides GTK bindings for liblarch.
@@ -58,20 +58,20 @@ This package provides GTK bindings for liblarch.
%setup -q -n %{_name}-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --root %{buildroot} --prefix %{_prefix}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%defattr(-,root,root)
%doc README LICENSE
%{python_sitelib}/%{_name}-%{version}-*.egg-info
%{python_sitelib}/%{_name}/
%files %{python_files}
%license LICENSE
%doc README.md AUTHORS
%{python_sitelib}/%{_name}
%{python_sitelib}/%{_name}*.egg-info
%files -n python-liblarch_gtk
%defattr(-,root,root)
%doc README LICENSE
%files %{python_files gtk}
%license LICENSE
%{python_sitelib}/%{_name_gtk}/
%changelog

3
v3.0.tar.gz Normal file
View File

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