2012-03-15 15:37:49 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-augeas
|
|
|
|
|
#
|
2018-02-12 15:00:19 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-03-15 15:37:49 +00:00
|
|
|
#
|
|
|
|
|
# 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/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 14:53:57 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2012-03-15 15:37:49 +00:00
|
|
|
Name: python-augeas
|
2015-12-17 13:39:09 +00:00
|
|
|
Version: 0.5.0
|
2013-12-10 19:54:46 +00:00
|
|
|
Release: 0
|
2012-03-15 15:37:49 +00:00
|
|
|
Summary: Python bindings for Augeas
|
2013-02-04 18:18:45 +00:00
|
|
|
License: LGPL-2.1+
|
2013-12-10 19:54:46 +00:00
|
|
|
Group: Development/Languages/Python
|
2013-02-04 18:18:45 +00:00
|
|
|
Url: http://augeas.net/
|
2013-12-10 19:54:46 +00:00
|
|
|
Source: https://fedorahosted.org/released/python-augeas/python-augeas-%{version}.tar.gz
|
2018-02-12 14:53:57 +00:00
|
|
|
BuildRequires: %{python_module devel}
|
2018-02-12 15:00:19 +00:00
|
|
|
BuildRequires: augeas-lenses
|
2018-02-12 14:53:57 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: augeas
|
2013-12-10 19:54:46 +00:00
|
|
|
# We'd always want to have augeas-lenses installed
|
|
|
|
|
Requires: augeas-lenses
|
2018-02-12 15:00:19 +00:00
|
|
|
BuildArch: noarch
|
2018-02-12 14:53:57 +00:00
|
|
|
%python_subpackages
|
2012-03-15 15:37:49 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Python bindings for Augeas, a library for programmatically editing
|
|
|
|
|
configuration files.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
2018-02-12 14:53:57 +00:00
|
|
|
%python_build
|
2012-03-15 15:37:49 +00:00
|
|
|
|
|
|
|
|
%install
|
2018-02-12 14:53:57 +00:00
|
|
|
%python_install
|
2012-03-15 15:37:49 +00:00
|
|
|
|
2013-07-06 12:22:23 +00:00
|
|
|
%check
|
|
|
|
|
cd test
|
2018-02-12 15:00:19 +00:00
|
|
|
%python_exec test_augeas.py
|
2012-03-15 15:37:49 +00:00
|
|
|
|
2018-02-12 14:53:57 +00:00
|
|
|
%files %{python_files}
|
2018-02-12 15:00:19 +00:00
|
|
|
%doc AUTHORS README.txt
|
|
|
|
|
%license COPYING
|
2013-12-10 19:54:46 +00:00
|
|
|
%{python_sitelib}/*
|
2012-03-15 15:37:49 +00:00
|
|
|
|
|
|
|
|
%changelog
|