Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb38238' into 'master'
[voicecall-manager] Provide privileges files for mapplauncher. Contributes to JB#38238

See merge request mer-core/voicecall!18
  • Loading branch information
rainemak committed Jan 17, 2019
2 parents 5f52ef1 + 852d9ad commit c15b7f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpm/voicecall-qt5.privileges
@@ -0,0 +1 @@
/usr/bin/voicecall-manager,p
5 changes: 5 additions & 0 deletions rpm/voicecall-qt5.spec
Expand Up @@ -6,6 +6,7 @@ Group: Communications/Telephony
License: ASL 2.0
URL: http://github.com/nemomobile/voicecall
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.privileges
Requires: systemd
Requires: systemd-user-session-targets
Requires: voicecall-qt5-plugin-telepathy = %{version}
Expand Down Expand Up @@ -84,6 +85,9 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{_libdir}/systemd/user/user-session.target.wants
ln -s ../voicecall-manager.service %{buildroot}%{_libdir}/systemd/user/user-session.target.wants/

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

%post
/sbin/ldconfig
if [ "$1" -ge 1 ]; then
Expand Down Expand Up @@ -114,6 +118,7 @@ fi
%{_libdir}/voicecall/plugins/libvoicecall-mce-plugin.so
%{_libdir}/systemd/user/voicecall-manager.service
%{_libdir}/systemd/user/user-session.target.wants/voicecall-manager.service
%{_datadir}/mapplauncherd/privileges.d/*

%files devel
%defattr(-,root,root,-)
Expand Down

0 comments on commit c15b7f9

Please sign in to comment.