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: python-PyQt4
12 BuildRequires: python-SQLAlchemy
13 BuildRequires: python-devel
14 BuildRequires: python-distribute
15 BuildRequires: python-sqlite
16 BuildRequires: rpm-pythonprov
17 BuildRequires: rpmbuild(macros) >= 1.219
18 %pyrequires_eq python-modules
19 Requires: python-BeautifulSoup
20 Requires: python-PyQt4
21 Requires: python-SQLAlchemy
22 Requires: python-simplejson
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 A flash card program to make your review process more efficient.
29 %description -l pl.UTF-8
30 Program podobny w dziaĆaniu do SuperMemo(tm).
37 %{__python} setup.py build
39 %{__python} setup.py build
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_desktopdir}
45 %{__python} setup.py install \
47 --root=$RPM_BUILD_ROOT
49 %{__python} setup.py install \
51 --root=$RPM_BUILD_ROOT
54 install anki.desktop $RPM_BUILD_ROOT%{_desktopdir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc CREDITS ChangeLog README*
62 %attr(755,root,root) %{_bindir}/%{name}
63 %{py_sitescriptdir}/anki
64 %{py_sitescriptdir}/ankiqt
65 %{py_sitescriptdir}/*.egg-info
66 %{_desktopdir}/*.desktop