Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

11 commits

Author SHA1 Message Date
Christian Krause
8e972dccfd Update to new upstream version 2.0.31 (BZ 1144973) 2014-11-09 19:07:38 +01:00
Christian Krause
57c7073ae3 Update to new upstream version 2.0.28 (BZ 1123961) 2014-07-30 22:27:26 +02:00
Christian Krause
a3c203bb91 Update to new upstream version 2.0.26 (BZ 1090863)
- Add appdata
2014-05-22 22:35:30 +02:00
Christian Krause
8d31b0488d Update to new upstream version 2.0.25 (BZ 1087211) 2014-04-18 20:58:21 +02:00
Christian Krause
250eb282fe Update to new upstream version 2.0.22 (BZ 1057013) 2014-02-01 01:15:05 +01:00
Christian Krause
f1ee97e048 Update to new upstream version 2.0.10 (BZ 1040134) 2014-01-15 00:17:33 +01:00
Christian Krause
b95475ccd5 add anki-2.0.18 sources 2013-11-20 12:03:05 +01:00
Christian Krause
89268c430c Update to new upstream version 2.0.18 (BZ 1027704) 2013-11-20 12:02:30 +01:00
Christian Krause
0e80b8f57d Update to new upstream version 2.0.16 2013-11-02 01:11:18 +01:00
Christian Krause
790a05b0de Update to new upstream version 2.0.13 2013-10-12 00:52:26 +02:00
Christian Krause
3c65e0055d Update to new upstream version 2.0.12 (BZ 989901)
- Install docs to %{_pkgdocdir} (BZ 991962)
- Install additional LICENSE file
2013-08-05 22:51:38 +02:00
4 changed files with 92 additions and 5 deletions

10
.gitignore vendored
View file

@ -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

36
anki.appdata.xml Normal file
View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Christian Krause <chkr@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@fedoraproject.org</updatecontact>
</application>

View file

@ -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 <chkr@fedoraproject.org> - 2.0.31-1
- Update to new upstream version 2.0.31 (BZ 1144973)
* Wed Jul 30 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.28-1
- Update to new upstream version 2.0.28 (BZ 1123961)
* Tue May 20 2014 Christian Krause <chkr@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@fedoraproject.org> - 2.0.25-1
- Update to new upstream version 2.0.25 (BZ 1087211)
* Fri Jan 31 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.22-1
- Update to new upstream version 2.0.22 (BZ 1057013)
* Tue Jan 14 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.20-2
- Fix typo in changelog
* Tue Jan 14 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.20-1
- Update to new upstream version 2.0.20 (BZ 1040134)
* Wed Nov 20 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.18-1
- Update to new upstream version 2.0.18 (BZ 1027704)
* Fri Nov 01 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.16-1
- Update to new upstream version 2.0.16
* Fri Oct 11 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.13-1
- Update to new upstream version 2.0.13
* Sun Aug 04 2013 Christian Krause <chkr@fedoraproject.org> - 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 <chkr@fedoraproject.org> - 2.0.11-1
- Update to new upstream version 2.0.11 (BZ 973523)

View file

@ -1 +1 @@
22413ec239b79fb4587c1548f8807cce anki-2.0.11.tgz
7e75a9c44897ba608c0dda2c0e1a096f anki-2.0.31.tgz