diff --git a/.gitignore b/.gitignore index dabd9d3..ff4421c 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,13 @@ 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 +/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 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:

+ +
+ + 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 c8a3a8c..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.11 +Version: 2.0.31 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 @@ -49,9 +50,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 @@ -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,45 @@ s:\(.*\):%dir \1:' >>anki.lang %{_datadir}/pixmaps/%{name}.* %{_datadir}/mime/packages/anki.xml %{_mandir}/man1/%{name}.* +%{_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) + +* 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 + * 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..014dbba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22413ec239b79fb4587c1548f8807cce anki-2.0.11.tgz +7e75a9c44897ba608c0dda2c0e1a096f anki-2.0.31.tgz