- Regenerate hpcups PPDs on upgrade if necessary (bug #579355).
This commit is contained in:
parent
fc033645a7
commit
a27e2944bf
@ -31,3 +31,4 @@ hplip-3.9.2.tar.gz
|
|||||||
hplip-3.9.6b.tar.gz
|
hplip-3.9.6b.tar.gz
|
||||||
hplip-3.9.8.tar.gz
|
hplip-3.9.8.tar.gz
|
||||||
hplip-3.10.2.tar.gz
|
hplip-3.10.2.tar.gz
|
||||||
|
hpcups-update-ppds.sh
|
||||||
|
13
hplip.spec
13
hplip.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.10.2
|
Version: 3.10.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Conflicts: system-config-printer < 0.6.132
|
Conflicts: system-config-printer < 0.6.132
|
||||||
@ -13,6 +13,7 @@ Conflicts: selinux-policy < 3.0.3-3
|
|||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
Source0: http://kent.dl.sourceforge.net/sourceforge/hplip/%{name}-%{version}.tar.gz
|
Source0: http://kent.dl.sourceforge.net/sourceforge/hplip/%{name}-%{version}.tar.gz
|
||||||
|
Source1: hpcups-update-ppds.sh
|
||||||
Patch1: hplip-pstotiff-is-rubbish.patch
|
Patch1: hplip-pstotiff-is-rubbish.patch
|
||||||
Patch2: hplip-strstr-const.patch
|
Patch2: hplip-strstr-const.patch
|
||||||
Patch3: hplip-ui-optional.patch
|
Patch3: hplip-ui-optional.patch
|
||||||
@ -202,6 +203,9 @@ desktop-file-install --vendor HP \
|
|||||||
--add-category Application \
|
--add-category Application \
|
||||||
hplip.desktop
|
hplip.desktop
|
||||||
|
|
||||||
|
# Regenerate hpcups PPDs on upgrade if necessary (bug #579355).
|
||||||
|
install -p -m755 %{SOURCE1} %{buildroot}%{_bindir}/hpcups-update-ppds
|
||||||
|
|
||||||
%{__mkdir_p} %{buildroot}%{_sysconfdir}/sane.d/dll.d
|
%{__mkdir_p} %{buildroot}%{_sysconfdir}/sane.d/dll.d
|
||||||
echo hpaio > %{buildroot}%{_sysconfdir}/sane.d/dll.d/hpaio
|
echo hpaio > %{buildroot}%{_sysconfdir}/sane.d/dll.d/hpaio
|
||||||
|
|
||||||
@ -337,6 +341,7 @@ rm -rf %{buildroot}
|
|||||||
%files -n hpijs
|
%files -n hpijs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/hpijs
|
%{_bindir}/hpijs
|
||||||
|
%{_bindir}/hpcups-update-ppds
|
||||||
%dir %{_datadir}/ppd/HP
|
%dir %{_datadir}/ppd/HP
|
||||||
%{_datadir}/ppd/HP/*.ppd.gz
|
%{_datadir}/ppd/HP/*.ppd.gz
|
||||||
%{_datadir}/cups/drv/*
|
%{_datadir}/cups/drv/*
|
||||||
@ -365,7 +370,13 @@ fi
|
|||||||
%postun gui
|
%postun gui
|
||||||
/usr/bin/update-desktop-database &>/dev/null ||:
|
/usr/bin/update-desktop-database &>/dev/null ||:
|
||||||
|
|
||||||
|
%post -n hpijs
|
||||||
|
%{_bindir}/hpcups-update-ppds &>/dev/null ||:
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 7 2010 Tim Waugh <twaugh@redhat.com> - 3.10.2-3
|
||||||
|
- Regenerate hpcups PPDs on upgrade if necessary (bug #579355).
|
||||||
|
|
||||||
* Tue Mar 23 2010 Tim Waugh <twaugh@redhat.com> - 3.10.2-2
|
* Tue Mar 23 2010 Tim Waugh <twaugh@redhat.com> - 3.10.2-2
|
||||||
- Explicitly destroy tray icon on exit (bug #543286).
|
- Explicitly destroy tray icon on exit (bug #543286).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user