From a19f60e084bd2b516abf36ce4c7ad5c3ba8cea88 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 2 Aug 2013 19:49:35 -0500 Subject: [PATCH 01/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index c8a3a8c..489ae07 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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) From 3940c87b504b3f5c12c03236bc6bc6ce1d0bcebd Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Mon, 5 Aug 2013 21:22:33 +0200 Subject: [PATCH 02/59] Update to new upstream version 2.0.12 (BZ 989901) - Install docs to %{_pkgdocdir} (BZ 991962) - Install additional LICENSE file --- .gitignore | 1 + anki.spec | 15 ++++++++++----- sources | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index dabd9d3..ee0bb95 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ anki-1.0.1.tgz /anki-2.0.8.tgz /anki-2.0.9.tgz /anki-2.0.11.tgz +/anki-2.0.12.tgz diff --git a/anki.spec b/anki.spec index 489ae07..4e20dd5 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.11 -Release: 2%{?dist} +Version: 2.0.12 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -49,9 +49,9 @@ cp -R send2trash %{buildroot}%{_datadir}/%{name}/thirdparty/ install -d %{buildroot}%{_bindir} install -m 755 runanki %{buildroot}%{_bindir}/anki -install -d %{buildroot}%{_docdir}/%{name}-%{version} -install -m 644 LICENSE.* %{buildroot}%{_docdir}/%{name}-%{version}/ -install -m 644 README* %{buildroot}%{_docdir}/%{name}-%{version}/ +install -d %{buildroot}%{_pkgdocdir} +install -m 644 LICENSE* %{buildroot}%{_pkgdocdir}/ +install -m 644 README* %{buildroot}%{_pkgdocdir}/ install -d %{buildroot}%{_datadir}/mime/packages install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages @@ -101,6 +101,11 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 diff --git a/sources b/sources index d3a68bd..ab78ac3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22413ec239b79fb4587c1548f8807cce anki-2.0.11.tgz +10b1a59468c2832d601ac419c464f3a7 anki-2.0.12.tgz From 3c65e0055d9f3e97ab04fa22511c54468c0b1b29 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Mon, 5 Aug 2013 21:22:33 +0200 Subject: [PATCH 03/59] Update to new upstream version 2.0.12 (BZ 989901) - Install docs to %{_pkgdocdir} (BZ 991962) - Install additional LICENSE file --- .gitignore | 1 + anki.spec | 13 +++++++++---- sources | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index dabd9d3..ee0bb95 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ anki-1.0.1.tgz /anki-2.0.8.tgz /anki-2.0.9.tgz /anki-2.0.11.tgz +/anki-2.0.12.tgz diff --git a/anki.spec b/anki.spec index c8a3a8c..c2d0bd4 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.11 +Version: 2.0.12 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -49,9 +49,9 @@ cp -R send2trash %{buildroot}%{_datadir}/%{name}/thirdparty/ install -d %{buildroot}%{_bindir} install -m 755 runanki %{buildroot}%{_bindir}/anki -install -d %{buildroot}%{_docdir}/%{name}-%{version} -install -m 644 LICENSE.* %{buildroot}%{_docdir}/%{name}-%{version}/ -install -m 644 README* %{buildroot}%{_docdir}/%{name}-%{version}/ +install -d %{buildroot}%{_pkgdocdir} +install -m 644 LICENSE* %{buildroot}%{_pkgdocdir}/ +install -m 644 README* %{buildroot}%{_pkgdocdir}/ install -d %{buildroot}%{_datadir}/mime/packages install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages @@ -101,6 +101,11 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 + * Mon Jun 24 2013 Christian Krause - 2.0.11-1 - Update to new upstream version 2.0.11 (BZ 973523) diff --git a/sources b/sources index d3a68bd..ab78ac3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22413ec239b79fb4587c1548f8807cce anki-2.0.11.tgz +10b1a59468c2832d601ac419c464f3a7 anki-2.0.12.tgz From 6ba9786f1f37e3d9f21de95b03a7a8d096b7fa74 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 12 Oct 2013 00:08:42 +0200 Subject: [PATCH 04/59] Update to new upstream version 2.0.13 --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ee0bb95..2bc500f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ anki-1.0.1.tgz /anki-2.0.9.tgz /anki-2.0.11.tgz /anki-2.0.12.tgz +/anki-2.0.13.tgz diff --git a/anki.spec b/anki.spec index 4e20dd5..75b3c65 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.12 +Version: 2.0.13 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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) diff --git a/sources b/sources index ab78ac3..624dc16 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -10b1a59468c2832d601ac419c464f3a7 anki-2.0.12.tgz +3cdc2aa59c881a1cff0a20139c3db44b anki-2.0.13.tgz From 790a05b0de70fa0bf5d426ed575b694a67b7eafb Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 12 Oct 2013 00:08:42 +0200 Subject: [PATCH 05/59] Update to new upstream version 2.0.13 --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ee0bb95..2bc500f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ anki-1.0.1.tgz /anki-2.0.9.tgz /anki-2.0.11.tgz /anki-2.0.12.tgz +/anki-2.0.13.tgz diff --git a/anki.spec b/anki.spec index c2d0bd4..a8d4092 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.12 +Version: 2.0.13 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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) diff --git a/sources b/sources index ab78ac3..624dc16 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -10b1a59468c2832d601ac419c464f3a7 anki-2.0.12.tgz +3cdc2aa59c881a1cff0a20139c3db44b anki-2.0.13.tgz From de8d88204d48458feb1b79ad1cf293ba3a7e9301 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 2 Nov 2013 00:38:11 +0100 Subject: [PATCH 06/59] Update to new upstream version 2.0.16 --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2bc500f..b59f68e 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ anki-1.0.1.tgz /anki-2.0.11.tgz /anki-2.0.12.tgz /anki-2.0.13.tgz +/anki-2.0.16.tgz diff --git a/anki.spec b/anki.spec index 75b3c65..02b992e 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.13 +Version: 2.0.16 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 diff --git a/sources b/sources index 624dc16..a6301af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3cdc2aa59c881a1cff0a20139c3db44b anki-2.0.13.tgz +53686072ddce3386e2b6b92d75ade814 anki-2.0.16.tgz From 0e80b8f57d70e28ddffb45f1cd427db795e2270f Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 2 Nov 2013 00:38:11 +0100 Subject: [PATCH 07/59] Update to new upstream version 2.0.16 --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2bc500f..b59f68e 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ anki-1.0.1.tgz /anki-2.0.11.tgz /anki-2.0.12.tgz /anki-2.0.13.tgz +/anki-2.0.16.tgz diff --git a/anki.spec b/anki.spec index a8d4092..46872de 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.13 +Version: 2.0.16 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 diff --git a/sources b/sources index 624dc16..a6301af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3cdc2aa59c881a1cff0a20139c3db44b anki-2.0.13.tgz +53686072ddce3386e2b6b92d75ade814 anki-2.0.16.tgz From dfba3f3bae0ea2e56431fda55cdaa6001ef46ca0 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 20 Nov 2013 11:17:36 +0100 Subject: [PATCH 08/59] Update to new upstream version 2.0.18 (BZ 1027704) --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 02b992e..7e3180d 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.16 +Version: 2.0.18 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 From caa1c1e9e47ee2d46a843ebddc60fa802156ee90 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 20 Nov 2013 11:38:49 +0100 Subject: [PATCH 09/59] add anki-2.0.18 sources From 6978a1af99bbd9c142072ed0cdb4bf0a1bd1c70f Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 20 Nov 2013 11:50:10 +0100 Subject: [PATCH 10/59] add anki-2.0.18 sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b59f68e..c7d88ee 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ anki-1.0.1.tgz /anki-2.0.12.tgz /anki-2.0.13.tgz /anki-2.0.16.tgz +/anki-2.0.18.tgz diff --git a/sources b/sources index a6301af..33c26ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -53686072ddce3386e2b6b92d75ade814 anki-2.0.16.tgz +838f74ac0f1456fcc1fe17ef116b3019 anki-2.0.18.tgz From 89268c430cb3f846ba0e1b8a02a41528f11d6197 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 20 Nov 2013 11:17:36 +0100 Subject: [PATCH 11/59] Update to new upstream version 2.0.18 (BZ 1027704) --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 46872de..fd7e53e 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.16 +Version: 2.0.18 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 From b95475ccd5abf6bbb15cd52373487726cee55bda Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 20 Nov 2013 11:50:10 +0100 Subject: [PATCH 12/59] add anki-2.0.18 sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b59f68e..c7d88ee 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ anki-1.0.1.tgz /anki-2.0.12.tgz /anki-2.0.13.tgz /anki-2.0.16.tgz +/anki-2.0.18.tgz diff --git a/sources b/sources index a6301af..33c26ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -53686072ddce3386e2b6b92d75ade814 anki-2.0.16.tgz +838f74ac0f1456fcc1fe17ef116b3019 anki-2.0.18.tgz From 6635423ff398e844253288936c444f13132ac871 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Tue, 14 Jan 2014 23:34:19 +0100 Subject: [PATCH 13/59] Update to new upstream version 2.0.18 (BZ 1040134) --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c7d88ee..bc40f4f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ anki-1.0.1.tgz /anki-2.0.13.tgz /anki-2.0.16.tgz /anki-2.0.18.tgz +/anki-2.0.20.tgz diff --git a/anki.spec b/anki.spec index 7e3180d..350b5b5 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.18 +Version: 2.0.20 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* Tue Jan 14 2014 Christian Krause - 2.0.20-1 +- Update to new upstream version 2.0.18 (BZ 1040134) + * Wed Nov 20 2013 Christian Krause - 2.0.18-1 - Update to new upstream version 2.0.18 (BZ 1027704) diff --git a/sources b/sources index 33c26ea..c7fc39d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -838f74ac0f1456fcc1fe17ef116b3019 anki-2.0.18.tgz +15634935901ba98f4c5a594924b0b76e anki-2.0.20.tgz From a348a34c850a6c63c0c688031620043c12b2a370 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 15 Jan 2014 00:09:15 +0100 Subject: [PATCH 14/59] Fix typo in changelog --- anki.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/anki.spec b/anki.spec index 350b5b5..9053ed2 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.20 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -101,8 +101,11 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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.18 (BZ 1040134) +- 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) From f1ee97e04848161ba79d8f47070a6da907ff7c55 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Tue, 14 Jan 2014 23:34:19 +0100 Subject: [PATCH 15/59] Update to new upstream version 2.0.10 (BZ 1040134) --- .gitignore | 1 + anki.spec | 10 ++++++++-- sources | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c7d88ee..bc40f4f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ anki-1.0.1.tgz /anki-2.0.13.tgz /anki-2.0.16.tgz /anki-2.0.18.tgz +/anki-2.0.20.tgz diff --git a/anki.spec b/anki.spec index fd7e53e..5d5cb68 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.18 -Release: 1%{?dist} +Version: 2.0.20 +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -101,6 +101,12 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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) diff --git a/sources b/sources index 33c26ea..c7fc39d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -838f74ac0f1456fcc1fe17ef116b3019 anki-2.0.18.tgz +15634935901ba98f4c5a594924b0b76e anki-2.0.20.tgz From 9bda471533fc0522a2168a231b27c500d7c49f70 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 1 Feb 2014 00:44:58 +0100 Subject: [PATCH 16/59] Update to new upstream version 2.0.22 (BZ 1057013) --- .gitignore | 1 + anki.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bc40f4f..0d9fda5 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ anki-1.0.1.tgz /anki-2.0.16.tgz /anki-2.0.18.tgz /anki-2.0.20.tgz +/anki-2.0.22.tgz diff --git a/anki.spec b/anki.spec index 9053ed2..b754523 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.20 -Release: 2%{?dist} +Version: 2.0.22 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 diff --git a/sources b/sources index c7fc39d..50b8d18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -15634935901ba98f4c5a594924b0b76e anki-2.0.20.tgz +99806b13ac127d5d913b138ef813d7e2 anki-2.0.22.tgz From 250eb282fe9ef4f5cc223ebf4508ea54a5c880a6 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 1 Feb 2014 00:44:58 +0100 Subject: [PATCH 17/59] Update to new upstream version 2.0.22 (BZ 1057013) --- .gitignore | 1 + anki.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bc40f4f..0d9fda5 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ anki-1.0.1.tgz /anki-2.0.16.tgz /anki-2.0.18.tgz /anki-2.0.20.tgz +/anki-2.0.22.tgz diff --git a/anki.spec b/anki.spec index 5d5cb68..1c070f1 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.20 -Release: 2%{?dist} +Version: 2.0.22 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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 diff --git a/sources b/sources index c7fc39d..50b8d18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -15634935901ba98f4c5a594924b0b76e anki-2.0.20.tgz +99806b13ac127d5d913b138ef813d7e2 anki-2.0.22.tgz From b0d3836bed81147213e76d2a089579dff63100b4 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Fri, 18 Apr 2014 20:50:10 +0200 Subject: [PATCH 18/59] Update to new upstream version 2.0.25 (BZ 1087211) --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0d9fda5..3a5f39f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ anki-1.0.1.tgz /anki-2.0.18.tgz /anki-2.0.20.tgz /anki-2.0.22.tgz +/anki-2.0.25.tgz diff --git a/anki.spec b/anki.spec index b754523..b7cff00 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.22 +Version: 2.0.25 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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) diff --git a/sources b/sources index 50b8d18..632bd05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -99806b13ac127d5d913b138ef813d7e2 anki-2.0.22.tgz +e0e83fe28bfee6ffbb2d0e608e1c6a01 anki-2.0.25.tgz From 8d31b0488dcf1a51734196f61450844b38f18ad1 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Fri, 18 Apr 2014 20:50:10 +0200 Subject: [PATCH 19/59] Update to new upstream version 2.0.25 (BZ 1087211) --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0d9fda5..3a5f39f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ anki-1.0.1.tgz /anki-2.0.18.tgz /anki-2.0.20.tgz /anki-2.0.22.tgz +/anki-2.0.25.tgz diff --git a/anki.spec b/anki.spec index 1c070f1..7bdaa92 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.22 +Version: 2.0.25 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -101,6 +101,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_mandir}/man1/%{name}.* %changelog +* 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) diff --git a/sources b/sources index 50b8d18..632bd05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -99806b13ac127d5d913b138ef813d7e2 anki-2.0.22.tgz +e0e83fe28bfee6ffbb2d0e608e1c6a01 anki-2.0.25.tgz From 30377cb4af94db486e67f00b8d9962c2c03e2190 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Thu, 22 May 2014 22:22:54 +0200 Subject: [PATCH 20/59] Update to new upstream version 2.0.26 (BZ 1090863) - Add appdata --- .gitignore | 1 + anki.appdata.xml | 36 ++++++++++++++++++++++++++++++++++++ anki.spec | 11 ++++++++++- sources | 2 +- 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 anki.appdata.xml diff --git a/.gitignore b/.gitignore index 3a5f39f..997e13a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ anki-1.0.1.tgz /anki-2.0.20.tgz /anki-2.0.22.tgz /anki-2.0.25.tgz +/anki-2.0.26.tgz diff --git a/anki.appdata.xml b/anki.appdata.xml new file mode 100644 index 0000000..3805d8f --- /dev/null +++ b/anki.appdata.xml @@ -0,0 +1,36 @@ + + + + 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 index b7cff00..16809b6 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.25 +Version: 2.0.26 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -10,6 +10,7 @@ License: AGPLv3+ and GPLv3+ and MIT and BSD URL: http://ankisrs.net/ Source0: http://ankisrs.net/download/mirror/anki-%{version}.tgz Source1: anki.svg +Source2: anki.appdata.xml # Config change: don't check for new updates. Patch0: anki-2.0.3-noupdate.patch @@ -62,6 +63,9 @@ install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ 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/ + desktop-file-install \ --remove-category=KDE \ --dir %{buildroot}%{_datadir}/applications \ @@ -99,8 +103,13 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/pixmaps/%{name}.* %{_datadir}/mime/packages/anki.xml %{_mandir}/man1/%{name}.* +%{_datadir}/appdata/anki.appdata.xml %changelog +* 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) diff --git a/sources b/sources index 632bd05..eee3cca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e0e83fe28bfee6ffbb2d0e608e1c6a01 anki-2.0.25.tgz +c3af007dbda797e5f587b450691d93c9 anki-2.0.26.tgz From a3c203bb918bfd0d1b92a46870c9bfce3dc45150 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Thu, 22 May 2014 22:22:54 +0200 Subject: [PATCH 21/59] Update to new upstream version 2.0.26 (BZ 1090863) - Add appdata --- .gitignore | 1 + anki.appdata.xml | 36 ++++++++++++++++++++++++++++++++++++ anki.spec | 11 ++++++++++- sources | 2 +- 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 anki.appdata.xml diff --git a/.gitignore b/.gitignore index 3a5f39f..997e13a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ anki-1.0.1.tgz /anki-2.0.20.tgz /anki-2.0.22.tgz /anki-2.0.25.tgz +/anki-2.0.26.tgz diff --git a/anki.appdata.xml b/anki.appdata.xml new file mode 100644 index 0000000..3805d8f --- /dev/null +++ b/anki.appdata.xml @@ -0,0 +1,36 @@ + + + + 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 index 7bdaa92..cb3f093 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.25 +Version: 2.0.26 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -10,6 +10,7 @@ License: AGPLv3+ and GPLv3+ and MIT and BSD URL: http://ankisrs.net/ Source0: http://ankisrs.net/download/mirror/anki-%{version}.tgz Source1: anki.svg +Source2: anki.appdata.xml # Config change: don't check for new updates. Patch0: anki-2.0.3-noupdate.patch @@ -62,6 +63,9 @@ install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ 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/ + desktop-file-install \ --remove-category=KDE \ --dir %{buildroot}%{_datadir}/applications \ @@ -99,8 +103,13 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/pixmaps/%{name}.* %{_datadir}/mime/packages/anki.xml %{_mandir}/man1/%{name}.* +%{_datadir}/appdata/anki.appdata.xml %changelog +* 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) diff --git a/sources b/sources index 632bd05..eee3cca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e0e83fe28bfee6ffbb2d0e608e1c6a01 anki-2.0.25.tgz +c3af007dbda797e5f587b450691d93c9 anki-2.0.26.tgz From cbf668b89197a4079e8e21eafd5fb08e3c95460a Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 6 Jun 2014 19:43:22 -0500 Subject: [PATCH 22/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 16809b6..d66d923 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -106,6 +106,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From bc4c49516b0360d54103c1f230873b3bdf5ba927 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 8 Jul 2014 13:52:01 -0500 Subject: [PATCH 23/59] optimize mimeinfo scriptlet --- anki.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/anki.spec b/anki.spec index d66d923..d64d60e 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.26 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -84,12 +84,18 @@ s:'"%{buildroot}"':: s:\(.*\):%dir \1:' >>anki.lang %post +/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : /usr/bin/update-desktop-database &> /dev/null || : -/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %postun /usr/bin/update-desktop-database &> /dev/null || : -/usr/bin/update-mime-database %{_datadir}/mime &> /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 || : +fi + +%posttrans +/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -f %{name}.lang %doc LICENSE.* README* @@ -106,6 +112,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From 52d288d2d8efb26d45d47db3444eb1aadbae7783 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 30 Jul 2014 22:12:49 +0200 Subject: [PATCH 24/59] Update to new upstream version 2.0.28 (BZ 1123961) --- .gitignore | 1 + anki.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 997e13a..b0de24e 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ anki-1.0.1.tgz /anki-2.0.22.tgz /anki-2.0.25.tgz /anki-2.0.26.tgz +/anki-2.0.28.tgz diff --git a/anki.spec b/anki.spec index d64d60e..54a4546 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.26 -Release: 3%{?dist} +Version: 2.0.28 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -112,6 +112,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 diff --git a/sources b/sources index eee3cca..af11f55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c3af007dbda797e5f587b450691d93c9 anki-2.0.26.tgz +a03dbbe550cba3f85c87e1aec2ebdbd5 anki-2.0.28.tgz From 57c7073ae350748e0d93cc284dff425c3be08ffb Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Wed, 30 Jul 2014 22:12:49 +0200 Subject: [PATCH 25/59] Update to new upstream version 2.0.28 (BZ 1123961) --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 997e13a..b0de24e 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ anki-1.0.1.tgz /anki-2.0.22.tgz /anki-2.0.25.tgz /anki-2.0.26.tgz +/anki-2.0.28.tgz diff --git a/anki.spec b/anki.spec index cb3f093..073166e 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.26 +Version: 2.0.28 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -106,6 +106,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* Wed Jul 30 2014 Christian Krause - 2.0.28-1 +- Update to new upstream version 2.0.28 (BZ 1123961) + * Tue May 20 2014 Christian Krause - 2.0.26-1 - Update to new upstream version 2.0.26 (BZ 1090863) - Add appdata diff --git a/sources b/sources index eee3cca..af11f55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c3af007dbda797e5f587b450691d93c9 anki-2.0.26.tgz +a03dbbe550cba3f85c87e1aec2ebdbd5 anki-2.0.28.tgz From aab19b06ae47764f7ff6f15f75bcbced484e367c Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 9 Nov 2014 18:56:26 +0100 Subject: [PATCH 26/59] Update to new upstream version 2.0.31 (BZ 1144973) --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b0de24e..ff4421c 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ anki-1.0.1.tgz /anki-2.0.25.tgz /anki-2.0.26.tgz /anki-2.0.28.tgz +/anki-2.0.31.tgz diff --git a/anki.spec b/anki.spec index 54a4546..17cfc3f 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.28 +Version: 2.0.31 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -112,6 +112,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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) diff --git a/sources b/sources index af11f55..014dbba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a03dbbe550cba3f85c87e1aec2ebdbd5 anki-2.0.28.tgz +7e75a9c44897ba608c0dda2c0e1a096f anki-2.0.31.tgz From 8e972dccfd81ced2cc8910efbd38bca9efb49949 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 9 Nov 2014 18:56:26 +0100 Subject: [PATCH 27/59] Update to new upstream version 2.0.31 (BZ 1144973) --- .gitignore | 1 + anki.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b0de24e..ff4421c 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ anki-1.0.1.tgz /anki-2.0.25.tgz /anki-2.0.26.tgz /anki-2.0.28.tgz +/anki-2.0.31.tgz diff --git a/anki.spec b/anki.spec index 073166e..30770da 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.28 +Version: 2.0.31 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -106,6 +106,9 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/appdata/anki.appdata.xml %changelog +* 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) diff --git a/sources b/sources index af11f55..014dbba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a03dbbe550cba3f85c87e1aec2ebdbd5 anki-2.0.28.tgz +7e75a9c44897ba608c0dda2c0e1a096f anki-2.0.31.tgz From 89c3057e12560d867089675e2695d0fe32948904 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Mon, 6 Apr 2015 02:15:32 +0200 Subject: [PATCH 28/59] 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 --- .gitignore | 1 + anki.spec | 21 ++++- anki.svg | 237 ++++++++++++++++++++++++++++++----------------------- sources | 2 +- 4 files changed, 155 insertions(+), 106 deletions(-) diff --git a/.gitignore b/.gitignore index ff4421c..1eed3d6 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ anki-1.0.1.tgz /anki-2.0.26.tgz /anki-2.0.28.tgz /anki-2.0.31.tgz +/anki-2.0.32.tgz diff --git a/anki.spec b/anki.spec index 17cfc3f..09ce303 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.31 +Version: 2.0.32 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -16,6 +16,7 @@ Source2: anki.appdata.xml Patch0: anki-2.0.3-noupdate.patch BuildRequires: python2-devel, python-setuptools, python-sqlalchemy BuildRequires: desktop-file-utils, PyQt4, python-simplejson +Requires: hicolor-icon-theme Requires: qt4, PyQt4 Requires: python-sqlalchemy, python-simplejson Requires: python-matplotlib @@ -57,8 +58,8 @@ install -m 644 README* %{buildroot}%{_pkgdocdir}/ install -d %{buildroot}%{_datadir}/mime/packages install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages -install -d %{buildroot}%{_datadir}/pixmaps -install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ +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/ @@ -68,6 +69,7 @@ install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/ desktop-file-install \ --remove-category=KDE \ + --set-key=Keywords --set-value="learn;education;memorizing;language;flashcard;spaced repetition;" \ --dir %{buildroot}%{_datadir}/applications \ %{name}.desktop @@ -86,16 +88,20 @@ 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* @@ -106,12 +112,19 @@ fi %{_datadir}/%{name}/anki/ %{_datadir}/%{name}/thirdparty/ %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.* +%{_datadir}/icons/hicolor/scalable/apps/%{name}.* %{_datadir}/mime/packages/anki.xml %{_mandir}/man1/%{name}.* %{_datadir}/appdata/anki.appdata.xml %changelog +* 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) diff --git a/anki.svg b/anki.svg index ecd7797..7a24e83 100644 --- a/anki.svg +++ b/anki.svg @@ -14,23 +14,10 @@ height="33" id="svg3652" version="1.1" - inkscape:version="0.48.1 r9760" - sodipodi:docname="New document 10"> + inkscape:version="0.48.5 r10040" + sodipodi:docname="anki.svg"> - - - + + + + + + + inkscape:window-width="1920" + inkscape:window-height="1145" + inkscape:window-x="-2" + inkscape:window-y="-3" + inkscape:window-maximized="1" + inkscape:snap-global="false" /> @@ -160,83 +206,72 @@ inkscape:groupmode="layer" id="layer1" transform="translate(0,-1019.3622)"> - - - - - - - - + + + + + + diff --git a/sources b/sources index 014dbba..7be6088 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7e75a9c44897ba608c0dda2c0e1a096f anki-2.0.31.tgz +2186925ffa068017a30734e75b8a8ad7 anki-2.0.32.tgz From 982fd426e484b94e4c7e5c3447ff1cbfed7d9321 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 16 Jun 2015 23:55:28 +0000 Subject: [PATCH 29/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 09ce303..801f7d9 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.32 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -118,6 +118,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From 924a34546365ec39f7583696094a6a00661f9f22 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Mon, 30 Nov 2015 23:55:39 +0100 Subject: [PATCH 30/59] Update to new upstream version 2.0.33 (BZ 1270574) - Correct files list entry for LICENSE files --- .gitignore | 1 + anki.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1eed3d6..b69a9a5 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ anki-1.0.1.tgz /anki-2.0.28.tgz /anki-2.0.31.tgz /anki-2.0.32.tgz +/anki-2.0.33.tgz diff --git a/anki.spec b/anki.spec index 801f7d9..65e3d6e 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.32 -Release: 2%{?dist} +Version: 2.0.33 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -104,7 +104,7 @@ fi /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang -%doc LICENSE.* README* +%doc LICENSE* README* %{_bindir}/anki %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/aqt/ @@ -118,6 +118,10 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 diff --git a/sources b/sources index 7be6088..e00d32d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2186925ffa068017a30734e75b8a8ad7 anki-2.0.32.tgz +5df370dd19c71a76cdce448104824cf7 anki-2.0.33.tgz From e83196ff68536369abc6ecae168ed487452f3b3c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 16:12:14 +0000 Subject: [PATCH 31/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 65e3d6e..df6dd91 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.33 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -118,6 +118,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From 243e9d806c726fa02ce66154b95440a027caa338 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 2 Mar 2016 11:49:09 -0600 Subject: [PATCH 32/59] Requires: PyQt4-webkit Add dependency on -webkit subpkg, recently introduced in rawhide Can consider removing explicit Requires: qt4 that library should get pulled in implicitly by PyQt4 already --- anki.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/anki.spec b/anki.spec index df6dd91..86e10f8 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.33 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -17,7 +17,7 @@ Patch0: anki-2.0.3-noupdate.patch BuildRequires: python2-devel, python-setuptools, python-sqlalchemy BuildRequires: desktop-file-utils, PyQt4, python-simplejson Requires: hicolor-icon-theme -Requires: qt4, PyQt4 +Requires: qt4, PyQt4, PyQt4-webkit Requires: python-sqlalchemy, python-simplejson Requires: python-matplotlib Requires: pygame, python-BeautifulSoup, python-httplib2 @@ -118,6 +118,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From fc40f5c58bfe9c3dbe899375c58ee73ed986a040 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 7 Aug 2016 21:00:21 +0200 Subject: [PATCH 33/59] Update to new upstream version 2.0.36 (BZ 1321457) --- .gitignore | 1 + anki.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b69a9a5..c49b7cd 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ anki-1.0.1.tgz /anki-2.0.31.tgz /anki-2.0.32.tgz /anki-2.0.33.tgz +/anki-2.0.36.tgz diff --git a/anki.spec b/anki.spec index 86e10f8..70aa808 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.33 -Release: 3%{?dist} +Version: 2.0.36 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -118,6 +118,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 diff --git a/sources b/sources index e00d32d..4fc9fd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5df370dd19c71a76cdce448104824cf7 anki-2.0.33.tgz +3952090266459586619f7ce775dc9001 anki-2.0.36.tgz From c7b949ccddc05acf694a67e6f577a63c4b1ff2ac Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Mon, 26 Sep 2016 15:01:21 +0200 Subject: [PATCH 34/59] rebuilt for matplotlib-2.0.0 --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 70aa808..1f6c36c 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.36 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -118,6 +118,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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) From 22f5063479325707b6a6adc136c862269e1c3066 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 22 Jan 2017 16:27:21 +0100 Subject: [PATCH 35/59] Update to new upstream version 2.0.39 (BZ 1406760) Update source and project URL --- .gitignore | 1 + anki.spec | 12 ++++++++---- sources | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c49b7cd..f97530c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ anki-1.0.1.tgz /anki-2.0.32.tgz /anki-2.0.33.tgz /anki-2.0.36.tgz +/anki-2.0.39-source.tgz diff --git a/anki.spec b/anki.spec index 1f6c36c..95be8d2 100644 --- a/anki.spec +++ b/anki.spec @@ -1,14 +1,14 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: anki -Version: 2.0.36 -Release: 2%{?dist} +Version: 2.0.39 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games License: AGPLv3+ and GPLv3+ and MIT and BSD -URL: http://ankisrs.net/ -Source0: http://ankisrs.net/download/mirror/anki-%{version}.tgz +URL: https://apps.ankiweb.net/ +Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz Source1: anki.svg Source2: anki.appdata.xml @@ -118,6 +118,10 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 diff --git a/sources b/sources index 4fc9fd0..352cf75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3952090266459586619f7ce775dc9001 anki-2.0.36.tgz +SHA512 (anki-2.0.39-source.tgz) = 010f59ce6d44546587b50ccaded2742bc7735dca1cca5c296317ef1d4401c7f2bae5af7946b163a8ae4e5f99268b3cf40a9ac5b1f9bb24cee715c68d4e4ef2c5 From 5d4b7d4601f1b17a4b7722935cd1d48c38aaf8b3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 05:58:46 +0000 Subject: [PATCH 36/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 95be8d2..66c49a6 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.39 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -118,6 +118,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From 793ea83b1adbd0b4b5980b8e4d7d8af378fe22c1 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 25 Feb 2017 17:31:35 +0100 Subject: [PATCH 37/59] Update to new upstream version 2.0.43 (BZ 1406760) Delete backup file --- .gitignore | 1 + anki.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f97530c..c2211c7 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ anki-1.0.1.tgz /anki-2.0.33.tgz /anki-2.0.36.tgz /anki-2.0.39-source.tgz +/anki-2.0.43-source.tgz diff --git a/anki.spec b/anki.spec index 66c49a6..826b16f 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.39 -Release: 2%{?dist} +Version: 2.0.43 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -33,6 +33,7 @@ as possible. Anki is based on a theory called spaced repetition. %setup -q mv thirdparty/send2trash . rm -rf thirdparty +rm 'aqt/forms/#about.py#' %patch0 -p1 -b .noupdate %build @@ -118,6 +119,10 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 diff --git a/sources b/sources index 352cf75..5a7dac3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anki-2.0.39-source.tgz) = 010f59ce6d44546587b50ccaded2742bc7735dca1cca5c296317ef1d4401c7f2bae5af7946b163a8ae4e5f99268b3cf40a9ac5b1f9bb24cee715c68d4e4ef2c5 +SHA512 (anki-2.0.43-source.tgz) = e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c From 83c9b8cf9dfac8a95ae2b1b363d61ad340b89c67 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 02:53:05 +0000 Subject: [PATCH 38/59] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- anki.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki.spec b/anki.spec index 826b16f..6ff5442 100644 --- a/anki.spec +++ b/anki.spec @@ -2,7 +2,7 @@ Name: anki Version: 2.0.43 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Flashcard program for using space repetition learning Group: Amusements/Games @@ -119,6 +119,9 @@ fi %{_datadir}/appdata/anki.appdata.xml %changelog +* 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 From a50be1520b59b954e01526268690193a09fa8411 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Jan 2018 19:10:59 +0100 Subject: [PATCH 39/59] 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 40/59] - 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 41/59] 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 9062887f52a8605f3d0cd49f68189d96bb7871f4 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sun, 3 Jun 2018 10:19:57 +0200 Subject: [PATCH 42/59] 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 5c83db72b6a56d6247dbac6aaf688650022d0080 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 20:14:12 +0000 Subject: [PATCH 43/59] - 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 44/59] 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 45/59] - 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 46/59] 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 47/59] 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 48/59] - 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 49/59] 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 50/59] - 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 51/59] 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 52/59] - 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 53/59] 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 54/59] - 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 55/59] - 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 56/59] - 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 57/59] - 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 58/59] 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 59/59] 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