]> git.pld-linux.org Git - SPECS.git/blob - mnemosyne.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / mnemosyne.spec
1 Summary:        SuperMemo(tm)-like program 
2 Summary(pl.UTF-8):      Program podobny do SuperMemo
3 Name:           mnemosyne
4 Version:        1.2
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/mnemosyne-proj/%{name}-%{version}.tgz
9 # Source0-md5:  2cc1ebd25aacb5a42f70c16ff2d43f1c
10 URL:            http://mnemosyne-proj.org/
11 BuildRequires:  python-PyQt
12 BuildRequires:  python-pygame
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 %pyrequires_eq  python-modules
16 Requires:       python-PyQt
17 Requires:       python-pygame
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 export CFLAGS="%{rpmcflags}"
32 %{__python} setup.py build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__python} setup.py install \
37         --optimize=2 \
38         --root=$RPM_BUILD_ROOT
39
40 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
41 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
42 %py_postclean
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS ChangeLog README
50 %attr(755,root,root) %{_bindir}/%{name}
51 %{py_sitescriptdir}/%{name}
52 %{py_sitescriptdir}/*.egg-info
53 %{_desktopdir}/*.desktop
54 %{_iconsdir}/*
This page took 0.13316 seconds and 3 git commands to generate.