picard/picard.spec
Olaf Hering b6d44fd48e Accepting request 457107 from home:alarrosa:branches:multimedia:apps
- Update to version 1.4.0
  * Bugfix: AcoustID submission fails with code 299 (PICARD-82)
  * Bugfix: Ignoring "hip hop rap" folksonomy tags also ignores "rap", "hip hop", etc. (PICARD-335)
  * Bugfix: Picard downloads multiple 'front' images instead of just first one. (PICARD-350)
  * Bugfix: Saving hidden file with only an extension drops the extension (PICARD-357)
  * Bugfix: Add directory opens in "wrong" dir (PICARD-366)
  * Bugfix: Picard should de-duplicate work lists (PICARD-375)
  * Bugfix: Tree selector in Options window is partially obscured, pane too narrow (PICARD-408)
  * Bugfix: tag acoustid_id can not be removed or deleted in script, renaming or plugin (PICARD-419)
  * Bugfix: Can't remove value from field (PICARD-546)
  * Bugfix: Can't open Options (PICARD-592)
  * Bugfix: "Tags from filenames" action stays enabled even if it is unavailable. (PICARD-688)
  * Bugfix: Using the first image type as filename changes the name of front images (PICARD-701)
  * Bugfix: Fingerprint Submission Failes if AcoustID tags are present and/or invalid (PICARD-706)
  * Bugfix: Picard moves into the selected folder (PICARD-726)
  * Bugfix: Picard does not support (recording) relationship credits (PICARD-730)
  * Bugfix: Picard repeats/duplicates field data (PICARD-748)
  * Bugfix: Number of pending web requests is not decremented on exceptions in the handler (PICARD-751)
  * Bugfix: Divide by zero error in _convert_folksonomy_tags_to_genre when no tag at the release/release group level (  PICARD-753)
  * Bugfix: Directory tree (file browser) not sorted for non-system drives under Windows (PICARD-754)
  * Bugfix: Crash when loading release with only zero count tags (PICARD-759)
  * Bugfix: No name and no window grouping in gnome-shell Alt-Tab app switcher (PICARD-761)
  * Bugfix: Lookup in Browser does not and can not load HTTPS version of musicbrainz.org (PICARD-764)
  * Bugfix: Unable to login using oauth via Picard options with Server Port set to 443 (PICARD-766)
  * Bugfix: "AttributeError: 'MetadataBox' object has no attribute 'resize_columns'" when enabling the cover art box (  PICARD-775)
  * Bugfix: Pre-gap tracks are not counted in absolutetracknumber (PICARD-778)
  * Bugfix: CAA cover art provider runs even if cover art has already been loaded (PICARD-780)
  * Bugfix: Toggling Embed Cover Art in Tags and restarting doesn't have the expected behavior (PICARD-782)
  * Bugfix: XMLWS redirects incorrectly (PICARD-788)
  * Bugfix: Handle empty collection-list in web server response (PICARD-798)

OBS-URL: https://build.opensuse.org/request/show/457107
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=47
2017-02-14 14:37:35 +00:00

131 lines
4.7 KiB
RPMSpec

#
# spec file for package picard
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: picard
Version: 1.4.0
Release: 0
Summary: The Next Generation MusicBrainz Tagger
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Utilities
Url: http://musicbrainz.org/doc/PicardTagger
Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-1.4.tar.gz
Patch0: fix-cover-art-downloads.diff
Patch1: 0001-Introduce-new-cover-art-thumbnail-class.patch
Patch2: 0002-Connect-events-for-CoverArtThumbnail-class.patch
Patch3: 0003-Update-coverartbox-class-to-include-new-and-original.patch
Patch4: 0004-Update-labels-in-_show-method.patch
Patch5: 0005-Update-mainwindow-to-display-original-coverart.patch
Patch6: 0006-Implement-__eq__-method-for-CoverArtThumbnail-and-up.patch
Patch7: 0007-Add-i18n-support-to-coverart-labels.patch
Patch8: 0008-Add-view-coverart-changes-button.patch
Patch9: 0009-Add-spacer-item-to-push-coverartbox-items-to-top.patch
# http://wiki.musicbrainz.org/Picard_Plugins
Source2: http://dispuutivv.nl/~jan/bonusdisc.py
Source8: https://github.com/brianfreud/Picard-plugins/blob/master/SearchAmazon3.py
Source9: https://github.com/brianfreud/Picard-plugins/blob/master/SearchAMG.py
Source10: https://github.com/brianfreud/Picard-plugins/blob/master/SearchCastAlbums3.py
Source11: https://github.com/brianfreud/Picard-plugins/blob/master/SearchDiscogs3.py
Source12: https://github.com/brianfreud/Picard-plugins/blob/master/SearchFilmMusziek3.py
Source13: https://github.com/brianfreud/Picard-plugins/blob/master/SearchGMR.py
Source14: https://github.com/brianfreud/Picard-plugins/blob/master/SearchGoogle3.py
Source15: https://github.com/brianfreud/Picard-plugins/blob/master/SearchLortelArchives3.py
Source16: https://github.com/brianfreud/Picard-plugins/blob/master/SearchSoundtrackCollector3.py
Source17: https://github.com/brianfreud/Picard-plugins/blob/master/SearchSoundtrackINFO3.py
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: libofa-devel
BuildRequires: python-devel
BuildRequires: python-mutagen
Requires: python-mutagen
BuildRequires: hicolor-icon-theme
BuildRequires: python-qt4
BuildRequires: update-desktop-files
Recommends: python-discid
Requires: python-qt4
Recommends: chromaprint-fpcalc
%description
MusicBrainz Picard is a cross-platform MusicBrainz tag editor written in
Python. Picard Tagger is intended to be the next generation of tagger for
MusicBrainz, with a focus on album oriented tagging as opposed to track based
tagging and cross platform compatibility.
%lang_package
%prep
%setup -q -n %{name}-release-1.4
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
python setup.py config
python setup.py build
%install
python setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot}
# install plugins
PLUGINDIR=%{buildroot}%{py_sitedir}/picard/plugins/
install -m 0644 %{SOURCE2} ${PLUGINDIR}
install -m 0644 %{SOURCE8} ${PLUGINDIR}
install -m 0644 %{SOURCE9} ${PLUGINDIR}
install -m 0644 %{SOURCE10} ${PLUGINDIR}
install -m 0644 %{SOURCE11} ${PLUGINDIR}
install -m 0644 %{SOURCE12} ${PLUGINDIR}
install -m 0644 %{SOURCE13} ${PLUGINDIR}
install -m 0644 %{SOURCE14} ${PLUGINDIR}
install -m 0644 %{SOURCE15} ${PLUGINDIR}
install -m 0644 %{SOURCE16} ${PLUGINDIR}
install -m 0644 %{SOURCE17} ${PLUGINDIR}
%suse_update_desktop_file -G "Music Tagger" -N "picard" picard
rm -rfv %{buildroot}%{_datadir}/locale/sco
%find_lang %{name} %{name}.lang
%find_lang %{name}-countries %{name}.lang
%find_lang %{name}-attributes %{name}.lang
%post
%icon_theme_cache_post
%postun
%icon_theme_cache_postun
%files
%defattr(-,root,root)
%doc AUTHORS.txt COPYING.txt NEWS.txt
%{_bindir}/picard
%{_datadir}/applications/%{name}.desktop
%{python_sitearch}/picard*
%{_datadir}/icons/hicolor/*/apps/picard.png
%{_datadir}/icons/hicolor/*/apps/picard.svg
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog