picard/picard.spec
Antonio Larrosa 134425f6ac Accepting request 731315 from home:alarrosa:branches:multimedia:apps
- Update to 2.2.0:
  * Bug-fix
    * [PICARD-456] - "Delete empty directories" should not delete special folders such as the desktop
    * [PICARD-571] - Scripting and renaming font on macOS and Windows not monospace
    * [PICARD-622] - File Browser resets horizontal scrolling on selection change
    * [PICARD-765] - Refreshing a release reloads the CAA index.json file from cache, even if it changed online
    * [PICARD-1025] - An empty destination directory prevents the options from being saved, but doesn't show an error
    * [PICARD-1090] - Match quality indicators are blurry
    * [PICARD-1282] - ⌘W does not close Preferences window
    * [PICARD-1284] - Can't quit with preferences open
    * [PICARD-1446] - Expand/collapse indicator for the release is briefly missing
    * [PICARD-1483] - Can't submit fingerprints to non-album recordings
    * [PICARD-1489] - Crash on start when loading python-discid without libdiscid being available
    * [PICARD-1490] - Local cover art provider fails on Windows
    * [PICARD-1491] - Version check when loading Picard plugins too strict
    * [PICARD-1492] - Can’t save rated tracks when it’s a FLAC file (when Metadata/Ratings is active)
    * [PICARD-1493] - Crash on pre 1.0 config upgrade
    * [PICARD-1497] - Saving fails when setting tags with invalid names for the underlying tagging format
    * [PICARD-1499] - Picard loads embedded cover art with ID3 type "other" as sticker
    * [PICARD-1501] - Double click in a cover opens it in web browser instead of an image viewer
    * [PICARD-1503] - Scanning CDROM uses path containing ampersand (&)
    * [PICARD-1516] - Picard fails to load MP4 without tags
    * [PICARD-1517] - Functions matchedtracks and is_complete throw exception when run on cluster
    * [PICARD-1522] - Crash when removing NAT recordings
    * [PICARD-1527] - Can't resize options window in 2.1.x (Mac)
    * [PICARD-1529] - NAT tracks get assigned wrong cover art
    * [PICARD-1533] - Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created
    * [PICARD-1541] - Closing log views destroys widgets
    * [PICARD-1543] - v2.1.3 crashes when selecting Preferences in the Apple menu 10.14.5
    * [PICARD-1547] - Picard doesn't warn about not updating .wav metadata

OBS-URL: https://build.opensuse.org/request/show/731315
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=70
2019-09-16 15:56:44 +00:00

90 lines
2.6 KiB
RPMSpec

#
# spec file for package picard
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: picard
Version: 2.2.0
Release: 0
Summary: The Next Generation MusicBrainz Tagger
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: https://picard.musicbrainz.org
Source0: https://codeload.github.com/metabrainz/picard/tar.gz/release-%{version}#/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libofa-devel
BuildRequires: python3-devel
BuildRequires: python3-mutagen
BuildRequires: python3-qt5
BuildRequires: python3-setuptools
BuildRequires: python3-sip
BuildRequires: update-desktop-files
Requires: python3-mutagen
Requires: python3-qt5
Recommends: chromaprint-fpcalc
Recommends: python3-discid
%description
MusicBrainz Picard is a MusicBrainz tag editor written in Python.
Picard Tagger focuses on album-oriented tagging as opposed to
track-based tagging.
%lang_package
%prep
%setup -q -n %{name}-release-%{version}
%build
export LANG=en_US.UTF-8
python3 setup.py config
python3 setup.py build
%install
export LANG=en_US.UTF-8
python3 setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot}
%suse_update_desktop_file -G "Music Tagger" -N "picard" org.musicbrainz.Picard
rm -rfv %{buildroot}%{_datadir}/locale/sco
%find_lang %{name} %{name}.lang
%find_lang %{name}-countries %{name}.lang
%find_lang %{name}-attributes %{name}.lang
%if 0%{?suse_version} < 1500
%post
%icon_theme_cache_post
%postun
%icon_theme_cache_postun
%endif
%files
%doc AUTHORS.txt NEWS.txt
%license COPYING.txt
%{_bindir}/picard
%{_datadir}/applications/org.musicbrainz.Picard.desktop
%{python3_sitearch}/picard*
%{_datadir}/icons/hicolor/*/apps/org.musicbrainz.Picard.png
%{_datadir}/icons/hicolor/*/apps/org.musicbrainz.Picard.svg
%{_datadir}/metainfo/org.musicbrainz.Picard.appdata.xml
%files lang -f %{name}.lang
%changelog