]> git.pld-linux.org Git - packages/picard.git/commitdiff
- unify pt[_PT] locale name for picard-attributes domain auto/th/picard-2.1.3-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Aug 2019 19:32:50 +0000 (21:32 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Aug 2019 19:32:50 +0000 (21:32 +0200)
- 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 [new file with mode: 0644]
picard.spec

diff --git a/picard-PyQt5-no-egg.patch b/picard-PyQt5-no-egg.patch
new file mode 100644 (file)
index 0000000..ecf6491
--- /dev/null
@@ -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',
index e6a0f6d1441c415f2ad0d42449aaf5ff425b042d..a81e6a20b4168b7ae506b9f7b9cf05c76bbf22e0 100644 (file)
@@ -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
This page took 0.110169 seconds and 4 git commands to generate.