SHA256
1
0
forked from pool/picard
picard/picard.spec

112 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package picard
#
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 15:37:35 +01:00
# 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
Accepting request 484849 from home:alarrosa:branches:multimedia:apps - Update to version 1.4.1: * Bugfix: Album shown matched even if extra unmatched files (PICARD-953) * Bugfix: Removing album with saves pending does not remove pending saves (PICARD-972) * Bugfix: Pending log messages not flushed to stderr on quit (PICARD-973) * Bugfix: Drag & Drop not working (PICARD-988) * Bugfix: Picard violating ID3 standard for TXXX frames (PICARD-990) * Bugfix: Disabling the cover art box and enabling it again doesn't bring it back (PICARD-996) * Bugfix: Disabling the action toolbar sometimes doesn't work (PICARD-998) * Bugfix: If a cluster is moved to the album side of the main window it gets moved to unmatched files (PICARD-1005) * Bugfix: Drag and drop for cover arts doesnt work on OSX (PICARD-1006) * Bugfix: Unsetting View/Cover Art doesn't work permanently (PICARD-1010) * Bugfix: Toolbar tab order incorrect after PICARD-908 (PICARD-1011) * Bugfix: Number of images in release info is calculated incorrectly (PICARD-1014) * Bugfix: Artwork tab of the Track Info DIalog doesn't show changes anymore (PICARD-1015) * Bugfix: CoverArtBox doesn't show new/removed images after unmatched files are added/removed to the album (PICARD-1018) * Bugfix: Directory persistence for Add Directory needs tweaking (PICARD-1023) * Bugfix: Fix ~artists_sort metadata variable (PICARD-1029) * Bugfix: Missing import for PICARD_APP_NAME (PICARD-1042) * New Feature: Visual feedback for changes to artwork in before-after pane. (PICARD-258) * New Feature: Implement artwork diff for albums (PICARD-1000) * Task: Remove monkey patching of file write methods in picard formats (PICARD-943) * Task: Replace Ok button text by Make It So! in Options dialog (PICARD-1041) * Improvement: Remove should work when Unmatched Files is selected (PICARD-223) * Improvement: Always use HTTPS for musicbrainz.org (PICARD-951) * Improvement: Use Cover Art Archive over HTTPS (PICARD-952) * Improvement: Mention AcoustID on Scan button too (PICARD-961) * Improvement: Drag&drop cover art doesn't work for images from amazon/google images/https links (PICARD-980) * Improvement: Buttons on the "User Interface" and "Scripting" pages are smaller than buttons in other places (PICARD-1012) * Improvement: Multiple images in related tracks confusing (PICARD-1016) * Improvement: Picard loads all pending files before quitting (PICARD-1021) OBS-URL: https://build.opensuse.org/request/show/484849 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=51
2017-04-04 08:11:02 +02:00
Version: 1.4.1
Release: 0
Summary: The Next Generation MusicBrainz Tagger
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Utilities
Url: http://musicbrainz.org/doc/PicardTagger
Accepting request 484849 from home:alarrosa:branches:multimedia:apps - Update to version 1.4.1: * Bugfix: Album shown matched even if extra unmatched files (PICARD-953) * Bugfix: Removing album with saves pending does not remove pending saves (PICARD-972) * Bugfix: Pending log messages not flushed to stderr on quit (PICARD-973) * Bugfix: Drag & Drop not working (PICARD-988) * Bugfix: Picard violating ID3 standard for TXXX frames (PICARD-990) * Bugfix: Disabling the cover art box and enabling it again doesn't bring it back (PICARD-996) * Bugfix: Disabling the action toolbar sometimes doesn't work (PICARD-998) * Bugfix: If a cluster is moved to the album side of the main window it gets moved to unmatched files (PICARD-1005) * Bugfix: Drag and drop for cover arts doesnt work on OSX (PICARD-1006) * Bugfix: Unsetting View/Cover Art doesn't work permanently (PICARD-1010) * Bugfix: Toolbar tab order incorrect after PICARD-908 (PICARD-1011) * Bugfix: Number of images in release info is calculated incorrectly (PICARD-1014) * Bugfix: Artwork tab of the Track Info DIalog doesn't show changes anymore (PICARD-1015) * Bugfix: CoverArtBox doesn't show new/removed images after unmatched files are added/removed to the album (PICARD-1018) * Bugfix: Directory persistence for Add Directory needs tweaking (PICARD-1023) * Bugfix: Fix ~artists_sort metadata variable (PICARD-1029) * Bugfix: Missing import for PICARD_APP_NAME (PICARD-1042) * New Feature: Visual feedback for changes to artwork in before-after pane. (PICARD-258) * New Feature: Implement artwork diff for albums (PICARD-1000) * Task: Remove monkey patching of file write methods in picard formats (PICARD-943) * Task: Replace Ok button text by Make It So! in Options dialog (PICARD-1041) * Improvement: Remove should work when Unmatched Files is selected (PICARD-223) * Improvement: Always use HTTPS for musicbrainz.org (PICARD-951) * Improvement: Use Cover Art Archive over HTTPS (PICARD-952) * Improvement: Mention AcoustID on Scan button too (PICARD-961) * Improvement: Drag&drop cover art doesn't work for images from amazon/google images/https links (PICARD-980) * Improvement: Buttons on the "User Interface" and "Scripting" pages are smaller than buttons in other places (PICARD-1012) * Improvement: Multiple images in related tracks confusing (PICARD-1016) * Improvement: Picard loads all pending files before quitting (PICARD-1021) OBS-URL: https://build.opensuse.org/request/show/484849 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=51
2017-04-04 08:11:02 +02:00
Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-1.4.1.tar.gz
Accepting request 76928 from home:olh:branches:multimedia:apps - Update name of dlopen libdiscid object during build - Update additional python plugins to report compatibility for 0.15 - Run dos2unix on additional python plugins - Update to version 0.15 - 2011-07-17 - Added options for using standardized track, release, and artist metadata. - Added preferred release format support. - Expanded preferred release country support to allow multiple countries. - Added support for tagging non-album tracks (standalone recordings). - Plugins can now be installed via drag and drop, or a file browser. - Added several new tags: %%_originaldate%%, %%_recordingcomment%%, and %%_releasecomment%% - Changes to request queuing: added separate high and low priority queues for each host. - Tagger scripts now run after metadata plugins finish (#5850) - The "compilation" tag can now be $unset or modified via tagger script. - Added a shortcut (Ctrl+I) for Edit->Details. - Miscellaneous bug fixes. - Support for the NGS web service Version 0.14 - 2011-05-15 - Fixed a problem with network operations hanging after a network error (#5794, #5884) - ID3v2.3 with UTF-16 is now the default ID3 version - Option to set preferred release types for improved album matching - Added support for sorting the album/file lists (#75) - Fixed OptimFROG tag reading (#5859) - Fixed colors for a white-on-black color scheme (#5846) - Added an option to replace non-ASCII punctuation (#5834) - Support for writing release group and work IDs, currently unused (#5805) - Fixed saving of the release event format tag (#5250) OBS-URL: https://build.opensuse.org/request/show/76928 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=14
2011-07-25 12:17:02 +02:00
# http://wiki.musicbrainz.org/Picard_Plugins
# All of the Search*.py files come from https://github.com/brianfreud/Picard-plugins
# The full URL can not be part of this specfile because download corrupts line endings
Source8: SearchAmazon3.py
Source9: SearchAMG.py
Source10: SearchCastAlbums3.py
Source11: SearchDiscogs3.py
Source12: SearchFilmMusziek3.py
Source13: SearchGMR.py
Source14: SearchGoogle3.py
Source15: SearchLortelArchives3.py
Source16: SearchSoundtrackCollector3.py
Source17: 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
Accepting request 484849 from home:alarrosa:branches:multimedia:apps - Update to version 1.4.1: * Bugfix: Album shown matched even if extra unmatched files (PICARD-953) * Bugfix: Removing album with saves pending does not remove pending saves (PICARD-972) * Bugfix: Pending log messages not flushed to stderr on quit (PICARD-973) * Bugfix: Drag & Drop not working (PICARD-988) * Bugfix: Picard violating ID3 standard for TXXX frames (PICARD-990) * Bugfix: Disabling the cover art box and enabling it again doesn't bring it back (PICARD-996) * Bugfix: Disabling the action toolbar sometimes doesn't work (PICARD-998) * Bugfix: If a cluster is moved to the album side of the main window it gets moved to unmatched files (PICARD-1005) * Bugfix: Drag and drop for cover arts doesnt work on OSX (PICARD-1006) * Bugfix: Unsetting View/Cover Art doesn't work permanently (PICARD-1010) * Bugfix: Toolbar tab order incorrect after PICARD-908 (PICARD-1011) * Bugfix: Number of images in release info is calculated incorrectly (PICARD-1014) * Bugfix: Artwork tab of the Track Info DIalog doesn't show changes anymore (PICARD-1015) * Bugfix: CoverArtBox doesn't show new/removed images after unmatched files are added/removed to the album (PICARD-1018) * Bugfix: Directory persistence for Add Directory needs tweaking (PICARD-1023) * Bugfix: Fix ~artists_sort metadata variable (PICARD-1029) * Bugfix: Missing import for PICARD_APP_NAME (PICARD-1042) * New Feature: Visual feedback for changes to artwork in before-after pane. (PICARD-258) * New Feature: Implement artwork diff for albums (PICARD-1000) * Task: Remove monkey patching of file write methods in picard formats (PICARD-943) * Task: Replace Ok button text by Make It So! in Options dialog (PICARD-1041) * Improvement: Remove should work when Unmatched Files is selected (PICARD-223) * Improvement: Always use HTTPS for musicbrainz.org (PICARD-951) * Improvement: Use Cover Art Archive over HTTPS (PICARD-952) * Improvement: Mention AcoustID on Scan button too (PICARD-961) * Improvement: Drag&drop cover art doesn't work for images from amazon/google images/https links (PICARD-980) * Improvement: Buttons on the "User Interface" and "Scripting" pages are smaller than buttons in other places (PICARD-1012) * Improvement: Multiple images in related tracks confusing (PICARD-1016) * Improvement: Picard loads all pending files before quitting (PICARD-1021) OBS-URL: https://build.opensuse.org/request/show/484849 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=51
2017-04-04 08:11:02 +02:00
%setup -q -n %{name}-release-1.4.1
%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 %{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
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 15:37:35 +01:00
%{_datadir}/icons/hicolor/*/apps/picard.svg
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog