forked from pool/picard
Antonio Larrosa
d076598233
- Update to 2.3.1: * Bug-fix - [PICARD-1745] - Packaged libdiscid is not compatible with macOS 10.12 - [PICARD-1748] - Many release events can cause the versions context menu to overflow - [PICARD-1750] - Existing acoustid_fingerprint tags are not considered for AcoustID submission - [PICARD-1754] - DEL always removes release or file from main window - [PICARD-1756] - Plugin update fails to compare plugin versions with double digit versions - [PICARD-1757] - Crash on loading a release if $div(n,0) is used in a script - [PICARD-1760] - Prevent duplicates in top tags editor - [PICARD-1762] - Dropping a PDF file on cover art image box doesn't work - [PICARD-1765] - Adding uppercase tags to preserved tags list is not handled correctly - [PICARD-1772] - Unexpected results with $num function - [PICARD-1773] - Untrapped error on $mod with zero input - [PICARD-1774] - $lenmulti with missing name returns "1" * New Feature - [PICARD-1743] - Add script functions $sortmulti and $reversemulti to sort and reverse multi-value variables - [PICARD-1751] - Provide a %_releasecountries% variable * Improvement - [PICARD-1746] - Change Generate AcoustID Fingerprints shortcut to Ctrl+Shift+Y / ⌘⇧Y - [PICARD-1752] - Use preferred release countries to select a matching release country if there are multiple - [PICARD-1755] - "Supported Languages" on Microsoft Store shows only English (United States) - [PICARD-1759] - Make editing tags in top tags list more intuitive - [PICARD-1771] - Completely ignore release types set to zero in preferred releases OBS-URL: https://build.opensuse.org/request/show/780735 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=80
90 lines
2.6 KiB
RPMSpec
90 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package picard
|
|
#
|
|
# Copyright (c) 2020 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.3.1
|
|
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 >= 1.43
|
|
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.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
|