14
0
Files
python-mutagen/python-mutagen.spec

59 lines
1.7 KiB
RPMSpec

#
# spec file for package python-mutagen (Version 1.11)
#
# Copyright (c) 2007 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.11
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 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 Jul 04 2007 - hvogel@suse.de
- Initial package, Version 1.11