[packages/picard] - unify pt[_PT] locale name for picard-attributes domain - added PyQt5-no-egg patch (PyQt5 in PLD do
qboosh
qboosh at pld-linux.org
Sat Aug 3 21:30:47 CEST 2019
commit b1c8d375558bd4cb0911bf42d071389e75633088
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Aug 3 21:32:50 2019 +0200
- unify pt[_PT] locale name for picard-attributes domain
- added PyQt5-no-egg patch (PyQt5 in PLD doesn't provide .egg-info, so don't require it)
- release 2
picard-PyQt5-no-egg.patch | 11 +++++++++++
picard.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/picard.spec b/picard.spec
index e6a0f6d..a81e6a2 100644
--- a/picard.spec
+++ b/picard.spec
@@ -2,12 +2,13 @@ Summary: Picard, the Next-Generation MusicBrainz Tagger
Summary(pl.UTF-8): Picard - znaczniki MusicBrainz nowej generacji
Name: picard
Version: 2.1.3
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications/Multimedia
Source0: http://ftp.musicbrainz.org/pub/musicbrainz/picard/%{name}-%{version}.tar.gz
# Source0-md5: 272b5ce221594eb1271d48d1c997499a
Patch0: %{name}-desktop.patch
+Patch1: %{name}-PyQt5-no-egg.patch
URL: https://picard.musicbrainz.org/
BuildRequires: gettext-tools
BuildRequires: libstdc++-devel
@@ -43,10 +44,14 @@ pod Windows jak i Linuksem. Niedługo zostanie dodana obsługa Mac OS X.
%prep
%setup -q -n %{name}-release-%{version}
%patch0 -p1
+%patch1 -p1
sed -i -e '1 s|/usr/bin/env python3|%{__python3}|g' \
tagger.py scripts/picard.in
+# unify
+%{__mv} po/attributes/{pt_PT,pt}.po
+# unsupported by glibc (as of 2.29)
%{__rm} po/sco.po
%build
diff --git a/picard-PyQt5-no-egg.patch b/picard-PyQt5-no-egg.patch
new file mode 100644
index 0000000..ecf6491
--- /dev/null
+++ b/picard-PyQt5-no-egg.patch
@@ -0,0 +1,11 @@
+--- picard-release-2.1.3/setup.py.orig 2019-03-04 17:31:14.000000000 +0100
++++ picard-release-2.1.3/setup.py 2019-08-03 21:24:30.460647899 +0200
+@@ -693,7 +693,7 @@
+ 'patch_version': picard_patch_version,
+ },
+ 'scripts': ['scripts/' + PACKAGE_NAME],
+- 'install_requires': ['PyQt5', 'mutagen'],
++ 'install_requires': ['mutagen'],
+ 'classifiers': [
+ 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
+ 'Development Status :: 5 - Production/Stable',
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/picard.git/commitdiff/b1c8d375558bd4cb0911bf42d071389e75633088
More information about the pld-cvs-commit
mailing list