SHA256
1
0
forked from pool/picard
picard/picard.spec
Takashi Iwai d585f0ce28 Accepting request 1038957 from home:jaimeMF:branches:multimedia:apps
- Update to 2.8.4:
  * Bugfixes
    - PICARD-2520 - Null bytes in tag values can cause crashes when sorting
    - PICARD-2539 - Picard crashes on huge releases if no cover art provider is
      active
    - PICARD-2548 - Loaded album does not update cover art display
    - PICARD-2549 - Moving tracks between albums shows tracks differ even when
      they do not
    - PICARD-2554 - Submit AcoustIDs submits even IDs that are in center pane
    - PICARD-2556 - Player popovers for volume and playback speed crash on
      Wayland and open on wrong position
    - PICARD-2557 - Add New Tag autocomplete list contains value typed so far
    - PICARD-2558 - Floatable toolbars unusable under Wayland
    - PICARD-2564 - Options for "Windows compatibility" and "Replace non-ASCII"
      get incorrectly set to inactive
    - PICARD-2565 - Rules for file name compatibility and max. path shortening
      are not applied when saving cover art
    - PICARD-2568 - $cleanmulti() has no effect for hidden variables
    - PICARD-2570 - Unable to drag tracks from right hand pane to Clusters
    - PICARD-2582 - distutils.errors.DistutilsClassError when building with
      setup.py
    - PICARD-2588 - QObject::startTimer: Timers can only be used with threads
      started with QThread
  * Improvements
    - PICARD-2589 - Support media types "DualDisc (DVD side)" and "Betacam SP"

OBS-URL: https://build.opensuse.org/request/show/1038957
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=124
2022-11-30 12:50:42 +00:00

96 lines
2.8 KiB
RPMSpec

#
# spec file for package picard
#
# Copyright (c) 2022 SUSE LLC
#
# 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.8.4
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: python-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3-fasteners
BuildRequires: python3-mutagen >= 1.37
BuildRequires: python3-qt5 >= 5.11
BuildRequires: python3-setuptools
BuildRequires: python3-sip
BuildRequires: update-desktop-files
Requires: python3-Markdown
Requires: python3-PyYAML
Requires: python3-dateutil >= 2.7.3
Requires: python3-fasteners
Requires: python3-mutagen >= 1.37
Requires: python3-qt5 >= 5.11
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.md
%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