- Install the desktop file with Hidden=True (bug #170762).
This commit is contained in:
parent
4d1c17183a
commit
8f74be5fa7
21
hplip.spec
21
hplip.spec
@ -86,14 +86,14 @@ rm -f %{buildroot}%{_bindir}/foomatic-rip \
|
||||
%{buildroot}%{_datadir}/cups/model/foomatic-ppds \
|
||||
%{buildroot}%{_datadir}/applications/hplip.desktop
|
||||
|
||||
# Don't install desktop file (bug #170762).
|
||||
#mkdir -p %{buildroot}%{_datadir}/applications
|
||||
#desktop-file-install --vendor HP \
|
||||
# --dir %{buildroot}%{_datadir}/applications \
|
||||
# --add-category X-Red-Hat-Extra \
|
||||
# --add-category Utility \
|
||||
# --add-category Application \
|
||||
# %{buildroot}%{_datadir}/hplip/data/hplip.desktop
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
echo 'Hidden=true' >> %{buildroot}%{_datadir}/hplip/data/hplip.desktop
|
||||
desktop-file-install --vendor HP \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
--add-category X-Red-Hat-Extra \
|
||||
--add-category Utility \
|
||||
--add-category Application \
|
||||
%{buildroot}%{_datadir}/hplip/data/hplip.desktop
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -109,7 +109,7 @@ rm -rf %{buildroot}
|
||||
%{_libdir}/cups/backend/hp
|
||||
%{_datadir}/hplip
|
||||
%{_libdir}/python*/site-packages/*
|
||||
#%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/applications/*.desktop
|
||||
|
||||
%files -n hpijs
|
||||
%defattr(-,root,root)
|
||||
@ -142,6 +142,9 @@ if ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Fri Oct 14 2005 Tim Waugh <twaugh@redhat.com>
|
||||
- Install the desktop file with Hidden=True (bug #170762).
|
||||
|
||||
* Fri Oct 14 2005 Tim Waugh <twaugh@redhat.com> 0.9.6-3
|
||||
- Don't install desktop file (bug #170762).
|
||||
- Quieten the hpssd daemon at startup (bug #170762).
|
||||
|
Loading…
Reference in New Issue
Block a user