File python-augeas.spec of Package python-augeas

#
# spec file for package python-augeas
#
# Copyright (c) 2013 SUSE LINUX Products 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/
#

# norootforbuild


Name:           python-augeas
Version:        0.4.1
Release:        0.<RELEASE8>
Summary:        Python bindings for Augeas
License:        LGPL-2.1+
Group:          Development/Libraries/Python
Url:            http://augeas.net/
Source:         python-augeas-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  augeas-lenses
BuildRequires:  python-devel
Requires:       augeas
%{py_requires}

%description
Python bindings for Augeas, a library for programmatically editing
configuration files.



Authors:
--------
    Nathaniel McCallum <nathaniel@natemccallum.com>
    Jeff Schroeder <jeffschroeder@computer.org>
    Harald Hoyer <harald@redhat.com>
    Nils Philippsen <nils@redhat.com>

%prep
%setup -q

%build
%{__python} setup.py build

%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES

%check
cd test
python test_augeas.py

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING README.txt

%changelog
openSUSE Build Service is sponsored by