Compare commits
11 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e972dccfd | ||
|
|
57c7073ae3 | ||
|
|
a3c203bb91 | ||
|
|
8d31b0488d | ||
|
|
250eb282fe | ||
|
|
f1ee97e048 | ||
|
|
b95475ccd5 | ||
|
|
89268c430c | ||
|
|
0e80b8f57d | ||
|
|
790a05b0de | ||
|
|
3c65e0055d |
4 changed files with 92 additions and 5 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -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
36
anki.appdata.xml
Normal 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>
|
||||
49
anki.spec
49
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 <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)
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
22413ec239b79fb4587c1548f8807cce anki-2.0.11.tgz
|
||||
7e75a9c44897ba608c0dda2c0e1a096f anki-2.0.31.tgz
|
||||
|
|
|
|||
Reference in a new issue