1 Summary: SuperMemo(tm)-like program
2 Summary(pl.UTF-8): Program podobny do SuperMemo
8 Source0: http://anki.googlecode.com/files/%{name}-%{version}.tgz
9 # Source0-md5: 744f7057cc43be7cc076e1fcb2719e4c
10 URL: http://ichi2.net/anki/
11 BuildRequires: rpm-pythonprov
12 BuildRequires: rpmbuild(macros) >= 1.219
13 %pyrequires_eq python-modules
14 Requires: python-BeautifulSoup
15 Requires: python-SQLAlchemy
16 Requires: python-simplejson
17 Requires: python-PyQt4
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 A flash card program to make your review process more efficient.
24 %description -l pl.UTF-8
25 Program podobny w dziaĆaniu do SuperMemo(tm).
32 %{__python} setup.py build
34 %{__python} setup.py build
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_desktopdir}
40 %{__python} setup.py install \
42 --root=$RPM_BUILD_ROOT
44 %{__python} setup.py install \
46 --root=$RPM_BUILD_ROOT
49 install anki.desktop $RPM_BUILD_ROOT%{_desktopdir}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc CREDITS ChangeLog README*
57 %attr(755,root,root) %{_bindir}/%{name}
58 %{py_sitescriptdir}/anki
59 %{py_sitescriptdir}/ankiqt
60 %{py_sitescriptdir}/*.egg-info
61 %{_desktopdir}/*.desktop