[app] Added 108x108, 128x128 and 256x256 icons

This commit is contained in:
Slava Monich 2015-10-19 16:54:37 +03:00
parent 1fc46997eb
commit eda98440cf
4 changed files with 6 additions and 1 deletions

BIN
app/harbour-books-108.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
app/harbour-books-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
app/harbour-books-256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -45,12 +45,17 @@ desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/*.desktop
for x in 108 128 256 ; do \
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps ; \
cp %{name}-${x}.png %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/%{name}.png ; \
done
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%check
make -C test test