Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marec2000:multimedia:ports
mktoc
mktoc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mktoc.spec of Package mktoc
# # spec file for package mktoc # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define mktoc_name mktoc %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 0 Name: %{mktoc_name} Version: 1.3+git20221001 Release: 0 Summary: Simple command line tool generates TOC files for audio CD burning with cdrdao License: MIT Group: Productivity/Multimedia/Sound/Editors and Convertors URL: http://packages.python.org/%{name}/ Source0: %{name}-%{version}.tar.xz BuildArch: noarch BuildRequires: %{python_module chardet} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet %if 0%{?suse_version} && 0%{?suse_version} > 1500 Requires(post): update-alternatives Requires(postun): update-alternatives %endif Recommends: cdrdao %python_subpackages %description MkTOC simplifies the steps needed to create audio CD TOC files for the cdrdao CD burning program. For users familiar with ExactAudioCopy or CdrWin, TOC files are synonymous with CUE sheets. The primary goal of MkTOC is to create TOC files using a previously generated CUE sheet. Features ======== * Create a TOC file from a list of WAV files. * Convert an ExactAudioCopy (EAC) CUE file to the TOC format that is usable by cdrdao. * Multi-session aware CUE parsing, necessary for making CDDB and AccurateRip matchable discs. * Non-compliant CUE sheet support. * Support for various pregap methods. * Can create offset corrected WAV files for true 'bit-for-bit' accurate copies. * Fuzzy file name logic can correct common file name spelling variations. * Workaround known TOC file parsing bugs in cdrdao. %prep %setup -q %build %python_build %install %python_install %if 0%{?suse_version} && 0%{?suse_version} > 1500 %python_clone -a %{buildroot}%{_bindir}/%{mktoc_name} %endif %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %if 0%{?suse_version} && 0%{?suse_version} > 1500 %post %python_install_alternative %{mktoc_name} %endif %if 0%{?suse_version} && 0%{?suse_version} > 1500 %postun %python_uninstall_alternative %{mktoc_name} %endif %files %{python_files} %defattr(-,root,root,-) %if 0%{?suse_version} && 0%{?suse_version} > 1500 %python_alternative %{_bindir}/%{mktoc_name} %else %attr(755,root,root) %{_bindir}/%{mktoc_name} %endif %{python_sitelib}/%{mktoc_name}* %doc CHANGELOG.rst README %license LICENSE %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