File python-ly.spec of Package python-ly

# spec file for package python-ly
# Copyright (c) 2017 Johannes Engel
# 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

Name:           python-ly
Version:	0.9.5
Release:	0
License:	GPL-2.0
Summary:	Python library to parse LilyPond files
Group:		Productivity/Multimedia/Sound/Editors and Converters
Source:		%{name}-%{version}.tar.gz
BuildRequires:	fdupes
BuildRequires:	python-devel
BuildRequires:	python-distribute
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
	%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildArch:      noarch

This package provides a Python library ly containing various Python modules 
to parse, manipulate or create documents in LilyPond format. A command line 
program ly is also provided that can be used to do various manipulations 
with LilyPond files.

%setup -q

python build

python install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %{buildroot}%{_prefix}

%doc ChangeLog README.rst