fix several desktop issues reported in bodhi
This commit is contained in:
parent
5d83b930f1
commit
30bddace75
19
hplip.spec
19
hplip.spec
@ -7,7 +7,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.18.12
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC
|
||||
|
||||
Url: https://developers.hp.com/hp-linux-imaging-and-printing
|
||||
@ -460,15 +460,23 @@ sed -i -e '/^Categories=/d' hplip.desktop
|
||||
sed -i -e '/^Encoding=/d' hplip.desktop
|
||||
desktop-file-validate hplip.desktop
|
||||
|
||||
desktop-file-install --vendor HP \
|
||||
desktop-file-install \
|
||||
--dir %{buildroot}/%{_datadir}/applications \
|
||||
--add-category System \
|
||||
--add-category Settings \
|
||||
--add-category HardwareSettings \
|
||||
hplip.desktop
|
||||
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
|
||||
|
||||
# install hp-uiscan desktop file
|
||||
sed -i 's/Humanity\/devices\/48\/printer.svg/\/hicolor\/32x32\/apps\/hp_logo.png/' hp-uiscan.desktop
|
||||
|
||||
desktop-file-validate hp-uiscan.desktop
|
||||
|
||||
desktop-file-install \
|
||||
--dir %{buildroot}/%{_datadir}/applications \
|
||||
--add-category Application \
|
||||
hp-uiscan.desktop
|
||||
|
||||
# Regenerate hpcups PPDs on upgrade if necessary (bug #579355).
|
||||
install -p -m755 %{SOURCE1} %{buildroot}%{_bindir}/hpcups-update-ppds
|
||||
|
||||
@ -649,6 +657,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||
|
||||
%changelog
|
||||
* Mon Apr 15 2019 Zdenek Dohnal <zdohnal@redhat.com> - 3.18.12-10
|
||||
- fix several desktop issues reported in bodhi
|
||||
|
||||
* Thu Apr 04 2019 Zdenek Dohnal <zdohnal@redhat.com> - 3.18.12-9
|
||||
- 1695716 - hpcups crashes in Compressor destructor
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user