From a50be1520b59b954e01526268690193a09fa8411 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Jan 2018 19:10:59 +0100 Subject: [PATCH 01/23] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- anki.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/anki.spec b/anki.spec index 6ff5442..942fd22 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.43 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -86,24 +86,6 @@ find %{buildroot}/usr/share/anki/locale -type d|sed ' s:'"%{buildroot}"':: s:\(.*\):%dir \1:' >>anki.lang -%post -/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : -/usr/bin/update-desktop-database &> /dev/null || : -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -/usr/bin/update-desktop-database &> /dev/null || : -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : - /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : -/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - %files -f %{name}.lang %doc LICENSE* README* %{_bindir}/anki @@ -119,6 +101,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* Sun Jan 07 2018 Igor Gnatenko - 2.0.43-3 +- Remove obsolete scriptlets + * Wed Jul 26 2017 Fedora Release Engineering - 2.0.43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 5a073278fae6eb1b9e53c4229f1653417c9c8951 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 02:17:43 +0000 Subject: [PATCH 02/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 942fd22..ba23f01 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.43 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.0.43-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sun Jan 07 2018 Igor Gnatenko - 2.0.43-3 - Remove obsolete scriptlets From 7acf19aad8a50b56fa55d2e138229570fb949946 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 11 Apr 2018 23:58:26 +0200 Subject: [PATCH 03/23] Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) Use separate send2trash python module instead of the bundled one (BZ 1173410) Disable internal CA store in favor of global one (BZ 1497504) Use correct shebang for python2 (BZ 1478302) Use %autosetup --- .gitignore | 1 + anki-2.0.50-use-python2-shebang.patch | 18 ++++++++++++++++ anki-2.0.50-use-system-certificates.patch | 12 +++++++++++ anki.spec | 26 +++++++++++++++-------- sources | 2 +- 5 files changed, 49 insertions(+), 10 deletions(-) create mode 100644 anki-2.0.50-use-python2-shebang.patch create mode 100644 anki-2.0.50-use-system-certificates.patch diff --git a/.gitignore b/.gitignore index c2211c7..9250bcb 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ anki-1.0.1.tgz /anki-2.0.36.tgz /anki-2.0.39-source.tgz /anki-2.0.43-source.tgz +/anki-2.0.50-source.tgz diff --git a/anki-2.0.50-use-python2-shebang.patch b/anki-2.0.50-use-python2-shebang.patch new file mode 100644 index 0000000..4eb51a1 --- /dev/null +++ b/anki-2.0.50-use-python2-shebang.patch @@ -0,0 +1,18 @@ +diff -uNr anki-2.0.50.old/anki/anki anki-2.0.50/anki/anki +--- anki-2.0.50.old/anki/anki 2016-05-12 04:40:52.000000000 +0200 ++++ anki-2.0.50/anki/anki 2018-04-11 00:59:13.901232410 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import os, sys + # system-wide install +diff -uNr anki-2.0.50.old/runanki anki-2.0.50/runanki +--- anki-2.0.50.old/runanki 2016-03-21 08:28:07.000000000 +0100 ++++ anki-2.0.50/runanki 2018-04-11 00:58:54.213952994 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import sys + sys.path.insert(0, "/usr/share/anki") diff --git a/anki-2.0.50-use-system-certificates.patch b/anki-2.0.50-use-system-certificates.patch new file mode 100644 index 0000000..88e6bed --- /dev/null +++ b/anki-2.0.50-use-system-certificates.patch @@ -0,0 +1,12 @@ +diff -uNr anki-2.0.50.old/anki/sync.py anki-2.0.50/anki/sync.py +--- anki-2.0.50.old/anki/sync.py 2017-08-27 03:51:01.000000000 +0200 ++++ anki-2.0.50/anki/sync.py 2018-04-11 00:30:32.785697476 +0200 +@@ -52,7 +52,7 @@ + if not os.path.exists(certs): + assert 0, "Your distro has not packaged Anki correctly." + return httplib2.Http( +- timeout=HTTP_TIMEOUT, ca_certs=certs, ++ timeout=HTTP_TIMEOUT, + proxy_info=HTTP_PROXY, + disable_ssl_certificate_validation=not not HTTP_PROXY) + diff --git a/anki.spec b/anki.spec index ba23f01..463f840 100644 --- a/anki.spec +++ b/anki.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: anki -Version: 2.0.43 -Release: 4%{?dist} +Version: 2.0.50 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -14,12 +14,19 @@ Source2: anki.appdata.xml # Config change: don't check for new updates. Patch0: anki-2.0.3-noupdate.patch +# The supplied CA store does not include the root CAs for the +# add-ons server when SNI is used by python's httplib2 +Patch1: anki-2.0.50-use-system-certificates.patch +# Use /usr/bin/python2 as shebang as required by +# https://fedoraproject.org/wiki/Packaging:Python +Patch2: anki-2.0.50-use-python2-shebang.patch BuildRequires: python2-devel, python-setuptools, python-sqlalchemy BuildRequires: desktop-file-utils, PyQt4, python-simplejson Requires: hicolor-icon-theme Requires: qt4, PyQt4, PyQt4-webkit Requires: python-sqlalchemy, python-simplejson Requires: python-matplotlib +Requires: python2-send2trash Requires: pygame, python-BeautifulSoup, python-httplib2 Requires: pyaudio, sox BuildArch: noarch @@ -30,24 +37,18 @@ and phrases in a foreign language) as easily, quickly and efficiently as possible. Anki is based on a theory called spaced repetition. %prep -%setup -q -mv thirdparty/send2trash . +%autosetup -p 1 rm -rf thirdparty -rm 'aqt/forms/#about.py#' -%patch0 -p1 -b .noupdate %build %install mkdir -p %{buildroot}%{_datadir}/%{name} -rm -f aqt/*.noupdate -rm -f aqt/*.fix-browserview cp -R aqt %{buildroot}%{_datadir}/%{name}/ cp -R designer %{buildroot}%{_datadir}/%{name}/ cp -R anki %{buildroot}%{_datadir}/%{name}/ cp -R locale %{buildroot}%{_datadir}/%{name}/ mkdir -p %{buildroot}%{_datadir}/%{name}/thirdparty -cp -R send2trash %{buildroot}%{_datadir}/%{name}/thirdparty/ install -d %{buildroot}%{_bindir} install -m 755 runanki %{buildroot}%{_bindir}/anki @@ -101,6 +102,13 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* Mon Apr 09 2018 Christian Krause - 2.0.50-1 +- Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) +- Use separate send2trash python module instead of the bundled one (BZ 1173410) +- Disable internal CA store in favor of global one (BZ 1497504) +- Use correct shebang for python2 (BZ 1478302) +- Use %%autosetup + * Wed Feb 07 2018 Fedora Release Engineering - 2.0.43-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 5a7dac3..507f72a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.0.43-source.tgz) = e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c +SHA512 (anki-2.0.50-source.tgz) = e4bd27768937534c6d94530b87269e62b348ca68b4e8cc46841ae7197bd8e02f46a6b328ff470a624ff2acdd1a61cd9435aa5dd4fecebd4fa570529c06955bc0 From c185770969ccae4093ebab20532297ff8ec4e86b Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 11 Apr 2018 23:58:26 +0200 Subject: [PATCH 04/23] Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) Use separate send2trash python module instead of the bundled one (BZ 1173410) Disable internal CA store in favor of global one (BZ 1497504) Use correct shebang for python2 (BZ 1478302) Use %autosetup --- .gitignore | 1 + anki-2.0.50-use-python2-shebang.patch | 18 ++++++++++++++++ anki-2.0.50-use-system-certificates.patch | 12 +++++++++++ anki.spec | 26 +++++++++++++++-------- sources | 2 +- 5 files changed, 49 insertions(+), 10 deletions(-) create mode 100644 anki-2.0.50-use-python2-shebang.patch create mode 100644 anki-2.0.50-use-system-certificates.patch diff --git a/.gitignore b/.gitignore index c2211c7..9250bcb 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ anki-1.0.1.tgz /anki-2.0.36.tgz /anki-2.0.39-source.tgz /anki-2.0.43-source.tgz +/anki-2.0.50-source.tgz diff --git a/anki-2.0.50-use-python2-shebang.patch b/anki-2.0.50-use-python2-shebang.patch new file mode 100644 index 0000000..4eb51a1 --- /dev/null +++ b/anki-2.0.50-use-python2-shebang.patch @@ -0,0 +1,18 @@ +diff -uNr anki-2.0.50.old/anki/anki anki-2.0.50/anki/anki +--- anki-2.0.50.old/anki/anki 2016-05-12 04:40:52.000000000 +0200 ++++ anki-2.0.50/anki/anki 2018-04-11 00:59:13.901232410 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import os, sys + # system-wide install +diff -uNr anki-2.0.50.old/runanki anki-2.0.50/runanki +--- anki-2.0.50.old/runanki 2016-03-21 08:28:07.000000000 +0100 ++++ anki-2.0.50/runanki 2018-04-11 00:58:54.213952994 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python2 + + import sys + sys.path.insert(0, "/usr/share/anki") diff --git a/anki-2.0.50-use-system-certificates.patch b/anki-2.0.50-use-system-certificates.patch new file mode 100644 index 0000000..88e6bed --- /dev/null +++ b/anki-2.0.50-use-system-certificates.patch @@ -0,0 +1,12 @@ +diff -uNr anki-2.0.50.old/anki/sync.py anki-2.0.50/anki/sync.py +--- anki-2.0.50.old/anki/sync.py 2017-08-27 03:51:01.000000000 +0200 ++++ anki-2.0.50/anki/sync.py 2018-04-11 00:30:32.785697476 +0200 +@@ -52,7 +52,7 @@ + if not os.path.exists(certs): + assert 0, "Your distro has not packaged Anki correctly." + return httplib2.Http( +- timeout=HTTP_TIMEOUT, ca_certs=certs, ++ timeout=HTTP_TIMEOUT, + proxy_info=HTTP_PROXY, + disable_ssl_certificate_validation=not not HTTP_PROXY) + diff --git a/anki.spec b/anki.spec index 6ff5442..f27d89d 100644 --- a/anki.spec +++ b/anki.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: anki -Version: 2.0.43 -Release: 2%{?dist} +Version: 2.0.50 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -14,12 +14,19 @@ Source2: anki.appdata.xml # Config change: don't check for new updates. Patch0: anki-2.0.3-noupdate.patch +# The supplied CA store does not include the root CAs for the +# add-ons server when SNI is used by python's httplib2 +Patch1: anki-2.0.50-use-system-certificates.patch +# Use /usr/bin/python2 as shebang as required by +# https://fedoraproject.org/wiki/Packaging:Python +Patch2: anki-2.0.50-use-python2-shebang.patch BuildRequires: python2-devel, python-setuptools, python-sqlalchemy BuildRequires: desktop-file-utils, PyQt4, python-simplejson Requires: hicolor-icon-theme Requires: qt4, PyQt4, PyQt4-webkit Requires: python-sqlalchemy, python-simplejson Requires: python-matplotlib +Requires: python2-send2trash Requires: pygame, python-BeautifulSoup, python-httplib2 Requires: pyaudio, sox BuildArch: noarch @@ -30,24 +37,18 @@ and phrases in a foreign language) as easily, quickly and efficiently as possible. Anki is based on a theory called spaced repetition. %prep -%setup -q -mv thirdparty/send2trash . +%autosetup -p 1 rm -rf thirdparty -rm 'aqt/forms/#about.py#' -%patch0 -p1 -b .noupdate %build %install mkdir -p %{buildroot}%{_datadir}/%{name} -rm -f aqt/*.noupdate -rm -f aqt/*.fix-browserview cp -R aqt %{buildroot}%{_datadir}/%{name}/ cp -R designer %{buildroot}%{_datadir}/%{name}/ cp -R anki %{buildroot}%{_datadir}/%{name}/ cp -R locale %{buildroot}%{_datadir}/%{name}/ mkdir -p %{buildroot}%{_datadir}/%{name}/thirdparty -cp -R send2trash %{buildroot}%{_datadir}/%{name}/thirdparty/ install -d %{buildroot}%{_bindir} install -m 755 runanki %{buildroot}%{_bindir}/anki @@ -119,6 +120,13 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* Mon Apr 09 2018 Christian Krause - 2.0.50-1 +- Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) +- Use separate send2trash python module instead of the bundled one (BZ 1173410) +- Disable internal CA store in favor of global one (BZ 1497504) +- Use correct shebang for python2 (BZ 1478302) +- Use %%autosetup + * Wed Jul 26 2017 Fedora Release Engineering - 2.0.43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 5a7dac3..507f72a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.0.43-source.tgz) = e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c +SHA512 (anki-2.0.50-source.tgz) = e4bd27768937534c6d94530b87269e62b348ca68b4e8cc46841ae7197bd8e02f46a6b328ff470a624ff2acdd1a61cd9435aa5dd4fecebd4fa570529c06955bc0 From 9062887f52a8605f3d0cd49f68189d96bb7871f4 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 3 Jun 2018 10:19:57 +0200 Subject: [PATCH 05/23] Update to new upstream version 2.0.52 (BZ 1584661) Remove obsolete directories in %install --- .gitignore | 1 + anki.spec | 8 +++++--- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9250bcb..20278fd 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ anki-1.0.1.tgz /anki-2.0.39-source.tgz /anki-2.0.43-source.tgz /anki-2.0.50-source.tgz +/anki-2.0.52-source.tgz diff --git a/anki.spec b/anki.spec index 463f840..70fcbca 100644 --- a/anki.spec +++ b/anki.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: anki -Version: 2.0.50 +Version: 2.0.52 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -48,7 +48,6 @@ cp -R aqt %{buildroot}%{_datadir}/%{name}/ cp -R designer %{buildroot}%{_datadir}/%{name}/ cp -R anki %{buildroot}%{_datadir}/%{name}/ cp -R locale %{buildroot}%{_datadir}/%{name}/ -mkdir -p %{buildroot}%{_datadir}/%{name}/thirdparty install -d %{buildroot}%{_bindir} install -m 755 runanki %{buildroot}%{_bindir}/anki @@ -94,7 +93,6 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/%{name}/aqt/ %{_datadir}/%{name}/designer/ %{_datadir}/%{name}/anki/ -%{_datadir}/%{name}/thirdparty/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.* %{_datadir}/mime/packages/anki.xml @@ -102,6 +100,10 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* Thu May 31 2018 Christian Krause - 2.0.52-1 +- Update to new upstream version 2.0.52 (BZ 1584661) +- Remove obsolete directories in %%install + * Mon Apr 09 2018 Christian Krause - 2.0.50-1 - Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) - Use separate send2trash python module instead of the bundled one (BZ 1173410) diff --git a/sources b/sources index 507f72a..39c4e42 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.0.50-source.tgz) = e4bd27768937534c6d94530b87269e62b348ca68b4e8cc46841ae7197bd8e02f46a6b328ff470a624ff2acdd1a61cd9435aa5dd4fecebd4fa570529c06955bc0 +SHA512 (anki-2.0.52-source.tgz) = 5130f6a90860d7e4de6cbf4401ab61c841e3d27cbcb2f62b45f807902e332e37fd7892a8688ad92ef1fae62360076530f480dfd6396b1cc0289ca8a52019ef05 From af6cccc94b8939324a5fb91fbd7504b4a3bc221a Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 3 Jun 2018 10:19:57 +0200 Subject: [PATCH 06/23] Update to new upstream version 2.0.52 (BZ 1584661) Remove obsolete directories in %install --- .gitignore | 1 + anki.spec | 8 +++++--- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9250bcb..20278fd 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ anki-1.0.1.tgz /anki-2.0.39-source.tgz /anki-2.0.43-source.tgz /anki-2.0.50-source.tgz +/anki-2.0.52-source.tgz diff --git a/anki.spec b/anki.spec index f27d89d..a8c9d67 100644 --- a/anki.spec +++ b/anki.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: anki -Version: 2.0.50 +Version: 2.0.52 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -48,7 +48,6 @@ cp -R aqt %{buildroot}%{_datadir}/%{name}/ cp -R designer %{buildroot}%{_datadir}/%{name}/ cp -R anki %{buildroot}%{_datadir}/%{name}/ cp -R locale %{buildroot}%{_datadir}/%{name}/ -mkdir -p %{buildroot}%{_datadir}/%{name}/thirdparty install -d %{buildroot}%{_bindir} install -m 755 runanki %{buildroot}%{_bindir}/anki @@ -112,7 +111,6 @@ fi %{_datadir}/%{name}/aqt/ %{_datadir}/%{name}/designer/ %{_datadir}/%{name}/anki/ -%{_datadir}/%{name}/thirdparty/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.* %{_datadir}/mime/packages/anki.xml @@ -120,6 +118,10 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* Thu May 31 2018 Christian Krause - 2.0.52-1 +- Update to new upstream version 2.0.52 (BZ 1584661) +- Remove obsolete directories in %%install + * Mon Apr 09 2018 Christian Krause - 2.0.50-1 - Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) - Use separate send2trash python module instead of the bundled one (BZ 1173410) diff --git a/sources b/sources index 507f72a..39c4e42 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.0.50-source.tgz) = e4bd27768937534c6d94530b87269e62b348ca68b4e8cc46841ae7197bd8e02f46a6b328ff470a624ff2acdd1a61cd9435aa5dd4fecebd4fa570529c06955bc0 +SHA512 (anki-2.0.52-source.tgz) = 5130f6a90860d7e4de6cbf4401ab61c841e3d27cbcb2f62b45f807902e332e37fd7892a8688ad92ef1fae62360076530f480dfd6396b1cc0289ca8a52019ef05 From 5c83db72b6a56d6247dbac6aaf688650022d0080 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 20:14:12 +0000 Subject: [PATCH 07/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 70fcbca..a808dff 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.52 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -100,6 +100,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 2.0.52-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Thu May 31 2018 Christian Krause - 2.0.52-1 - Update to new upstream version 2.0.52 (BZ 1584661) - Remove obsolete directories in %%install From 54ff3240bf20257bda76ac911c917a5c4963d8b6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:38 +0100 Subject: [PATCH 08/23] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- anki.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/anki.spec b/anki.spec index a808dff..2d95311 100644 --- a/anki.spec +++ b/anki.spec @@ -5,7 +5,6 @@ Version: 2.0.52 Release: 2%{?dist} Summary: Flashcard program for using space repetition learning -Group: Amusements/Games License: AGPLv3+ and GPLv3+ and MIT and BSD URL: https://apps.ankiweb.net/ Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz From 8cc9391a8aa363a6c9c250b539319b59bc25072d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 13:19:57 +0000 Subject: [PATCH 09/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 2d95311..ef357db 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.52 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and MIT and BSD @@ -99,6 +99,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 2.0.52-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Jul 12 2018 Fedora Release Engineering - 2.0.52-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 8a1c5245b2e14e8dc542396d41ce09cb6eaf7646 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Thu, 6 Jun 2019 21:16:21 +0200 Subject: [PATCH 10/23] Update to new major upstream version 2.1.13 (BZ 1612847) Spec file cleanup --- .gitignore | 1 + anki-2.0.50-use-python2-shebang.patch | 18 ------ anki-2.0.50-use-system-certificates.patch | 12 ---- anki.spec | 73 ++++++++++------------- sources | 2 +- 5 files changed, 34 insertions(+), 72 deletions(-) delete mode 100644 anki-2.0.50-use-python2-shebang.patch delete mode 100644 anki-2.0.50-use-system-certificates.patch diff --git a/.gitignore b/.gitignore index 20278fd..2b35509 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ anki-1.0.1.tgz /anki-2.0.43-source.tgz /anki-2.0.50-source.tgz /anki-2.0.52-source.tgz +/anki-2.1.13-source.tgz diff --git a/anki-2.0.50-use-python2-shebang.patch b/anki-2.0.50-use-python2-shebang.patch deleted file mode 100644 index 4eb51a1..0000000 --- a/anki-2.0.50-use-python2-shebang.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -uNr anki-2.0.50.old/anki/anki anki-2.0.50/anki/anki ---- anki-2.0.50.old/anki/anki 2016-05-12 04:40:52.000000000 +0200 -+++ anki-2.0.50/anki/anki 2018-04-11 00:59:13.901232410 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - import os, sys - # system-wide install -diff -uNr anki-2.0.50.old/runanki anki-2.0.50/runanki ---- anki-2.0.50.old/runanki 2016-03-21 08:28:07.000000000 +0100 -+++ anki-2.0.50/runanki 2018-04-11 00:58:54.213952994 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - import sys - sys.path.insert(0, "/usr/share/anki") diff --git a/anki-2.0.50-use-system-certificates.patch b/anki-2.0.50-use-system-certificates.patch deleted file mode 100644 index 88e6bed..0000000 --- a/anki-2.0.50-use-system-certificates.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr anki-2.0.50.old/anki/sync.py anki-2.0.50/anki/sync.py ---- anki-2.0.50.old/anki/sync.py 2017-08-27 03:51:01.000000000 +0200 -+++ anki-2.0.50/anki/sync.py 2018-04-11 00:30:32.785697476 +0200 -@@ -52,7 +52,7 @@ - if not os.path.exists(certs): - assert 0, "Your distro has not packaged Anki correctly." - return httplib2.Http( -- timeout=HTTP_TIMEOUT, ca_certs=certs, -+ timeout=HTTP_TIMEOUT, - proxy_info=HTTP_PROXY, - disable_ssl_certificate_validation=not not HTTP_PROXY) - diff --git a/anki.spec b/anki.spec index ef357db..a40ea14 100644 --- a/anki.spec +++ b/anki.spec @@ -1,11 +1,9 @@ -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - Name: anki -Version: 2.0.52 -Release: 3%{?dist} +Version: 2.1.13 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning -License: AGPLv3+ and GPLv3+ and MIT and BSD +License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY URL: https://apps.ankiweb.net/ Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz Source1: anki.svg @@ -13,21 +11,18 @@ Source2: anki.appdata.xml # Config change: don't check for new updates. Patch0: anki-2.0.3-noupdate.patch -# The supplied CA store does not include the root CAs for the -# add-ons server when SNI is used by python's httplib2 -Patch1: anki-2.0.50-use-system-certificates.patch -# Use /usr/bin/python2 as shebang as required by -# https://fedoraproject.org/wiki/Packaging:Python -Patch2: anki-2.0.50-use-python2-shebang.patch -BuildRequires: python2-devel, python-setuptools, python-sqlalchemy -BuildRequires: desktop-file-utils, PyQt4, python-simplejson +BuildRequires: python3-devel, python3-setuptools +%global __python %{__python3} +BuildRequires: desktop-file-utils, libappstream-glib +BuildRequires: python3-simplejson Requires: hicolor-icon-theme -Requires: qt4, PyQt4, PyQt4-webkit -Requires: python-sqlalchemy, python-simplejson -Requires: python-matplotlib -Requires: python2-send2trash -Requires: pygame, python-BeautifulSoup, python-httplib2 -Requires: pyaudio, sox +Requires: python3-qt5, python3-qt5-webengine, python3-qt5-webkit +Requires: python3-sqlalchemy, python3-simplejson +Requires: python3-matplotlib, python3-decorator +Requires: python3-markdown +Requires: python3-send2trash, python3-requests +Requires: python3-pygame, python3-beautifulsoup4, python3-httplib2 +Requires: python3-pyaudio, python3-jsonschema, sox BuildArch: noarch %description @@ -37,23 +32,13 @@ as possible. Anki is based on a theory called spaced repetition. %prep %autosetup -p 1 -rm -rf thirdparty %build %install -mkdir -p %{buildroot}%{_datadir}/%{name} -cp -R aqt %{buildroot}%{_datadir}/%{name}/ -cp -R designer %{buildroot}%{_datadir}/%{name}/ -cp -R anki %{buildroot}%{_datadir}/%{name}/ -cp -R locale %{buildroot}%{_datadir}/%{name}/ - -install -d %{buildroot}%{_bindir} -install -m 755 runanki %{buildroot}%{_bindir}/anki - -install -d %{buildroot}%{_pkgdocdir} -install -m 644 LICENSE* %{buildroot}%{_pkgdocdir}/ -install -m 644 README* %{buildroot}%{_pkgdocdir}/ +DESTDIR=%{buildroot} make install +# Use only SVG icon +rm -rf %{buildroot}%{_datadir}/pixmaps install -d %{buildroot}%{_datadir}/mime/packages install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages @@ -61,11 +46,9 @@ install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ -install -d %{buildroot}%{_mandir}/man1 -install -m 644 anki.1 %{buildroot}%{_mandir}/man1/ - -mkdir -p %{buildroot}%{_datadir}/appdata -install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/ +mkdir -p %{buildroot}%{_metainfodir} +install -m 644 %{SOURCE2} %{buildroot}%{_metainfodir} +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml desktop-file-install \ --remove-category=KDE \ @@ -76,7 +59,7 @@ desktop-file-install \ find %{buildroot} -type f -o -type l|sed ' s:'"%{buildroot}"':: s:\(.*/share/anki/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3: -s:\(.*/share/anki/locale/qt_\)\([^.]\+\)\(\.qm\):%lang(\2) \1\2\3: +s:\(.*/share/anki/locale/qt\)\([^.]\+\)\(\.qm\):%lang(\2) \1\2\3: s:^\([^%].*\):: s:%lang(C) :: /^$/d' > anki.lang @@ -85,20 +68,28 @@ find %{buildroot}/usr/share/anki/locale -type d|sed ' s:'"%{buildroot}"':: s:\(.*\):%dir \1:' >>anki.lang +# Remove license files from docdir, they will be copied to separately via %%license +rm -f %{buildroot}%{_pkgdocdir}/LICENSE* + %files -f %{name}.lang -%doc LICENSE* README* +%license LICENSE* +%doc README* %{_bindir}/anki %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/aqt/ -%{_datadir}/%{name}/designer/ +%{_datadir}/%{name}/web/ %{_datadir}/%{name}/anki/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.* %{_datadir}/mime/packages/anki.xml %{_mandir}/man1/%{name}.* -%{_datadir}/appdata/anki.appdata.xml +%{_metainfodir}/anki.appdata.xml %changelog +* Thu Jun 06 2019 Christian Krause - 2.1.13-1 +- Update to new major upstream version 2.1.13 (BZ 1612847) +- Spec file cleanup + * Thu Jan 31 2019 Fedora Release Engineering - 2.0.52-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 39c4e42..9c8212f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.0.52-source.tgz) = 5130f6a90860d7e4de6cbf4401ab61c841e3d27cbcb2f62b45f807902e332e37fd7892a8688ad92ef1fae62360076530f480dfd6396b1cc0289ca8a52019ef05 +SHA512 (anki-2.1.13-source.tgz) = 921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3 From 4d74c7297df2b8005f26ef9d55c546a89946a669 Mon Sep 17 00:00:00 2001 From: Thomas Drake-Brockman Date: Sat, 6 Jul 2019 11:08:42 +0000 Subject: [PATCH 11/23] Update to new upstream patch version 2.1.14 (BZ 1724384) Tweaked spec file --- .gitignore | 39 +-------------------------------------- anki.spec | 44 +++++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 25 insertions(+), 60 deletions(-) diff --git a/.gitignore b/.gitignore index 2b35509..01b56f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,38 +1 @@ -anki-0.9.9.8.6-nosamples.tgz -anki-1.0.tgz -anki-1.0.1.tgz -/anki-1.1.0.tgz -/anki-1.1.3.tgz -/anki-1.1.10.tgz -/anki-1.2.2.tgz -/anki-1.2.4.tgz -/anki-1.2.5.tgz -/anki-1.2.6.tgz -/anki-1.2.7.tgz -/anki-1.2.8.tgz -/anki-1.2.9.tgz -/anki-1.2.11.tgz -/anki-2.0.4.tgz -/anki-2.0.6.tgz -/anki-2.0.7.tgz -/anki-2.0.8.tgz -/anki-2.0.9.tgz -/anki-2.0.11.tgz -/anki-2.0.12.tgz -/anki-2.0.13.tgz -/anki-2.0.16.tgz -/anki-2.0.18.tgz -/anki-2.0.20.tgz -/anki-2.0.22.tgz -/anki-2.0.25.tgz -/anki-2.0.26.tgz -/anki-2.0.28.tgz -/anki-2.0.31.tgz -/anki-2.0.32.tgz -/anki-2.0.33.tgz -/anki-2.0.36.tgz -/anki-2.0.39-source.tgz -/anki-2.0.43-source.tgz -/anki-2.0.50-source.tgz -/anki-2.0.52-source.tgz -/anki-2.1.13-source.tgz +/anki-2.1.14-source.tgz diff --git a/anki.spec b/anki.spec index a40ea14..c85a01b 100644 --- a/anki.spec +++ b/anki.spec @@ -1,29 +1,27 @@ -Name: anki -Version: 2.1.13 -Release: 1%{?dist} -Summary: Flashcard program for using space repetition learning +Name: anki +Version: 2.1.14 +Release: 1%{?dist} +Summary: Flashcard program for using space repetition learning -License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY -URL: https://apps.ankiweb.net/ -Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz -Source1: anki.svg -Source2: anki.appdata.xml +License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY +URL: https://apps.ankiweb.net/ +Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz +Source1: anki.svg +Source2: anki.appdata.xml # Config change: don't check for new updates. -Patch0: anki-2.0.3-noupdate.patch -BuildRequires: python3-devel, python3-setuptools +Patch0: anki-2.0.3-noupdate.patch +BuildRequires: python3-devel, python3-setuptools %global __python %{__python3} -BuildRequires: desktop-file-utils, libappstream-glib -BuildRequires: python3-simplejson +BuildRequires: desktop-file-utils, libappstream-glib +BuildRequires: python3-simplejson Requires: hicolor-icon-theme Requires: python3-qt5, python3-qt5-webengine, python3-qt5-webkit -Requires: python3-sqlalchemy, python3-simplejson -Requires: python3-matplotlib, python3-decorator -Requires: python3-markdown -Requires: python3-send2trash, python3-requests -Requires: python3-pygame, python3-beautifulsoup4, python3-httplib2 -Requires: python3-pyaudio, python3-jsonschema, sox -BuildArch: noarch +Requires: python3-sqlalchemy, python3-simplejson, python3-matplotlib +Requires: python3-decorator, python3-markdown, python3-send2trash +Requires: python3-requests, python3-pygame, python3-beautifulsoup4 +Requires: python3-httplib2, python3-pyaudio, python3-jsonschema, sox +BuildArch: noarch %description Anki is a program designed to help you remember facts (such as words @@ -86,6 +84,10 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Sat Jul 06 2019 Thomas Drake-Brockman - 2.1.14-1 +- Update to new upstream patch version 2.1.14 (BZ 1724384) +- Tweaked spec file + * Thu Jun 06 2019 Christian Krause - 2.1.13-1 - Update to new major upstream version 2.1.13 (BZ 1612847) - Spec file cleanup @@ -323,7 +325,7 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* - Update to new upstream version 0.9.9.7.9b to fix a syncing bug * Tue May 12 2009 Christian Krause - 0.9.9.7.9-1 -- Update to new upstream version 0.9.9.7.9 to fix an update problem of the +- Update to new upstream version 0.9.9.7.9 to fix an update problem of the statusbar and of the titlebar * Thu May 07 2009 Christian Krause - 0.9.9.7.8-2 diff --git a/sources b/sources index 9c8212f..50ae45c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.1.13-source.tgz) = 921ef48b16c0c8c83b85523aa0a5b828210b210cd51fa471f57e9aa6777a1aced30c7e24084ef0c2f14c9d846a19091923d13faaff7ed9075860fc23f8ba1cd3 +SHA512 (anki-2.1.14-source.tgz) = 99d24efad47ba30b22bd52986a74c55370ef872fc5a2ceee5b2c32bda6b35f201a368105d640a8daeb031e04c81c416a8e43e2fdaebe06fe73041dec0653f161 From 68399fcbb50372cc37714a58f5cab35a9df96cc7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 17:55:16 +0000 Subject: [PATCH 12/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index c85a01b..46afbe5 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -84,6 +84,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 2.1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Jul 06 2019 Thomas Drake-Brockman - 2.1.14-1 - Update to new upstream patch version 2.1.14 (BZ 1724384) - Tweaked spec file From c54f2b8f85dc4f6dc2be09ff55ef0542c4fcce16 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 25 Aug 2019 11:34:45 +0200 Subject: [PATCH 13/23] Update to new upstream version 2.1.15 (BZ 1744359) Remove obsolete requirement python3-qt5-webkit --- .gitignore | 1 + anki.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 01b56f3..ceabfb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /anki-2.1.14-source.tgz +/anki-2.1.15-source.tgz diff --git a/anki.spec b/anki.spec index 46afbe5..3f2e748 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki -Version: 2.1.14 -Release: 2%{?dist} +Version: 2.1.15 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -16,7 +16,7 @@ BuildRequires: python3-devel, python3-setuptools BuildRequires: desktop-file-utils, libappstream-glib BuildRequires: python3-simplejson Requires: hicolor-icon-theme -Requires: python3-qt5, python3-qt5-webengine, python3-qt5-webkit +Requires: python3-qt5, python3-qt5-webengine Requires: python3-sqlalchemy, python3-simplejson, python3-matplotlib Requires: python3-decorator, python3-markdown, python3-send2trash Requires: python3-requests, python3-pygame, python3-beautifulsoup4 @@ -84,6 +84,10 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Fri Aug 23 2019 Christian Krause - 2.1.15-1 +- Update to new upstream version 2.1.15 (BZ 1744359) +- Remove obsolete requirement python3-qt5-webkit + * Wed Jul 24 2019 Fedora Release Engineering - 2.1.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 50ae45c..f7955fb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.1.14-source.tgz) = 99d24efad47ba30b22bd52986a74c55370ef872fc5a2ceee5b2c32bda6b35f201a368105d640a8daeb031e04c81c416a8e43e2fdaebe06fe73041dec0653f161 +SHA512 (anki-2.1.15-source.tgz) = f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3 From 018a340d1cf8a7b72a4471ec6f901906a423f99c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:35:54 +0000 Subject: [PATCH 14/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 3f2e748..a992a63 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -84,6 +84,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 2.1.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 23 2019 Christian Krause - 2.1.15-1 - Update to new upstream version 2.1.15 (BZ 1744359) - Remove obsolete requirement python3-qt5-webkit From 6a56f8d604fb2ebeec0a5be66b58834e5fdc83be Mon Sep 17 00:00:00 2001 From: Thomas Drake-Brockman Date: Sun, 5 Jul 2020 12:11:32 +0000 Subject: [PATCH 15/23] Add ExclusiveArch to spec --- anki.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anki.spec b/anki.spec index a992a63..80e44f0 100644 --- a/anki.spec +++ b/anki.spec @@ -22,6 +22,7 @@ Requires: python3-decorator, python3-markdown, python3-send2trash Requires: python3-requests, python3-pygame, python3-beautifulsoup4 Requires: python3-httplib2, python3-pyaudio, python3-jsonschema, sox BuildArch: noarch +ExclusiveArch: %{qt5_qtwebengine_arches} noarch %description Anki is a program designed to help you remember facts (such as words From ecf91bc233b4aed3c43d698977f6bd6c355d157c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 12:04:00 +0000 Subject: [PATCH 16/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 80e44f0..f83dc58 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -85,6 +85,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.1.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Fedora Release Engineering - 2.1.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 4d6f0e914f823566d0db8f5ef81b4b71a46047ca Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 16 Dec 2020 23:28:55 +0000 Subject: [PATCH 17/23] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- anki.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anki.spec b/anki.spec index f83dc58..5b744e5 100644 --- a/anki.spec +++ b/anki.spec @@ -15,6 +15,7 @@ BuildRequires: python3-devel, python3-setuptools %global __python %{__python3} BuildRequires: desktop-file-utils, libappstream-glib BuildRequires: python3-simplejson +BuildRequires: make Requires: hicolor-icon-theme Requires: python3-qt5, python3-qt5-webengine Requires: python3-sqlalchemy, python3-simplejson, python3-matplotlib From a1a3e02b2362ebfc3bfbe7f3445c13e831df5c7d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 00:06:45 +0000 Subject: [PATCH 18/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 5b744e5..ee8dae8 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.15 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.1.15-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 2.1.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d2fc2a0091b8f2d37ed7e3c94adfa90d76ba5598 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:38:57 +0000 Subject: [PATCH 19/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From d649143a3b5ca00ddb4ef238bbcc8ec275f885b1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:34:34 +0000 Subject: [PATCH 20/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index ee8dae8..b2f06fb 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.15 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 2.1.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.1.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 603d345a8c69ded35ffe2e7a599652e0b286a42b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 21:16:26 +0000 Subject: [PATCH 21/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index b2f06fb..acd3d76 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.15 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 2.1.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 2.1.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 45e008dd76675fe84ee065109723db8b51ee0907 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:48:41 +0000 Subject: [PATCH 22/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index acd3d76..4ea828d 100644 --- a/anki.spec +++ b/anki.spec @@ -1,6 +1,6 @@ Name: anki Version: 2.1.15 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Flashcard program for using space repetition learning License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_pkgdocdir}/LICENSE* %{_metainfodir}/anki.appdata.xml %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 2.1.15-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Wed Jan 19 2022 Fedora Release Engineering - 2.1.15-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 9552953cac30656aa8f5e74850b7533986c1716f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 10 Jan 2023 19:19:22 +0100 Subject: [PATCH 23/23] Orphaned for 6+ weeks --- .gitignore | 2 - anki-2.0.3-noupdate.patch | 17 -- anki-make-git-snapshot.sh | 49 ----- anki.appdata.xml | 36 ---- anki.spec | 386 -------------------------------------- anki.svg | 277 --------------------------- dead.package | 1 + generate-anki-tarball.sh | 9 - sources | 1 - 9 files changed, 1 insertion(+), 777 deletions(-) delete mode 100644 .gitignore delete mode 100644 anki-2.0.3-noupdate.patch delete mode 100644 anki-make-git-snapshot.sh delete mode 100644 anki.appdata.xml delete mode 100644 anki.spec delete mode 100644 anki.svg create mode 100644 dead.package delete mode 100755 generate-anki-tarball.sh delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ceabfb6..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/anki-2.1.14-source.tgz -/anki-2.1.15-source.tgz diff --git a/anki-2.0.3-noupdate.patch b/anki-2.0.3-noupdate.patch deleted file mode 100644 index b895f94..0000000 --- a/anki-2.0.3-noupdate.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -uNr anki-2.0.3.old/aqt/profiles.py anki-2.0.3/aqt/profiles.py ---- anki-2.0.3.old/aqt/profiles.py 2012-09-05 19:24:05.000000000 +0200 -+++ anki-2.0.3/aqt/profiles.py 2012-12-27 19:43:11.369462377 +0100 -@@ -18,11 +18,11 @@ - - metaConf = dict( - ver=0, -- updates=True, -+ updates=False, - created=intTime(), - id=random.randrange(0, 2**63), - lastMsg=-1, -- suppressUpdate=False, -+ suppressUpdate=True, - firstRun=True, - defaultLang=None, - disabledAddons=[], diff --git a/anki-make-git-snapshot.sh b/anki-make-git-snapshot.sh deleted file mode 100644 index b794244..0000000 --- a/anki-make-git-snapshot.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -# Usage: sh anki-make-git-snapshot.sh [LIBANKICOMMIT] [ANKIQTCOMMIT] [DATE] -# -# to make a snapshot of the given tag/branch. Defaults to HEAD. - -set +x - -if [ -z $3 ]; then - DATE=`date +%Y%m%d` -else - DATE=$3 -fi - -DIRNAME="anki-$DATE" - -echo DIRNAME $DIRNAME -echo LIBANKIHEAD ${1:-HEAD} -echo ANKIQTHEAD ${2:-HEAD} - -rm -rf $DIRNAME - -git clone git://github.com/dae/ankiqt.git $DIRNAME -git clone git://github.com/dae/libanki.git $DIRNAME/libanki - -pushd $DIRNAME -git checkout $ANKIQTHEAD -pushd libanki -git checkout $LIBANKIHEAD -popd -popd - -ln -s $DIRNAME ankiqt -ln -s $DIRNAME/libanki libanki -bzr clone lp:anki -pushd anki -./update-mos.sh -popd -rm ankiqt -rm libanki -rm -rf anki - -rm -rf $DIRNAME/.git $DIRNAME/libanki/.git -rm -rf $DIRNAME/libanki/tests/importing/supermemo* - -tar czf $DIRNAME.tgz $DIRNAME - -rm -rf $DIRNAME - diff --git a/anki.appdata.xml b/anki.appdata.xml deleted file mode 100644 index 3805d8f..0000000 --- a/anki.appdata.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - anki.desktop - CC0 - -

