This commit is contained in:
parent
f53b80c676
commit
77af808cd8
10
kdesu.spec
10
kdesu.spec
@ -29,6 +29,7 @@ BuildRequires: kpty-devel >= %{_kf5_version}
|
|||||||
BuildRequires: kservice-devel >= %{_kf5_version}
|
BuildRequires: kservice-devel >= %{_kf5_version}
|
||||||
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
|
PreReq: permissions
|
||||||
Summary: User interface for running shell commands with root privileges
|
Summary: User interface for running shell commands with root privileges
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
@ -76,16 +77,21 @@ Development files.
|
|||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname
|
||||||
|
/sbin/ldconfig
|
||||||
|
%set_permissions %{_kf5_libexecdir}/kdesud
|
||||||
|
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%verifyscript
|
||||||
|
%verify_permissions -e %{_kf5_libexecdir}/kdesud
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING* README*
|
%doc COPYING* README*
|
||||||
%{_kf5_libdir}/libKF5Su.so.*
|
%{_kf5_libdir}/libKF5Su.so.*
|
||||||
%{_kf5_libexecdir}/kdesu_stub
|
%{_kf5_libexecdir}/kdesu_stub
|
||||||
%{_kf5_libexecdir}/kdesud
|
%verify(not mode) %attr(2755,root,nogroup) %{_kf5_libexecdir}/kdesud
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user