forked from pool/python-liblarch
New package, dependency to gtg 0.2.9, which we're preparing in GNOME:Apps; Please forward to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/105299 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-liblarch?expand=0&rev=1
53 lines
1.7 KiB
RPMSpec
53 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package
|
|
#
|
|
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
|
|
#
|
|
# 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-liblarch
|
|
%define _name liblarch
|
|
Version: 0.1.0
|
|
Release: 0
|
|
License: GPL-3.0+
|
|
Summary: A python library to easily handle data structure
|
|
Url: https://live.gnome.org/liblarch
|
|
Group: Development/Languages/Python
|
|
Source: http://gtg.fritalk.com/publique/gtg.fritalk.com/liblarch/0.1/%{_name}-%{version}.tar.gz
|
|
BuildRequires: python
|
|
Requires: python-gobject2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%py_requires
|
|
|
|
%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)
|
|
|
|
%prep
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
python setup.py install --root %{buildroot} --prefix %{_prefix}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README LICENSE
|
|
%{python_sitelib}/%{_name}-%{version}-*.egg-info
|
|
%{python_sitelib}/%{_name}/
|
|
|
|
%changelog
|