- Anki is a program which makes remembering things easy. Because it's a lot - more efficient than traditional study methods, you can either - greatly decrease your time spent studying, or greatly increase the amount you learn. -

-

- Anyone who needs to remember things in their daily life can benefit - from Anki. Since it is content-agnostic and supports images, audio, - videos and scientific markup (via LaTeX), the possibilities are endless. -

-

For example:

-
    -
  • Learning a language (vocabulary, grammar, phrases, ...)
  • -
  • Studying for medical and law exams
  • -
  • Memorizing people's names and faces
  • -
  • Brushing up on geography
  • -
  • Mastering long poems
  • -
  • Even practicing guitar chords!
  • -
-
- - http://chkr.fedorapeople.org/screenshots/anki/anki-review1.png - http://chkr.fedorapeople.org/screenshots/anki/anki-deck-browser.png - http://chkr.fedorapeople.org/screenshots/anki/anki-review2.png - http://chkr.fedorapeople.org/screenshots/anki/anki-browser.png - http://chkr.fedorapeople.org/screenshots/anki/anki-statistics.png - - http://ankisrs.net/ - chkr@fedoraproject.org -
diff --git a/anki.spec b/anki.spec deleted file mode 100644 index 4ea828d..0000000 --- a/anki.spec +++ /dev/null @@ -1,386 +0,0 @@ -Name: anki -Version: 2.1.15 -Release: 7%{?dist} -Summary: Flashcard program for using space repetition learning - -License: AGPLv3+ and GPLv3+ and LGPLv3 and MIT and BSD and ASL 2.0 and CC-BY-SA and CC-BY -URL: https://apps.ankiweb.net/ -Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz -Source1: anki.svg -Source2: anki.appdata.xml - -# Config change: don't check for new updates. -Patch0: anki-2.0.3-noupdate.patch -BuildRequires: python3-devel, python3-setuptools -%global __python %{__python3} -BuildRequires: desktop-file-utils, libappstream-glib -BuildRequires: python3-simplejson -BuildRequires: make -Requires: hicolor-icon-theme -Requires: python3-qt5, python3-qt5-webengine -Requires: python3-sqlalchemy, python3-simplejson, python3-matplotlib -Requires: python3-decorator, python3-markdown, python3-send2trash -Requires: python3-requests, python3-pygame, python3-beautifulsoup4 -Requires: python3-httplib2, python3-pyaudio, python3-jsonschema, sox -BuildArch: noarch -ExclusiveArch: %{qt5_qtwebengine_arches} noarch - -%description -Anki is a program designed to help you remember facts (such as words -and phrases in a foreign language) as easily, quickly and efficiently -as possible. Anki is based on a theory called spaced repetition. - -%prep -%autosetup -p 1 - -%build - -%install -DESTDIR=%{buildroot} make install -# Use only SVG icon -rm -rf %{buildroot}%{_datadir}/pixmaps - -install -d %{buildroot}%{_datadir}/mime/packages -install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages - -install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps -install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ - -mkdir -p %{buildroot}%{_metainfodir} -install -m 644 %{SOURCE2} %{buildroot}%{_metainfodir} -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml - -desktop-file-install \ - --remove-category=KDE \ - --set-key=Keywords --set-value="learn;education;memorizing;language;flashcard;spaced repetition;" \ - --dir %{buildroot}%{_datadir}/applications \ - %{name}.desktop - -find %{buildroot} -type f -o -type l|sed ' -s:'"%{buildroot}"':: -s:\(.*/share/anki/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3: -s:\(.*/share/anki/locale/qt\)\([^.]\+\)\(\.qm\):%lang(\2) \1\2\3: -s:^\([^%].*\):: -s:%lang(C) :: -/^$/d' > anki.lang - -find %{buildroot}/usr/share/anki/locale -type d|sed ' -s:'"%{buildroot}"':: -s:\(.*\):%dir \1:' >>anki.lang - -# Remove license files from docdir, they will be copied to separately via %%license -rm -f %{buildroot}%{_pkgdocdir}/LICENSE* - -%files -f %{name}.lang -%license LICENSE* -%doc README* -%{_bindir}/anki -%dir %{_datadir}/%{name}/ -%{_datadir}/%{name}/aqt/ -%{_datadir}/%{name}/web/ -%{_datadir}/%{name}/anki/ -%{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/scalable/apps/%{name}.* -%{_datadir}/mime/packages/anki.xml -%{_mandir}/man1/%{name}.* -%{_metainfodir}/anki.appdata.xml - -%changelog -* Wed Jul 20 2022 Fedora Release Engineering - 2.1.15-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jan 19 2022 Fedora Release Engineering - 2.1.15-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 2.1.15-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jan 26 2021 Fedora Release Engineering - 2.1.15-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 2.1.15-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Fedora Release Engineering - 2.1.15-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Aug 23 2019 Christian Krause - 2.1.15-1 -- Update to new upstream version 2.1.15 (BZ 1744359) -- Remove obsolete requirement python3-qt5-webkit - -* Wed Jul 24 2019 Fedora Release Engineering - 2.1.14-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Jul 06 2019 Thomas Drake-Brockman - 2.1.14-1 -- Update to new upstream patch version 2.1.14 (BZ 1724384) -- Tweaked spec file - -* Thu Jun 06 2019 Christian Krause - 2.1.13-1 -- Update to new major upstream version 2.1.13 (BZ 1612847) -- Spec file cleanup - -* Thu Jan 31 2019 Fedora Release Engineering - 2.0.52-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 2.0.52-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu May 31 2018 Christian Krause - 2.0.52-1 -- Update to new upstream version 2.0.52 (BZ 1584661) -- Remove obsolete directories in %%install - -* Mon Apr 09 2018 Christian Krause - 2.0.50-1 -- Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541) -- Use separate send2trash python module instead of the bundled one (BZ 1173410) -- Disable internal CA store in favor of global one (BZ 1497504) -- Use correct shebang for python2 (BZ 1478302) -- Use %%autosetup - -* Wed Feb 07 2018 Fedora Release Engineering - 2.0.43-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Jan 07 2018 Igor Gnatenko - 2.0.43-3 -- Remove obsolete scriptlets - -* Wed Jul 26 2017 Fedora Release Engineering - 2.0.43-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 25 2017 Christian Krause - 2.0.43-1 -- Update to new upstream version 2.0.43 (BZ 1406760) -- Delete backup file - -* Fri Feb 10 2017 Fedora Release Engineering - 2.0.39-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sun Jan 22 2017 Christian Krause - 2.0.39-1 -- Update to new upstream version 2.0.39 (BZ 1406760) -- Update source and project URL - -* Mon Sep 26 2016 Dominik Mierzejewski - 2.0.36-2 -- rebuilt for matplotlib-2.0.0 - -* Sun Aug 07 2016 Christian Krause - 2.0.36-1 -- Update to new upstream version 2.0.36 (BZ 1321457) - -* Wed Mar 02 2016 Rex Dieter 2.0.33-3 -- Requires: PyQt4-webkit - -* Wed Feb 03 2016 Fedora Release Engineering - 2.0.33-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Mon Nov 30 2015 Christian Krause - 2.0.33-1 -- Update to new upstream version 2.0.33 (BZ 1270574) -- Correct files list entry for LICENSE files - -* Tue Jun 16 2015 Fedora Release Engineering - 2.0.32-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Apr 05 2015 Christian Krause - 2.0.32-1 -- Update to new upstream version 2.0.32 (BZ 1205471) -- Move icon to %%{_datadir}/icons/hicolor/scalable/apps -- Modify svg icon to use only the subset of the SVG specification - which is implemented by Qt's SVG library -- Add keywords to desktop file - -* Mon Nov 03 2014 Christian Krause - 2.0.31-1 -- Update to new upstream version 2.0.31 (BZ 1144973) - -* Wed Jul 30 2014 Christian Krause - 2.0.28-1 -- Update to new upstream version 2.0.28 (BZ 1123961) - -* Tue Jul 08 2014 Rex Dieter 2.0.26-3 -- optimize mimeinfo scriptlet - -* Sat Jun 07 2014 Fedora Release Engineering - 2.0.26-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue May 20 2014 Christian Krause - 2.0.26-1 -- Update to new upstream version 2.0.26 (BZ 1090863) -- Add appdata - -* Fri Apr 18 2014 Christian Krause - 2.0.25-1 -- Update to new upstream version 2.0.25 (BZ 1087211) - -* Fri Jan 31 2014 Christian Krause - 2.0.22-1 -- Update to new upstream version 2.0.22 (BZ 1057013) - -* Tue Jan 14 2014 Christian Krause - 2.0.20-2 -- Fix typo in changelog - -* Tue Jan 14 2014 Christian Krause - 2.0.20-1 -- Update to new upstream version 2.0.20 (BZ 1040134) - -* Wed Nov 20 2013 Christian Krause - 2.0.18-1 -- Update to new upstream version 2.0.18 (BZ 1027704) - -* Fri Nov 01 2013 Christian Krause - 2.0.16-1 -- Update to new upstream version 2.0.16 - -* Fri Oct 11 2013 Christian Krause - 2.0.13-1 -- Update to new upstream version 2.0.13 - -* Sun Aug 04 2013 Christian Krause - 2.0.12-1 -- Update to new upstream version 2.0.12 (BZ 989901) -- Install docs to %%{_pkgdocdir} (BZ 991962) -- Install additional LICENSE file - -* Sat Aug 03 2013 Fedora Release Engineering - 2.0.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Mon Jun 24 2013 Christian Krause - 2.0.11-1 -- Update to new upstream version 2.0.11 (BZ 973523) - -* Mon Jun 03 2013 Christian Krause - 2.0.9-1 -- Update to new upstream version 2.0.9 (BZ 970052) -- Remove patch (issue was fixed upstream) - -* Mon Apr 01 2013 Christian Krause - 2.0.8-2 -- Add patch to fix filter selection in browser view: - https://anki.lighthouseapp.com/projects/100923/tickets/729-browser-filter-tree-doesnt-filter - -* Sun Feb 24 2013 Christian Krause - 2.0.8-1 -- Update to new upstream version 2.0.8 - -* Sat Feb 02 2013 Christian Krause - 2.0.7-1 -- Update to new upstream version 2.0.7 - -* Thu Jan 10 2013 Christian Krause - 2.0.4-1 -- Update to anki-2.0.4 (based on work from Christophe Fergeau ) -- Update license to AGPLv3+ -- Update noupdate patch -- Add man page -- Add post/postun scripts (needed for MimeType key in anki.desktop and for - /usr/share/mime/packages/anki.xml) -- Spec file cleanup - -* Wed Jul 18 2012 Fedora Release Engineering - 1.2.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sun Jul 01 2012 Christian Krause - 1.2.11-1 -- Update to new upstream version 1.2.11 (BZ 819821) -- Remove patch (issue was fixed upstream) - -* Wed Feb 8 2012 Toshio Kuratomi - 1.2.9-4 -- Remove python-sqlite2 dep as anki will work with the stdlib sqlite3 module - -* Thu Jan 12 2012 Fedora Release Engineering - 1.2.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Sun Jul 24 2011 Christian Krause - 1.2.9-2 -- Add and install svg version of anki's icon -(extracted from anki-1.2.9/icons/anki-logo.svg) - -* Thu Jun 30 2011 Christian Krause - 1.2.9-1 -- Update to new upstream version 1.2.9 (BZ 717584) to fix more - compatibility issues with python-sqlalchemy-0.7.x -- Remove upstreamed patches -- Add patch to avoid unicode error messages on startup - -* Tue Jun 28 2011 Christian Krause - 1.2.8-2 -- Fix FTBFS issue (BZ 715813) -- Adding two upstream patches to support python-sqlalchemy-0.7.x - -* Tue Apr 05 2011 Christian Krause - 1.2.8-1 -- Update to new upstream version 1.2.8 (BZ 691342) - -* Sun Feb 27 2011 Christian Krause - 1.2.7-1 -- Update to new upstream version 1.2.7 (BZ 678848) -- Add sox as requirement for audio recording (BZ 674493) - -* Mon Feb 07 2011 Fedora Release Engineering - 1.2.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Feb 05 2011 Christian Krause - 1.2.6-1 -- Update to new upstream version 1.2.6 (BZ 665163) - -* Thu Jan 27 2011 Christian Krause - 1.2.5-1 -- Update to new upstream version 1.2.5 (BZ 665163) - -* Sun Jan 23 2011 Christian Krause - 1.2.4-1 -- Update to new upstream version 1.2.4 (BZ 665163) - -* Fri Jan 14 2011 Christian Krause - 1.2.2-1 -- Update to new upstream version 1.2.2 (BZ 665163) - -* Tue Dec 14 2010 Christian Krause - 1.1.10-1 -- Update to new upstream version 1.1.10 (BZ 655939) - -* Sat Aug 21 2010 Christian Krause - 1.0.1-1 -- Update to new upstream version 1.0.1 - -* Mon Aug 02 2010 Christian Krause - 1.0-1 -- Update to new upstream version 1.0 -- Use original upstream tgz since upstream doesn't ship the problematic - example files anymore -- Remove upstreamed patches -- Update noupdate patch -- Add BR python-simplejson - -* Sun Jul 25 2010 Christian Krause - 0.9.9.8.6-5 -- Generalized generation of anki.lang to support any python 2.* release - -* Wed Jul 21 2010 David Malcolm - 0.9.9.8.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Thu May 13 2010 Christian Krause - 0.9.9.8.6-3 -- Add pyaudio as requirement for audio recording -- Add upstream patch to prevent anki hanging during audio recording - -* Sun Feb 28 2010 Christian Krause - 0.9.9.8.6-2 -- Add a patch to fix a crash when sys tray icon is enabled (BZ 567672) - -* Fri Feb 19 2010 Christian Krause - 0.9.9.8.6-1 -- Update to new upstream version -- Remove example files from upstream tarball due to unknown license -- Updated noupdate patch - -* Wed Jan 20 2010 Christian Krause - 0.9.9.8.5-3.git20100120 -- Update to git snapshot -- Includes fix for BZ 546331 - -* Fri Jul 24 2009 Fedora Release Engineering - 0.9.9.8.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sun Jul 12 2009 Christian Krause - 0.9.9.8.5-1 -- Update to new upstream version 0.9.9.8.5 - -* Thu Jul 02 2009 Christian Krause - 0.9.9.8.4-1 -- Update to new upstream version 0.9.9.8.4 -- fix one %%lang tag - -* Sun May 24 2009 Christian Krause - 0.9.9.7.9b-1 -- Update to new upstream version 0.9.9.7.9b to fix a syncing bug - -* Tue May 12 2009 Christian Krause - 0.9.9.7.9-1 -- Update to new upstream version 0.9.9.7.9 to fix an update problem of the -statusbar and of the titlebar - -* Thu May 07 2009 Christian Krause - 0.9.9.7.8-2 -- Bump release - -* Wed May 06 2009 Christian Krause - 0.9.9.7.8-1 -- Update to new upstream version 0.9.9.7.8 - -* Sat Apr 11 2009 Christian Krause - 0.9.9.7.4-1 -- Update to new upstream version 0.9.9.7.4 (BZ 494598) -- Require python-matplotlib instead of numpy (BZ 495232) - -* Wed Apr 01 2009 Christian Krause - 0.9.9.7.1-1 -- Update to new upstream version 0.9.9.7.1 -- Drop unihaninstall patch (applied upstream) -- Updated noupdate patch -- Use original upstream tgz since upstream doesn't ship the example files -anymore - -* Sun Mar 01 2009 Christian Krause - 0.9.9.6-4 -- Bump release - -* Fri Feb 27 2009 Christian Krause - 0.9.9.6-3 -- Proper packaging of locale files - -* Fri Feb 13 2009 Christian Krause - 0.9.9.6-2 -- Fixed license field -- Install unihan.db - -* Wed Feb 11 2009 Christian Krause - 0.9.9.6-1 -- First spec file for anki diff --git a/anki.svg b/anki.svg deleted file mode 100644 index 7a24e83..0000000 --- a/anki.svg +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/generate-anki-tarball.sh b/generate-anki-tarball.sh deleted file mode 100755 index 9a261a7..0000000 --- a/generate-anki-tarball.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -VERSION=$1 - -tar -xzvf anki-$VERSION.tgz -rm -rf anki-$VERSION/libanki/tests/importing/*.xml - -tar -czvf anki-$VERSION-nosamples.tgz anki-$VERSION - diff --git a/sources b/sources deleted file mode 100644 index f7955fb..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (anki-2.1.15-source.tgz) = f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3