Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
python-discid
python-discid.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-discid.spec of Package python-discid
# # spec file for package python-discid # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Johannes Dewender <novell@JonnyJD.net> # # 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/ # # %define modname discid Name: python-%{modname} Version: 1.1.0 Release: 0 Summary: Python binding of Libdiscid License: LGPL-3.0+ Group: Development/Libraries/Python Url: https://python-discid.readthedocs.org/ Source: https://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz # no automatic requires since libdiscid is not linked Requires: libdiscid0 >= 0.2.2 BuildRequires: libdiscid0 >= 0.2.2 BuildRequires: python-devel >= 2.6 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Python-discid implements Python bindings for MusicBrainz Libdiscid. Libdiscid's main purpose is the calculation of an identifier of audio discs (disc id) to use for the MusicBrainz database. That identifier is calculated from the TOC of the disc, similar to the freeDB CDDB identifier. Libdiscid can calculate MusicBrainz Disc IDs and freeDB Disc IDs. Additionally the MCN of the disc and ISRCs from the tracks can be extracted. This module is a close binding that offloads all relevant data storage and calculation to Libdiscid. On the other hand it gives a pythonic API and uses objects and exceptions. %prep %setup -q -n discid-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES chmod a-x examples.py %files -f INSTALLED_FILES %defattr(-,root,root) %dir %{python_sitelib}/* %doc COPYING COPYING.LESSER CHANGES.rst examples.py %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor