Группа :: Разработка/Python
Пакет: python-module-mutagen
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- coding: utf-8 -*-
%define version 1.10.1
%define release alt1
%setup_python_module mutagen
Summary: Python module to handle audio metadata
Name: python-module-mutagen
Version: %version
Release: %release
Source: mutagen-%version.tar.gz
License: GPL
Group: Development/Python
Url: http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen
Packager: Mikhail Yakshin <greycat at altlinux.org>
%description
Mutagen is a Python module to handle audio metadata. It supports FLAC,
M4A, Musepack, 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 audio format. It can also manipulate Ogg
streams on an individual packet/page level.
This module is built for python %__python_version
%prep
%setup -q -n mutagen-%version
%build
env CFLAGS="$RPM_OPT_FLAGS -fPIC" %__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
# Some obscure hack: somehow man files get installed as gzipped ones...
%__subst 's,^\(%_mandir.*\)$,\1.gz,' INSTALLED_FILES
%files -f INSTALLED_FILES
%changelog
…
Полный changelog можно просмотреть здесь
%define version 1.10.1
%define release alt1
%setup_python_module mutagen
Summary: Python module to handle audio metadata
Name: python-module-mutagen
Version: %version
Release: %release
Source: mutagen-%version.tar.gz
License: GPL
Group: Development/Python
Url: http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen
Packager: Mikhail Yakshin <greycat at altlinux.org>
%description
Mutagen is a Python module to handle audio metadata. It supports FLAC,
M4A, Musepack, 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 audio format. It can also manipulate Ogg
streams on an individual packet/page level.
This module is built for python %__python_version
%prep
%setup -q -n mutagen-%version
%build
env CFLAGS="$RPM_OPT_FLAGS -fPIC" %__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
# Some obscure hack: somehow man files get installed as gzipped ones...
%__subst 's,^\(%_mandir.*\)$,\1.gz,' INSTALLED_FILES
%files -f INSTALLED_FILES
%changelog
…
Полный changelog можно просмотреть здесь