File picard.spec of Package picard

# spec file for package picard
# Copyright (c) 2017 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

Name:           picard
Version:        1512585114.5dad06ef
Release:        0
Summary:        Official MusicBrainz tagger
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Utilities
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       chromaprint-fpcalc
Requires:       python3-discid
Requires:       python3-mutagen
Requires:       python3-qt5
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

MusicBrainz Picard is a cross-platform (Linux/Mac OS X/Windows) application
written in Python and is the official MusicBrainz tagger.


echo 1
%setup -q
sed "/E265/d" -i setup.cfg

echo 3

%find_lang %{name} %{name}.lang
%find_lang %{name}-countries %{name}.lang
%find_lang %{name}-attributes %{name}.lang
rm %{buildroot}/usr/
%fdupes %{buildroot}


%files lang -f %{name}.lang