Cor Blom
2020-08-30 21:46:58 +00:00
committed by Git OBS Bridge
parent 9ec89a7517
commit c35c5d8167

View File

@@ -81,13 +81,9 @@ write own notes, save, print etc.).
%install
%cmake_install
# move the icon to a valid place (/usr/share/icons is not valid... it has to be in a theme; hicolor as the usual falback)
# this is only a link pointing out of the icons
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
mv %{buildroot}%{_datadir}/%{name}/icons/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
# then link back the icon into the app directory
ln -sf %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{buildroot}%{_datadir}/%{name}/icons/%{name}.svg
%fdupes -s %{buildroot}
%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/info.%{name}.BibleTime.desktop Education Humanities
%files
@@ -98,7 +94,5 @@ ln -sf %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{buildroot}%{_datadi
%{_datadir}/applications/info.%{name}.BibleTime.desktop
%dir %{_datadir}/bibletime
%{_datadir}/bibletime/*
%dir %{_docdir}/%{name}/handbook/
%dir %{_docdir}/%{name}/howto/
%changelog