LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-ly.spec of Package python-ly (Project home:j-engel:KDE4)

#
# 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 http://bugs.opensuse.org/
#

Name:           python-ly
Version:	0.9.5
Release:	0
License:	GPL-2.0
Summary:	Python library to parse LilyPond files
Url:		https://pypi.python.org/pypi/python-ly
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()")}
%else
BuildArch:      noarch
%endif

%description
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.

%prep
%setup -q

%build
python setup.py build

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

%files
%defattr(-,root,root)
%doc ChangeLog README.rst
%{_bindir}/ly
%{_bindir}/ly-server
%{python_sitelib}/*

%changelog