14
0

Accepting request 480414 from home:alarrosa:branches:devel:languages:python

- update to version 1.37:
  * Relicense "GPLv2" → "GPLv2 or later" 🐛`291`
  * DSF: add `mutagen.dsf` module for DSF (DSD Stream File) support
    :pr:`283` (Boris Pruessmann)
  * MP3: Add `mp3.MPEGInfo.encoder_settings` containing a guess of the encoder
    settings used, for example ``"-V2"`` for LAME 🐛`66`
  * ID3: add iTunes movement related frames `id3.MVIN` and `id3.MVNM`
  * MP4: support ``©mvi``, ``©mvc``, ``shwm``, ``stik``, ``rtng``, ``tves``,
    ``tvsn``, ``plID``, ``cnID``, ``geID``, ``atID``, ``sfID``, ``cmID``,
    ``akID`` 🐛`130`
- update to version 1.36.3:
  * MP3: fix error with xing frames without a frame count 🐛`292`
- Run spec file through spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/480414
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mutagen?expand=0&rev=25
This commit is contained in:
2017-03-21 16:15:46 +00:00
committed by Git OBS Bridge
parent 30a3cea467
commit 9d1757be75
4 changed files with 43 additions and 26 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86fe98e941ca305be8ee6bdc6bb0e4e9c473bf9fb69a838fe5bf2fc6124fbcc7
size 889928

3
mutagen-1.37.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:539553d3f1ffd890c74f64b819750aef0316933d162c09798c9e7eaf334ae760
size 912600

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Mar 16 13:14:53 UTC 2017 - alarrosa@suse.com
- update to version 1.37:
* Relicense "GPLv2" → "GPLv2 or later" :bug:`291`
* DSF: add `mutagen.dsf` module for DSF (DSD Stream File) support
:pr:`283` (Boris Pruessmann)
* MP3: Add `mp3.MPEGInfo.encoder_settings` containing a guess of the encoder
settings used, for example ``"-V2"`` for LAME :bug:`66`
* ID3: add iTunes movement related frames `id3.MVIN` and `id3.MVNM`
* MP4: support ``©mvi``, ``©mvc``, ``shwm``, ``stik``, ``rtng``, ``tves``,
``tvsn``, ``plID``, ``cnID``, ``geID``, ``atID``, ``sfID``, ``cmID``,
``akID`` :bug:`130`
- update to version 1.36.3:
* MP3: fix error with xing frames without a frame count :bug:`292`
- Run spec file through spec-cleaner
-------------------------------------------------------------------
Wed Jan 25 14:31:30 UTC 2017 - alarrosa@suse.com

View File

@@ -16,11 +16,16 @@
#
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Name: python-mutagen
Version: 1.36.2
Version: 1.37
Release: 0
Summary: Python module to Handle Audio Metadata
License: GPL-2.0
License: GPL-2.0+
Group: Development/Libraries/Python
Url: https://pypi.python.org/pypi/mutagen
Source: https://pypi.python.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
@@ -29,14 +34,9 @@ Patch0: fix-tests-tools-names.diff
BuildRequires: python-devel
BuildRequires: python-pytest
BuildRequires: python-setuptools
Requires(post): update-alternatives
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
Mutagen is a Python module to handle audio metadata. It supports FLAC,
@@ -70,13 +70,13 @@ python setup.py install --root=%{buildroot} --prefix="%{_prefix}"
# Prepare for update-alternatives usage
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
for p in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
for p in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
ln -s -f %{_sysconfdir}/alternatives/$p.1.gz %{buildroot}%{_mandir}/man1/${p}.1.gz
done
%post
%_sbindir/update-alternatives \
%{_sbindir}/update-alternatives \
--install %{_bindir}/mid3cp mid3cp %{_bindir}/mid3cp-%{py_ver} 30 \
--slave %{_bindir}/mid3iconv mid3iconv %{_bindir}/mid3iconv-%{py_ver} \
--slave %{_bindir}/mid3v2 mid3v2 %{_bindir}/mid3v2-%{py_ver} \
@@ -92,7 +92,7 @@ done
%preun
if [ $1 -eq 0 ] ; then
%_sbindir/update-alternatives --remove mid3cp %{_bindir}/mid3cp-%{py_ver}
%{_sbindir}/update-alternatives --remove mid3cp %{_bindir}/mid3cp-%{py_ver}
fi
%check
@@ -122,18 +122,18 @@ python setup.py test
%ghost %{_sysconfdir}/alternatives/moggsplit
%ghost %{_sysconfdir}/alternatives/mutagen-inspect
%ghost %{_sysconfdir}/alternatives/mutagen-pony
%{_mandir}/man1/mid3cp.1.gz
%{_mandir}/man1/mid3iconv.1.gz
%{_mandir}/man1/mid3v2.1.gz
%{_mandir}/man1/moggsplit.1.gz
%{_mandir}/man1/mutagen-inspect.1.gz
%{_mandir}/man1/mutagen-pony.1.gz
%{_mandir}/man1/mid3cp-%{py_ver}.1.gz
%{_mandir}/man1/mid3iconv-%{py_ver}.1.gz
%{_mandir}/man1/mid3v2-%{py_ver}.1.gz
%{_mandir}/man1/moggsplit-%{py_ver}.1.gz
%{_mandir}/man1/mutagen-inspect-%{py_ver}.1.gz
%{_mandir}/man1/mutagen-pony-%{py_ver}.1.gz
%{_mandir}/man1/mid3cp.1%{ext_man}
%{_mandir}/man1/mid3iconv.1%{ext_man}
%{_mandir}/man1/mid3v2.1%{ext_man}
%{_mandir}/man1/moggsplit.1%{ext_man}
%{_mandir}/man1/mutagen-inspect.1%{ext_man}
%{_mandir}/man1/mutagen-pony.1%{ext_man}
%{_mandir}/man1/mid3cp-%{py_ver}.1%{ext_man}
%{_mandir}/man1/mid3iconv-%{py_ver}.1%{ext_man}
%{_mandir}/man1/mid3v2-%{py_ver}.1%{ext_man}
%{_mandir}/man1/moggsplit-%{py_ver}.1%{ext_man}
%{_mandir}/man1/mutagen-inspect-%{py_ver}.1%{ext_man}
%{_mandir}/man1/mutagen-pony-%{py_ver}.1%{ext_man}
%ghost %{_sysconfdir}/alternatives/mid3cp.1.gz
%ghost %{_sysconfdir}/alternatives/mid3iconv.1.gz
%ghost %{_sysconfdir}/alternatives/mid3v2.1.gz