View | Details | Raw Unified | Return to bug 41870
Collapse All | Expand All

(-)a/mnemosyne.spec (-4 / +11 lines)
Lines 28-36 Source10: mnemosyne-mktarball.sh Link Here
28
Patch0:		mnemosyne-desktop.patch
28
Patch0:		mnemosyne-desktop.patch
29
License:	AGPLv3
29
License:	AGPLv3
30
30
31
BuildArch:	noarch
32
# no python3-qt5-webengine on power64
31
# no python3-qt5-webengine on power64
33
ExclusiveArch:	noarch %{qt5_qtwebengine_arches}
32
ExclusiveArch:	noarch %{qt5_qtwebengine_arches}
33
BuildRequires(pre):	rpm-macros-qt5-webengine
34
BuildRequires:	desktop-file-utils
34
BuildRequires:	desktop-file-utils
35
BuildRequires:	python3-devel
35
BuildRequires:	python3-devel
36
BuildRequires:	python3-module-distribute
36
BuildRequires:	python3-module-distribute
Lines 45-51 BuildRequires: texlive Link Here
45
%endif
45
%endif
46
Requires:	icon-theme-hicolor
46
Requires:	icon-theme-hicolor
47
Requires:	python3-module-PyQt5
47
Requires:	python3-module-PyQt5
48
%ifarch %qt5_qtwebengine_arches
48
Requires:	python3-module-PyQtWebEngine
49
Requires:	python3-module-PyQtWebEngine
50
%endif
49
Requires:	python3-module-matplotlib-qt5
51
Requires:	python3-module-matplotlib-qt5
50
Requires:	python3-module-cherrypy
52
Requires:	python3-module-cherrypy
51
Requires:	python3-module-webob
53
Requires:	python3-module-webob
Lines 75-80 cp -p openSM2sync/LICENSE LICENSE.openSM2sync Link Here
75
77
76
%install
78
%install
77
%python3_install
79
%python3_install
80
# make arch dependent
81
if [ "%python3_sitelibdir" != "%python3_sitelibdir_noarch" ] ; then
82
    mkdir -p %buildroot/%python3_sitelibdir
83
    mv %buildroot/%python3_sitelibdir_noarch/* %buildroot/%python3_sitelibdir/
84
fi
78
85
79
install -d %{buildroot}%{_datadir}/applications
86
install -d %{buildroot}%{_datadir}/applications
80
desktop-file-install --vendor="" \
87
desktop-file-install --vendor="" \
Lines 98-106 popd Link Here
98
%doc ChangeLog README
105
%doc ChangeLog README
99
%doc --no-dereference LICENSE LICENSE.mnemosyne LICENSE.openSM2sync
106
%doc --no-dereference LICENSE LICENSE.mnemosyne LICENSE.openSM2sync
100
%{_bindir}/%{name}
107
%{_bindir}/%{name}
101
%{python3_sitelibdir_noarch}/%{name}
108
%{python3_sitelibdir}/%{name}
102
%{python3_sitelibdir_noarch}/Mnemosyne-%{version}-py%{__python3_version}.egg-info
109
%{python3_sitelibdir}/Mnemosyne-%{version}-py%{__python3_version}.egg-info
103
%{python3_sitelibdir_noarch}/openSM2sync
110
%{python3_sitelibdir}/openSM2sync
104
%{_datadir}/applications/%{name}.desktop
111
%{_datadir}/applications/%{name}.desktop
105
%{_datadir}/icons/hicolor/*/apps/%{name}.png
112
%{_datadir}/icons/hicolor/*/apps/%{name}.png
106
113

Return to bug 41870