]> git.pld-linux.org Git - packages/anki.git/blob - anki.spec
- new
[packages/anki.git] / anki.spec
1 Summary:        SuperMemo(tm)-like program 
2 Summary(pl.UTF-8):      Program podobny do SuperMemo
3 Name:           anki
4 Version:        0.9.9.8.6
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications
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
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 A flash card program to make your review process more efficient.
23
24 %description -l pl.UTF-8
25 Program podobny w dziaƂaniu do SuperMemo(tm).
26
27 %prep
28 %setup -q
29
30 %build
31 cd libanki
32 %{__python} setup.py build
33 cd ..
34 %{__python} setup.py build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_desktopdir}
39 cd libanki
40 %{__python} setup.py install \
41         --optimize=2 \
42         --root=$RPM_BUILD_ROOT
43 cd ..
44 %{__python} setup.py install \
45         --optimize=2 \
46         --root=$RPM_BUILD_ROOT
47
48 %py_postclean
49 install anki.desktop $RPM_BUILD_ROOT%{_desktopdir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
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
This page took 0.058148 seconds and 3 git commands to generate.