# # spec file for package python-mutagen (Version 1.14) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-mutagen Summary: Python module to Handle Audio Metadata Version: 1.14 Release: 1 License: GPL v2 only Group: Development/Libraries/Python Url: http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen Source: http://www.sacredchao.net/~piman/software/mutagen-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel %py_requires %description Mutagen is a Python module to handle audio metadata. It supports FLAC, M4A, MP3, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, and WavPack audio files. All versions of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and APEv2 tags can be edited regardless of their audio format. It can also manipulate Ogg streams on an individual packet/page level. %prep %setup -q -n mutagen-%{version} %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --prefix="%{_prefix}" \ --record-rpm=INSTALLED_FILES grep -v man1 INSTALLED_FILES > INSTALLED_FILES.tmp && \ mv INSTALLED_FILES.tmp INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-, root, root, 0755) %doc API-NOTES COPYING NEWS README TODO TUTORIAL %_mandir/man1/* %changelog * Wed Jun 25 2008 dmueller@suse.de - update to 1.14: * MP4/M4A: Fixed saving of atoms with 64-bit size on 64-bit platforms. * MP4: Conversion of 'gnre' atoms to '\xa9gen' text atoms now correctly produces a list of string values, not just a single value. * ID3: Broken RVA2 frames are now discarded. (Vladislav Naumov) * ID3: Use long integers when appropriate. * VCommentDict: Raise UnicodeEncodeErrors when trying to use a Unicode key that is not valid ASCII; keys are also normalized to ASCII str objects. (Forest Bond) * Wed Jan 16 2008 hvogel@suse.de - Update to version 1.13 * FLAC: Raise IOError, instead of UnboundLocalError, when trying to open a non-existant file. (Lukáš Lalinský, Debian #448734) * Throw out invalid frames when upgrading from 2.3 to 2.4. * Fixed reading of Unicode strings from ASF files on big-endian platforms. * TCP/TCMP support. * Faster implementation of file-writing when mmap fails, and exclusive advisory locking when available. * Use VBRI header to calculate length of VBR MP3 files if the Xing header is not found. * Write important ID3v2 frames near the start. (Lukáš Lalinský) * Wed Jul 04 2007 hvogel@suse.de - Initial package, Version 1.11