This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user