- new
authorwitekfl <witekfl@pld-linux.org>
Sun, 21 Mar 2010 12:58:04 +0000 (12:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anki.spec -> 1.1

anki.spec [new file with mode: 0644]

diff --git a/anki.spec b/anki.spec
new file mode 100644 (file)
index 0000000..ca975f8
--- /dev/null
+++ b/anki.spec
@@ -0,0 +1,61 @@
+Summary:       SuperMemo(tm)-like program 
+Summary(pl.UTF-8):     Program podobny do SuperMemo
+Name:          anki
+Version:       0.9.9.8.6
+Release:       1
+License:       GPL v3+
+Group:         Applications
+Source0:       http://anki.googlecode.com/files/%{name}-%{version}.tgz
+# Source0-md5: 744f7057cc43be7cc076e1fcb2719e4c
+URL:           http://ichi2.net/anki/
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
+Requires:      python-BeautifulSoup
+Requires:      python-SQLAlchemy
+Requires:      python-simplejson
+Requires:      python-PyQt4
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A flash card program to make your review process more efficient.
+
+%description -l pl.UTF-8
+Program podobny w dziaƂaniu do SuperMemo(tm).
+
+%prep
+%setup -q
+
+%build
+cd libanki
+%{__python} setup.py build
+cd ..
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+cd libanki
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+cd ..
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_postclean
+install anki.desktop $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS ChangeLog README*
+%attr(755,root,root) %{_bindir}/%{name}
+%{py_sitescriptdir}/anki
+%{py_sitescriptdir}/ankiqt
+%{py_sitescriptdir}/*.egg-info
+%{_desktopdir}/*.desktop
This page took 0.081541 seconds and 4 git commands to generate.