SHA256
1
0
forked from pool/picard
picard/picard.spec
Martin Pluskal 52a1e51a9e Accepting request 630702 from home:alarrosa:branches:multimedia:apps
- Update to version 2.0.3
  * Bug-fix
    * [PICARD-1122] - Preffered release type settings are exclusive and should be inclusive
    * [PICARD-1207] - Move additional files feature fails when source directory contains non-ascii characters
    * [PICARD-1247] - Not all "preserved" tags are preserved
    * [PICARD-1305] - Search dialog crashes picard when record doesn't have an album
    * [PICARD-1306] - picard crashes when opening the options dialog if the cwd doesn't exist
  * New Feature
    * [PICARD-1289] - Allow manually running any tagger script
  * Improvement
    * [PICARD-1302] - Dropping an image from Google image crashes picard
    * [PICARD-1303] - picard crashes when matching a cluster with a release with no tracks
    * [PICARD-1304] - Info dialog for album crashes because track doesn't have a tracknumber
  * Regression
    * [PICARD-259] - Make file-specific variables available to tagger script
- Update to version 2.0.2
  * Bug-fix
    * [PICARD-1212] - Picard 2.0.0dev4 crashing at startup
    * [PICARD-1300] - Picard crashes when logging lots of events
- Update to version 2.0.1
  * No changes for linux users.

OBS-URL: https://build.opensuse.org/request/show/630702
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/picard?expand=0&rev=60
2018-08-21 07:00:29 +00:00

89 lines
2.5 KiB
RPMSpec

#
# spec file for package picard
#
# Copyright (c) 2018 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
Version: 2.0.3
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" 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/%{name}.desktop
%{python3_sitearch}/picard*
%{_datadir}/icons/hicolor/*/apps/picard.png
%{_datadir}/icons/hicolor/*/apps/picard.svg
%files lang -f %{name}.lang
%changelog