mirror of
https://abf.rosa.ru/djam/hplip.git
synced 2025-02-24 00:42:59 +00:00
Added SmartInstallDisable-Tool.run
This commit is contained in:
parent
a2ff79a8b6
commit
28e7a478ae
3 changed files with 30 additions and 1 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
sources:
|
||||
SmartInstallDisable-Tool.run: c82103aa609cd7e58f43b090266bb77216933937
|
||||
hp-sendfax.png: 2201320c59c2eaba10abce5c40306c6461e79beb
|
||||
hplip-3.13.8.tar.gz: c91fd5231e056f03dc7e715a84afcb13074364d1
|
||||
|
|
12
README.urpmi
Normal file
12
README.urpmi
Normal file
|
@ -0,0 +1,12 @@
|
|||
If you experience problems with the following printers:
|
||||
HP LaserJet 1100 series
|
||||
HP LaserJet p1560 series
|
||||
HP LaserJet p1600 series
|
||||
HP LaserJet CP1020 series
|
||||
HP LaserJet M1130 MFP series
|
||||
HP LaserJet M1210 MFP series
|
||||
|
||||
try to run
|
||||
# /usr/bin/SmartInstallDisable-Tool.run
|
||||
|
||||
Please refer to http://hplipopensource.com/node/367 for more details.
|
17
hplip.spec
17
hplip.spec
|
@ -28,6 +28,9 @@ Source2: %{name}-tmpfiles.conf
|
|||
# http://www.iconfinder.com/icondetails/6393/128/fax_hardware_icon
|
||||
Source3: hp-sendfax.png
|
||||
Source4: hplip.rpmlintrc
|
||||
# http://hplipopensource.com/node/367
|
||||
Source5: http://hplipopensource.com/hplip-web/smartinstall/SmartInstallDisable-Tool.run
|
||||
Source6: README.urpmi
|
||||
# (doktor5000) fix linking with python and libsane
|
||||
# taken from mandriva
|
||||
Patch1: hplip-3.11.3-mdv-link.patch
|
||||
|
@ -540,6 +543,15 @@ rm -rf %{buildroot}%{_datadir}/hal/fdi
|
|||
# Regenerate hpcups PPDs on upgrade if necessary (bug #579355).
|
||||
install -p -m755 %{SOURCE1} %{buildroot}%{_bindir}/hpcups-update-ppds
|
||||
|
||||
# A tool disable smart install feature in HP printer(s) from linux
|
||||
# HP Smart Install is a service running on firmware which makes printer to appear
|
||||
# as "Mass Storage Devices" when connected via USB cable. This is to install the
|
||||
# minimal printer software from flash memory of printer. This service needs to be
|
||||
# disabled on linux in order to have the device function as a printer.
|
||||
install -p -m755 %{SOURCE5} %{buildroot}%{_bindir}/SmartInstallDisable-Tool.run
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
install -p -m755 %{SOURCE6} %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
# Fedora pstotiff
|
||||
rm -f %{buildroot}%{_sysconfdir}/cups/pstotiff.types
|
||||
rm -f %{buildroot}%{_datadir}/cups/mime/pstotiff.types
|
||||
|
@ -682,6 +694,10 @@ fi
|
|||
%{_sysconfdir}/pam.d/hp-setup
|
||||
%{_sysconfdir}/security/console.apps/hp-setup
|
||||
|
||||
# A tool to disable Smart Install
|
||||
%{_bindir}/SmartInstallDisable-Tool.run
|
||||
%{_docdir}/%{name}/README.urpmi
|
||||
|
||||
%exclude %{_datadir}/hplip/data/models
|
||||
# C libraries for Python
|
||||
%{_libdir}/python*/*/*.so*
|
||||
|
@ -753,6 +769,7 @@ fi
|
|||
%{_datadir}/polkit-1/actions/com.hp.hplip.policy
|
||||
%{_datadir}/dbus-1/system-services/com.hp.hplip.service
|
||||
%{_localstatedir}/lib/hp/hplip.state
|
||||
%{_docdir}/%{name}/README.urpmi
|
||||
%dir %attr(0774,root,lp) %{_localstatedir}/log/hp
|
||||
%dir %attr(1774,root,lp) %{_localstatedir}/log/hp/tmp
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/com.hp.hplip.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue