Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[lipstick] Provide privileges files for mapplauncher. Contributes to …
…JB#38238
  • Loading branch information
rainemak committed Jan 18, 2019
1 parent 46b0020 commit 735e64c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpm/lipstick-qt5.privileges
@@ -0,0 +1 @@
/usr/bin/lipstick,n
5 changes: 5 additions & 0 deletions rpm/lipstick-qt5.spec
Expand Up @@ -11,6 +11,7 @@ Group: System/Libraries
License: LGPLv2.1
URL: http://github.com/nemomobile/lipstick
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.privileges
Requires: mce >= 1.87.0
Requires: pulseaudio-modules-nemo-mainvolume >= 6.0.19
Requires(post): /sbin/ldconfig
Expand Down Expand Up @@ -126,6 +127,9 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}/%{icondirectory}
%qmake5_install

mkdir -p %{buildroot}%{_datadir}/mapplauncherd/privileges.d
install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/mapplauncherd/privileges.d/

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig
Expand All @@ -140,6 +144,7 @@ mkdir -p %{buildroot}/%{icondirectory}
%{_datadir}/translations/lipstick_eng_en.qm
%dir %{_datadir}/lipstick
%dir %{_datadir}/lipstick/notificationcategories
%{_datadir}/mapplauncherd/privileges.d/*
%{_datadir}/lipstick/notificationcategories/*.conf
%{_datadir}/lipstick/androidnotificationpriorities
%dir %{icondirectory}
Expand Down

0 comments on commit 735e64c

Please sign in to comment.