From 96274bb236534519ba612ce3a9e9b104665ef5a6 Mon Sep 17 00:00:00 2001 From: chkr Date: May 06 2009 21:00:13 +0000 Subject: - Update to new upstream version 0.9.9.7.8 - Updated noupdate patch - Removed unused script generate-anki-tarball.sh --- diff --git a/.cvsignore b/.cvsignore index 1af582b..458d862 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -anki-0.9.9.7.4.tgz +anki-0.9.9.7.8.tgz diff --git a/anki-0.9.9.7.1-noupdate.patch b/anki-0.9.9.7.1-noupdate.patch deleted file mode 100644 index 96985a3..0000000 --- a/anki-0.9.9.7.1-noupdate.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr anki-0.9.9.7.1.old/ankiqt/config.py anki-0.9.9.7.1/ankiqt/config.py ---- anki-0.9.9.7.1.old/ankiqt/config.py 2009-03-23 05:40:26.000000000 +0100 -+++ anki-0.9.9.7.1/ankiqt/config.py 2009-03-29 23:24:00.000000000 +0200 -@@ -44,7 +44,7 @@ - 'iconSize': 32, - 'syncOnLoad': True, - 'syncOnClose': True, -- 'checkForUpdates': True, -+ 'checkForUpdates': False, - 'interfaceLang': "", - 'syncUsername': "", - 'syncPassword': "", diff --git a/anki-0.9.9.7.8-noupdate.patch b/anki-0.9.9.7.8-noupdate.patch new file mode 100644 index 0000000..ddc411b --- /dev/null +++ b/anki-0.9.9.7.8-noupdate.patch @@ -0,0 +1,12 @@ +diff -uNr anki-0.9.9.7.8.old/ankiqt/config.py anki-0.9.9.7.8/ankiqt/config.py +--- anki-0.9.9.7.8.old/ankiqt/config.py 2009-05-06 08:35:07.000000000 +0200 ++++ anki-0.9.9.7.8/ankiqt/config.py 2009-05-06 21:27:39.000000000 +0200 +@@ -45,7 +45,7 @@ + 'syncOnLoad': True, + 'syncOnClose': True, + 'syncInMsgBox': False, +- 'checkForUpdates': True, ++ 'checkForUpdates': False, + 'interfaceLang': "", + 'syncUsername': "", + 'syncPassword': "", diff --git a/anki.spec b/anki.spec index e9adfc6..58f6ba7 100644 --- a/anki.spec +++ b/anki.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: anki -Version: 0.9.9.7.4 +Version: 0.9.9.7.8 Release: 1%{?dist} Summary: Flashcard program for using space repetition learning @@ -13,7 +13,7 @@ URL: http://www.ichi2.net/anki Source0: http://ichi2.net/anki/download/files/%{name}-%{version}.tgz # Config change: don't check for new updates. -Patch0: anki-0.9.9.7.1-noupdate.patch +Patch0: anki-0.9.9.7.8-noupdate.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel, python-setuptools, python-sqlalchemy BuildRequires: PyQt4-devel @@ -31,7 +31,7 @@ as possible. Anki is based on a theory called spaced repetition. %prep %setup -q -%patch0 -p1 -b .noupdate +%patch0 -p1 -b .noupdate %build pushd libanki @@ -93,6 +93,7 @@ rm -rf %{buildroot} %lang(sv) %{python_sitelib}/*/locale/sv_*/ %lang(pt) %{python_sitelib}/*/locale/pt_*/ %lang(ee) %{python_sitelib}/*/locale/ee_*/ +%lang(ee) %{python_sitelib}/*/locale/mn_*/ %{python_sitelib}/*egg-info %{_bindir}/anki @@ -100,6 +101,9 @@ rm -rf %{buildroot} %{_datadir}/pixmaps/%{name}.png %changelog +* 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) diff --git a/generate-anki-tarball.sh b/generate-anki-tarball.sh deleted file mode 100755 index a7b529d..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/samples - -tar -czvf anki-$VERSION-nosamples.tgz anki-$VERSION - diff --git a/sources b/sources index ed3cd40..6179064 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fb2de3abcdc7ced9215215ec2c7511d0 anki-0.9.9.7.4.tgz +3d57637cb3f3080976157f19c5c3f121 anki-0.9.9.7.8.tgz