Clean up desktop files
This commit is contained in:
parent
23d35be2e4
commit
19e9b6bf65
@ -5,7 +5,7 @@
|
|||||||
Summary: Tools for certain user account management tasks
|
Summary: Tools for certain user account management tasks
|
||||||
Name: usermode
|
Name: usermode
|
||||||
Version: 1.91
|
Version: 1.91
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source: usermode-%{version}.tar.bz2
|
Source: usermode-%{version}.tar.bz2
|
||||||
@ -66,6 +66,22 @@ for wrappedapp in halt reboot poweroff ; do
|
|||||||
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
|
cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for i in redhat-userinfo.desktop redhat-userpasswd.desktop; do
|
||||||
|
cat >>$RPM_BUILD_ROOT%{_datadir}/applications/$i <<EOF
|
||||||
|
NoDisplay=true
|
||||||
|
EOF
|
||||||
|
desktop-file-install --vendor redhat --delete-original \
|
||||||
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
--remove-category Application \
|
||||||
|
--add-category X-GNOME-PersonalSettings \
|
||||||
|
$RPM_BUILD_ROOT%{_datadir}/applications/$i
|
||||||
|
done
|
||||||
|
|
||||||
|
desktop-file-install --vendor redhat --delete-original \
|
||||||
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
--remove-category Application \
|
||||||
|
$RPM_BUILD_ROOT%{_datadir}/applications/redhat-usermount.desktop
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -105,6 +121,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 27 2007 Matthias Clasen <mclasen@redhat.com> 1.91-2
|
||||||
|
- Clean up desktop files
|
||||||
|
|
||||||
* Mon Mar 19 2007 Miloslav Trmac <mitr@redhat.com> - 1.91-1
|
* Mon Mar 19 2007 Miloslav Trmac <mitr@redhat.com> - 1.91-1
|
||||||
- Preserve environment variables in consolehelper if specified in the service
|
- Preserve environment variables in consolehelper if specified in the service
|
||||||
config file
|
config file
|
||||||
|
Loading…
Reference in New Issue
Block a user