Accepting request 208731 from home:Mailaender:branches:Printing
update, rpmlint fixes and packaging improvements around the .desktop files OBS-URL: https://build.opensuse.org/request/show/208731 OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=85
This commit is contained in:
committed by
Git OBS Bridge
parent
b5f2ba9c14
commit
8dab88b65b
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a8122cd824398ac6374154f86152e24fdf5c0100b5c1d6518e853308362e627d
|
||||
size 20951136
|
@@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlJXyTYACgkQc9dwzaWQR7lU3gCfUPYc+L4OhHfT6FyDR+p6Cc3f
|
||||
nTQAoKVRl9zN6A2FEfuevhyXKvbvxS5X
|
||||
=rBTR
|
||||
-----END PGP SIGNATURE-----
|
3
hplip-3.13.11.tar.gz
Normal file
3
hplip-3.13.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ea0ed020ab54e08620fe6ea7c30e93dbb8be505f2e6994e7222a7be63ca3b34
|
||||
size 21104424
|
7
hplip-3.13.11.tar.gz.asc
Normal file
7
hplip-3.13.11.tar.gz.asc
Normal file
@@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlJyRPYACgkQc9dwzaWQR7k5dQCgsaBp0n2Yw+U4f+idkFfxmrEk
|
||||
FycAoOgf1EFe+P3pmL+yy7w+aY9INQYk
|
||||
=puTl
|
||||
-----END PGP SIGNATURE-----
|
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 19:33:01 UTC 2013 - mailaender@opensuse.org
|
||||
|
||||
- Version upgrade to 3.13.11:
|
||||
Added Support for the Following New Printers:
|
||||
HP Color LaserJet Pro MPF M176 series
|
||||
HP Color LaserJet Pro MPF M176n
|
||||
HP Color LaserJet Pro MPF M177 series
|
||||
HP Color LaserJet Pro MPF M177fw
|
||||
HP Color LaserJet Enterprise M750 Printer series
|
||||
HP Color LaserJet Enterprise M750n
|
||||
HP Color LaserJet Enterprise M750dn
|
||||
HP Color LaserJet Enterprise M750xh
|
||||
HP Color LaserJet Enterprise M855 Printer series
|
||||
HP Color LaserJet Enterprise M855dn Printer
|
||||
HP Color LaserJet Enterprise M855xh Printer
|
||||
HP Color LaserJet Enterprise M855x+ Printer
|
||||
HP Color LaserJet Enterprise flow M880 Multifunction Printer series
|
||||
HP Color LaserJet Enterprise flow M880z Multifunction Printer
|
||||
HP Color LaserJet Enterprise flow M880z+ Multifunction Printer
|
||||
HP LaserJet Pro MFP M127 series
|
||||
HP LaserJet Pro MFP M127fn
|
||||
HP LaserJet Pro MFP M127fw
|
||||
HP Officejet 2620 All-in-One
|
||||
HP Officejet 2621 All-in-One
|
||||
HP Officejet 2622 All-in-One
|
||||
Added Pin Printing support for HP LaserJet m5035 MFP device
|
||||
- Added a devel package
|
||||
- Update the .desktop database on install/uninstall
|
||||
- Use .desktop files provided by upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 16 15:36:08 CEST 2013 - jsmeix@suse.de
|
||||
|
||||
|
@@ -1,6 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=hp-toolbox
|
||||
GenericName=HP Device Manager
|
||||
Exec=hp-toolbox
|
||||
Icon=HPmenu
|
54
hplip.spec
54
hplip.spec
@@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: hplip
|
||||
# BuildRequires foomatic-filters to avoid /usr/lib/rpm/brp-symlink ERROR:
|
||||
# link target doesn't exist (neither in build root nor in installed system):
|
||||
@@ -58,7 +59,7 @@ Group: Hardware/Printing
|
||||
# where 'a' or 'b' do not mean 'alpha' or 'beta' but 'second' or 'third' release in the month
|
||||
# (usually bugfix releases have the suffix like 3.12.10a = first bugfix release for 3.12.10).
|
||||
# Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
|
||||
Version: 3.13.10
|
||||
Version: 3.13.11
|
||||
Release: 0
|
||||
Url: http://hplipopensource.com
|
||||
# Source0...Source9 is for sources from HP:
|
||||
@@ -77,10 +78,10 @@ Source2: hplip.keyring
|
||||
# Patch11 fix_gcc44_glib.diff is obsolete since version 3.9.6b because it is fixed in the source.
|
||||
# Patch12 hplip-3.9.8-CVE-2010-4267.patch fixeed a remote buffer overflow in hpmud/pml.c which
|
||||
# is no longer needed because it is fixed in the upstream sources in HPLIP version 3.13.7
|
||||
# Source100... is for special Suse sources:
|
||||
# Source100 is the primary source for the suse_update_desktop_file stuff.
|
||||
# Source100... is for special SUSE sources:
|
||||
# Source100 is obsolete as upstream provides .desktop files now
|
||||
# It is found automatically in $RPM_SOURCE_DIR by 'suse_update_desktop_file -i hplip':
|
||||
Source100: hplip.desktop
|
||||
# Source100: hplip.desktop
|
||||
# Source101 hp-toolbox.wrapper was a wrapper for hp-toolbox which is no longer needed
|
||||
# see https://bugzilla.novell.com/show_bug.cgi?id=755820
|
||||
# Source102 is a small man page for /usr/bin/hpijs:
|
||||
@@ -314,6 +315,16 @@ This sub-package includes only what is needed for plain scanning
|
||||
with the scan drivers in HPLIP for standard HP all-in-one printers.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for hplip
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %{name}-hpijs = %{version}-%{release}
|
||||
Requires: %{name}-sane = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This sub-package is only required by developers.
|
||||
|
||||
|
||||
%prep
|
||||
# first thing is to verify the GPG signed tarball, starting with openSUSE 12.3.
|
||||
%if 0%{?suse_version} > 1220
|
||||
@@ -486,18 +497,8 @@ popd
|
||||
# /usr/lib/cups/filter/foomatic-rip-hplip
|
||||
# which points to foomatic-rip is installed:
|
||||
ln -s ../../../bin/foomatic-rip %{buildroot}/usr/lib/cups/filter/foomatic-rip-hplip
|
||||
# Begin "Desktop menue entry stuff":
|
||||
# Install /usr/share/hplip/data/images/64x64/hp_logo.png as desktop icon file
|
||||
# because it is used in the hplip.desktop.in and hplip-systray.desktop.in sources:
|
||||
install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/32x32/hp_logo.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/HPmenu.png
|
||||
install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/64x64/hp_logo.png %%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/HPmenu.png
|
||||
install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/128x128/hp_logo.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/HPmenu.png
|
||||
install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/256x256/hp_logo.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/HPmenu.png
|
||||
# Set up and install the desktop menue entry stuff using "Categories=System;Monitor;"
|
||||
# and remove HP's hplip.desktop and hplip-systray.desktop files before because we use Source100:
|
||||
# (additionally there is/was a typo in HP's install because of the trailing blank at 'applications ')
|
||||
rm %{buildroot}%{_datadir}/applications/hplip*.desktop
|
||||
%suse_update_desktop_file -i %{name} System HardwareSettings Printing
|
||||
# Replace the invalid Desktop categories
|
||||
%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/hplip.desktop System HardwareSettings
|
||||
# Let suse_update_desktop_file add X-SuSE-translate key to /etc/xdg/autostart/hplip-systray.desktop
|
||||
# so that we can update its translations with translation-only packages.
|
||||
%suse_update_desktop_file %{buildroot}/etc/xdg/autostart/hplip-systray.desktop
|
||||
@@ -517,6 +518,9 @@ install -m 644 %{SOURCE102} %{buildroot}%{_mandir}/man1/
|
||||
%fdupes -s %{buildroot}/%{_datadir}/hplip/data/images
|
||||
|
||||
%post
|
||||
%if 0%{?suse_version} >= 1140
|
||||
%desktop_database_post
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1130
|
||||
%icon_theme_cache_post
|
||||
%else
|
||||
@@ -551,6 +555,9 @@ find /usr/share/hplip/ -name '*.py[co]' -delete
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
%if 0%{?suse_version} >= 1140
|
||||
%desktop_database_postun
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1130
|
||||
%icon_theme_cache_postun
|
||||
%else
|
||||
@@ -636,7 +643,6 @@ exit 0
|
||||
%dir /usr/lib/cups/filter
|
||||
/usr/lib/cups/filter/hpcupsfax
|
||||
%doc %{_defaultdocdir}/%{name}/
|
||||
%{_datadir}/icons/hicolor/*/apps/HPmenu.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/hplip/
|
||||
%exclude %{_datadir}/hplip/data/models/models.dat
|
||||
@@ -648,8 +654,8 @@ exit 0
|
||||
%config %{_sysconfdir}/cups/pstotiff.types
|
||||
%{_bindir}/hpijs
|
||||
%doc %{_mandir}/man1/hpijs.1.gz
|
||||
%{_libdir}/libhpip.*
|
||||
%{_libdir}/libhpmud.*
|
||||
%{_libdir}/libhpip.so.*
|
||||
%{_libdir}/libhpmud.so.*
|
||||
%dir /usr/lib/cups
|
||||
%dir /usr/lib/cups/backend
|
||||
/usr/lib/cups/backend/hp
|
||||
@@ -676,6 +682,14 @@ exit 0
|
||||
%files sane
|
||||
%defattr(-, root, root)
|
||||
%dir %{_libdir}/sane
|
||||
%{_libdir}/sane/libsane-hpaio.*
|
||||
%{_libdir}/sane/libsane-hpaio.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libhpip.so
|
||||
%{_libdir}/libhpmud.so
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/sane/libsane-hpaio.so
|
||||
%{_libdir}/sane/*.la
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user