v5.0.2
This commit is contained in:
parent
7417d371e7
commit
e1c0418db3
1 changed files with 17 additions and 2 deletions
|
|
@ -18,12 +18,13 @@
|
|||
|
||||
%bcond_with bundle_lxqtwallet
|
||||
%bcond_without bundle_tcplay
|
||||
%bcond_with pkexec_helper
|
||||
|
||||
%global srcname zuluCrypt
|
||||
%global srcurl https://github.com/mhogomchungu/%{srcname}
|
||||
|
||||
Name: zulucrypt
|
||||
Version: 5.0.1
|
||||
Version: 5.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Qt GUI front end to cryptsetup
|
||||
|
||||
|
|
@ -158,6 +159,9 @@ pushd %{_target_platform}
|
|||
-DHOMEMOUNTPREFIX=false \
|
||||
-DNOGNOME=false \
|
||||
-DNOKDE=false \
|
||||
%if %{without pkexec_helper}
|
||||
-DUSE_POLKIT=true \
|
||||
%endif
|
||||
..
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
|
@ -172,7 +176,7 @@ mkdir -p %{buildroot}%{_datadir}/polkit-1/actions
|
|||
%endif
|
||||
install -p -m0644 -t %{buildroot}%{_datadir}/polkit-1/actions -D %{SOURCE10} %{SOURCE11}
|
||||
|
||||
# use polkit
|
||||
%if %{with pkexec_helper}
|
||||
install -d %{buildroot}%{_libexecdir}/%{name}
|
||||
pushd %{buildroot}%{_libexecdir}/%{name}
|
||||
cat <<EOT >pkexec-helper
|
||||
|
|
@ -185,6 +189,8 @@ ln -s pkexec-helper zuluMount-gui
|
|||
popd
|
||||
sed -i -r 's:(Exec=).*/(.*):\1%{_libexecdir}/%{name}/\2:'\
|
||||
%{buildroot}%{_datadir}/applications/zulu*.desktop
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/zulu*.desktop
|
||||
|
|
@ -219,7 +225,13 @@ fi
|
|||
%{_bindir}/zuluSafe
|
||||
# specific GUI plugins stored to libdir, need Qt
|
||||
%{_libdir}/%{srcname}/
|
||||
%if %{with pkexec_helper}
|
||||
%{_libexecdir}/%{name}/
|
||||
%exclude %{_bindir}/*.pkexec
|
||||
%else
|
||||
%{_bindir}/zuluCrypt-gui.pkexec
|
||||
%{_bindir}/zuluMount-gui.pkexec
|
||||
%endif
|
||||
%{_datadir}/applications/zulu*.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/zulu*.png
|
||||
%{_datadir}/pixmaps/zulu*.png
|
||||
|
|
@ -253,6 +265,9 @@ fi
|
|||
|
||||
###########################################################################################
|
||||
%changelog
|
||||
* Tue Dec 06 2016 Builder <projects.rg@smart.ms> - 5.0.2-1
|
||||
- new version
|
||||
|
||||
* Tue Sep 27 2016 Raphael Groner <projects.rg@smart.ms> - 5.0.1-1
|
||||
- new version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue