diff --git a/liblarch-2.1.0.tar.gz b/liblarch-2.1.0.tar.gz deleted file mode 100644 index ff665d2..0000000 --- a/liblarch-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f55b8ce2c6350b614f46acf826c323b03bd64890288dd25b31cda3ccdb59d49b -size 26829 diff --git a/python-liblarch.changes b/python-liblarch.changes index a520f35..eb22f51 100644 --- a/python-liblarch.changes +++ b/python-liblarch.changes @@ -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. + diff --git a/python-liblarch.spec b/python-liblarch.spec index 58553e8..1f79a54 100644 --- a/python-liblarch.spec +++ b/python-liblarch.spec @@ -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 diff --git a/v3.0.tar.gz b/v3.0.tar.gz new file mode 100644 index 0000000..9a04198 --- /dev/null +++ b/v3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d8b337d7a71ea84387e90196b465f617649b59a1c8f0b0c49e6655987ac730c +size 55785