Accepting request 203104 from devel:languages:python
Update OBS-URL: https://build.opensuse.org/request/show/203104 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mutagen?expand=0&rev=18
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd5df0b96f9df12da31a3bce02f1aa075315537497cc3c6f3c6cd7decc487e88
|
||||
size 616354
|
||||
3
mutagen-1.22.tar.gz
Normal file
3
mutagen-1.22.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2ea5b5099ce14ab84c628e9d0a91217df20d2e3459a707f2eba9a354f52da91
|
||||
size 813614
|
||||
@@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 13 12:13:39 UTC 2013 - p.drouand@gmail.com
|
||||
|
||||
- Replace python-distribute with python-setuptools BuildRequires
|
||||
- Remove Requires: python = %{py_ver}; it's useless
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 12 19:17:41 UTC 2013 - i@marguerite.su
|
||||
|
||||
- update to 1.22:
|
||||
* Minimum required Python version is now 2.6
|
||||
* Online API reference at https://mutagen.readthedocs.org/
|
||||
* EasyID3:
|
||||
* Fix crash with empty TXXX values. (#135)
|
||||
* ID3:
|
||||
* id3v2.3 writing support (#85)
|
||||
* Add iTunes podcast frames (TGID, TDES, WFED) (#141)
|
||||
* Updated id3v1 genre list
|
||||
* MP4:
|
||||
* add_tags() will not replace existing tags. (#101)
|
||||
* Don't ignore tags if parsing unknown atoms fails.
|
||||
* Raise on invalid 64bit atom size (#132, Sidnei da Silva)
|
||||
* APEv2:
|
||||
* Handle invalid tag item count. (#145, Dawid Zamirski)
|
||||
* Ogg:
|
||||
* Faster parsing of files with large packets.
|
||||
* VComment:
|
||||
* Preserve text case for field names added through the dict interface (#152)
|
||||
* mid3v2:
|
||||
* New -e,--escape switch to enable interpretation of escape sequences and
|
||||
makes escaping of the colon separator possible. (#159)
|
||||
* mid3iconv:
|
||||
* Convert COMM frames (#128)
|
||||
- clean spec and don't use the INSTALLED_FILES way, which make this spec
|
||||
contains no useful information exposed on web
|
||||
* expand %py_requires or SP1 won't build
|
||||
* add BuildRequires: python-distrubite because it used setup.py
|
||||
* remove the entire %clean section, unneeded now
|
||||
* TUTORIAL is no more, so no need of dos2unix too.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 26 21:17:34 UTC 2010 - boris@steki.net
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mutagen (Version 1.20)
|
||||
# spec file for package python-mutagen
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,20 +15,20 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-mutagen
|
||||
Version: 1.22
|
||||
Release: 0
|
||||
Summary: Python module to Handle Audio Metadata
|
||||
Version: 1.20
|
||||
Release: 2
|
||||
License: GPL-2.0
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://code.google.com/p/mutagen/
|
||||
Source: http://mutagen.googlecode.com/files/mutagen-%{version}.tar.bz2
|
||||
Url: https://pypi.python.org/pypi/mutagen
|
||||
Source: https://pypi.python.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: dos2unix python-devel
|
||||
%py_requires
|
||||
%if %suse_version > 1110
|
||||
%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
|
||||
|
||||
@@ -43,7 +43,6 @@ Ogg streams on an individual packet/page level.
|
||||
|
||||
%prep
|
||||
%setup -q -n mutagen-%{version}
|
||||
dos2unix TUTORIAL
|
||||
# remove shebangs from library files
|
||||
find mutagen/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
|
||||
|
||||
@@ -51,16 +50,18 @@ find mutagen/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?pyth
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=$RPM_BUILD_ROOT --prefix="%{_prefix}" \
|
||||
--record-rpm=INSTALLED_FILES
|
||||
python setup.py install --root=%{buildroot} --prefix="%{_prefix}"
|
||||
|
||||
sed -i -e 's/\.1$/.1.gz/g' INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%files
|
||||
%defattr(-, root, root, 0755)
|
||||
%doc API-NOTES COPYING NEWS README TODO TUTORIAL
|
||||
%doc COPYING NEWS README TODO
|
||||
%{_bindir}/mid3iconv
|
||||
%{_bindir}/mid3v2
|
||||
%{_bindir}/moggsplit
|
||||
%{_bindir}/mutagen-inspect
|
||||
%{_bindir}/mutagen-pony
|
||||
%{python_sitelib}/mutagen
|
||||
%{python_sitelib}/mutagen-%{version}-py%{py_ver}.egg-info
|
||||
%{_mandir}/man1/*.gz
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user