[anki/f19] Update to new upstream version 2.0.26 (BZ 1090863)

Christian Krause chkr at fedoraproject.org
Thu May 22 20:35:42 UTC 2014


commit a3c203bb918bfd0d1b92a46870c9bfce3dc45150
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Thu May 22 22:22:54 2014 +0200

    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(-)
---
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Christian Krause <chkr at fedoraproject.org -->
+<application>
+	<id type="desktop">anki.desktop</id>
+	<licence>CC0</licence>
+	<description>
+		<p>
+			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.
+		</p>
+		<p>
+			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.
+		</p>
+		<p>For example:</p>
+		<ul>
+			<li>Learning a language (vocabulary, grammar, phrases, ...)</li>
+			<li>Studying for medical and law exams</li>
+			<li>Memorizing people's names and faces</li>
+			<li>Brushing up on geography</li>
+			<li>Mastering long poems</li>
+			<li>Even practicing guitar chords!</li>
+		</ul>
+	</description>
+	<screenshots>
+		<screenshot type="default" width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-review1.png</screenshot>
+		<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-deck-browser.png</screenshot>
+		<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-review2.png</screenshot>
+		<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-browser.png</screenshot>
+		<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-statistics.png</screenshot>
+	</screenshots>
+	<url type="homepage">http://ankisrs.net/</url>
+	<updatecontact>chkr at fedoraproject.org</updatecontact>
+</application>
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 <chkr at fedoraproject.org> - 2.0.26-1
+- Update to new upstream version 2.0.26 (BZ 1090863)
+- Add appdata
+
 * Fri Apr 18 2014 Christian Krause <chkr at fedoraproject.org> - 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


More information about the scm-commits mailing list