Rpm: file permissions and icons

This commit is contained in:
Louis-Joseph Fournier 2016-01-15 23:17:53 +01:00
parent e5b586d796
commit f009053ce6
4 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,7 @@
QT += qml quick gui multimedia dbus
TARGET = harbour-sailtuner
CONFIG += c++11 qt link_pkgconfig sailfishapp sailfishapp_i18n sailfishapp_no_deploy_qml
CONFIG += c++11 qt link_pkgconfig sailfishapp sailfishapp_no_deploy_qml
DEFINES += TARGET=\""$(TARGET")\"
@ -9,6 +9,8 @@ DEFINES += TARGET=\""$(TARGET")\"
PKGCONFIG += libpulse-simple audioresource
SAILFISHAPP_ICONS = 86x86 108x108 128x128 256x256
RESOURCES += \
qml/sailfish.qrc \
data/temperaments.qrc

View file

@ -63,8 +63,11 @@ desktop-file-install --delete-original \
%files
%defattr(-,root,root,-)
%{_bindir}
%{_datadir}/%{name}
#%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/86x86/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/108x108/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%attr(644,-,-) %{_datadir}/icons/hicolor/256x256/apps/%{name}.png
# >> files
# << files