From c64ba77b8a2649ecf7df7332abcf0d4fddaf0269 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Dec 06 2016 13:09:51 +0000 Subject: 2.4: Python3 & PyQt5 --- diff --git a/.gitignore b/.gitignore index 8cfb174..d2a9a19 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ mnemosyne-1.2.1.tgz /Mnemosyne-2.3.4.tar.gz /Mnemosyne-2.3.5.tar.gz /Mnemosyne-2.3.6.tar.gz +/Mnemosyne-2.4.tar.gz diff --git a/mnemosyne.spec b/mnemosyne.spec index eb49681..fb2c22d 100644 --- a/mnemosyne.spec +++ b/mnemosyne.spec @@ -1,7 +1,7 @@ Name: mnemosyne Summary: Flash-card learning tool -Version: 2.3.6 -Release: 2%{?dist} +Version: 2.4 +Release: 1%{?dist} URL: http://www.mnemosyne-proj.org/ Source0: http://downloads.sourceforge.net/sourceforge/mnemosyne-proj/Mnemosyne-%{version}.tar.gz Patch0: mnemosyne-desktop.patch @@ -9,14 +9,15 @@ License: AGPLv3 BuildArch: noarch BuildRequires: desktop-file-utils -BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools Requires: hicolor-icon-theme -Requires: PyQt4 -Requires: PyQt4-webkit -Requires: python-matplotlib-qt4 -Requires: python-cherrypy -Requires: python-webob +Requires: python3-qt5-webkit +Requires: python3-qt5-webengine +Requires: python3-matplotlib-qt5 +Requires: python3-cherrypy +Requires: python3-webob +Requires: python3-pillow %description Mnemosyne resembles a traditional flash-card program but with an @@ -31,10 +32,10 @@ Optional dependencies: %patch0 -p1 -b .d %build -%py2_build +%py3_build %install -%py2_install +%py3_install install -d %{buildroot}%{_datadir}/applications desktop-file-install --vendor="" \ @@ -66,13 +67,16 @@ fi # http://bazaar.launchpad.net/~peter-bienstman/mnemosyne-proj/trunk/view/head:/mnemosyne/mnemosyne/LICENSE #%%license docmnemosyne/libmnemosyne/LICENSE %{_bindir}/%{name} -%{python2_sitelib}/mnemosyne -%{python2_sitelib}/Mnemosyne-%{version}-*.egg-info -%{python2_sitelib}/openSM2sync +%{python3_sitelib}/mnemosyne +%{python3_sitelib}/Mnemosyne-%{version}-*.egg-info +%{python3_sitelib}/openSM2sync %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog +* Tue Dec 06 2016 Jiri Popelka - 2.4-1 +- 2.4: Python3 & PyQt5 + * Tue Jul 19 2016 Fedora Release Engineering - 2.3.6-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages diff --git a/sources b/sources index 433158a..cecd14d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2a415cf0849b53431d3215af5499344c Mnemosyne-2.3.6.tar.gz +b89ef0de414dd351f77f5c17c6f54376 Mnemosyne-2.4.tar.gz