picard/picard.spec
Olaf Hering ed16b9ea3c Accepting request 738102 from home:jaimeMF:branches:multimedia:apps
- Update to 2.2.2:
  * Bug-fix
    * [PICARD-1606] - Crashes on opening options with broken plugin
    * [PICARD-1612] - Trackpad tap is not working properly on macOS
    * [PICARD-1614] - macOS: Incorrect 'LSMinimumSystemVersion'
    * [PICARD-1618] - macOS and Windows packages built without C astrcmp
    * [PICARD-1621] - Lookup CD dropdown does not list additional drives
    * [PICARD-1624] - Updating default CD device in options does not change default for keyboard shortcut
  * Improvement
    * [PICARD-1610] - Make the labels in Options > User Interface > Colours wider
    * [PICARD-1619] - Grey out cover art providers list when cover art is disabled
- Update to 2.2.1:
  * Bug
    * [PICARD-1603] - Translations from picard/ui/colors.py don’t show up in Picard
    * [PICARD-1604] - Windows install is not using Qt default translations
    * [PICARD-1607] - Upgrading a plugin displays the dialog box multiple times
    * [PICARD-1608] - "[non-album tracks]" can not directly be removed
    * [PICARD-1609] - Picard About shows Qt version PyQt was build against, not actually used Qt
  * Improvement
    * [PICARD-1602] - Tests should not be included in the sdist package

OBS-URL: https://build.opensuse.org/request/show/738102
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=72
2019-10-13 16:49:12 +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.2
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.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