Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
system-config-printer.import5604
system-config-printer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File system-config-printer.spec of Package system-config-printer.import5604
# # spec file for package system-config-printer # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: system-config-printer License: GPLv2+ Group: Hardware/Printing Version: 1.2.5 Release: 5.<RELEASE10> Summary: A printer administration tool Url: http://cyberelk.net/tim/software/system-config-printer/ Source0: http://cyberelk.net/tim/data/system-config-printer/1.0.x/system-config-printer-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE system-config-printer-icon-brp-friendly.patch vuntz@novell.com -- brp checks don't like the printer icon name, so we have to use something else Patch13: system-config-printer-icon-brp-friendly.patch # PATCH-FIX-OPENSUSE system-config-printer-firewall-menu.patch vuntz@novell.com -- Fix string to mention correct path in menus to firewall tool Patch18: system-config-printer-firewall-menu.patch # PATCH-FIX-OPENSUSE system-config-printer-no-openprinting.patch bnc#733542 vuntz@opensuse.org -- Disable feature that downloads ppd from openprinting.org Patch19: system-config-printer-no-openprinting.patch # PATCH-FIX-UPSTREAM system-config-printer-subprocess-no-shell.patch bnc#735322 vuntz@opensuse.org -- Always use sequences for subprocess to avoid escaping issues; sent upstream by mail Patch20: system-config-printer-subprocess-no-shell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: gnome-cups-manager <= 0.33 BuildRequires: cups-devel # For directory ownership BuildRequires: dbus-1 BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: gnome-icon-theme BuildRequires: gnome-patch-translation # For directory ownership BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: libudev-devel BuildRequires: libusb-compat-devel BuildRequires: python-devel BuildRequires: python-xml BuildRequires: update-desktop-files BuildRequires: xmlto Requires: cups Requires: dbus-1-x11 Requires: dbus-1-python Requires: desktop-file-utils Requires: python-cups Requires: python-cupshelpers Requires: python-gnome Requires: python-gobject2 Requires: python-gtk Requires: python-notify Requires: python-smbc Recommends: %{name}-lang Recommends: cups-pk-helper Recommends: udev-configure-printer %py_requires %if %suse_version <= 1110 %define python_sitelib %{py_sitedir} %endif %description system-config-printer is a graphical user interface that allows the user to configure a CUPS print server. %package -n python-cupshelpers License: GPLv2+ Summary: High-level Python Bindings for CUPS Group: Hardware/Printing Requires: python-cups %py_requires %description -n python-cupshelpers This package contains high-level python bindings for CUPS, and can be used on top of python-cups. %package -n udev-configure-printer License: GPLv2+ Summary: Utility to autoconfigure printers when plugged Group: Hardware/Printing Obsoletes: cups-autoconfig <= 0.1.0 Requires: dbus-1-python Requires: python-cups Requires: python-cupshelpers %py_requires %description -n udev-configure-printer This package contains an utility that will ensure printers get automatically configured when plugged on the computer. %lang_package %prep %setup -q gnome-patch-translation-prepare %patch13 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 gnome-patch-translation-update %build %if %suse_version > 1110 %configure \ --with-udev-rules %else %configure %endif %install %makeinstall udevrulesdir=/lib/udev/rules.d udevhelperdir=/lib/udev for size in 8x8 16x16 22x22 24x24 32x32 48x48; do if test -f %{_datadir}/icons/gnome/$size/devices/printer.png; then mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps cp -a %{_datadir}/icons/gnome/$size/devices/printer.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps/%{name}.png fi done %suse_update_desktop_file print-applet %suse_update_desktop_file system-config-printer X-SuSE-PrintingUtility X-SuSE-ControlCenter-Hardware %suse_update_desktop_file manage-print-jobs %fdupes $RPM_BUILD_ROOT/%{py_sitedir} %find_lang %{name} %{?no_lang_C} %clean rm -rf $RPM_BUILD_ROOT %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc ChangeLog COPYING README %config(noreplace) %{_sysconfdir}/dbus-1/system.d/newprinternotification.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/printerdriversinstaller.conf %{_bindir}/%{name} %{_bindir}/%{name}-applet %{_datadir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/* %{_sysconfdir}/xdg/autostart/*.desktop %{_mandir}/man1/* %files -n python-cupshelpers %defattr(-,root,root,-) %exclude %{python_sitelib}/cupshelpers/*.pyc %{python_sitelib}/cupshelpers %{python_sitelib}/cupshelpers*.egg-info %if %suse_version > 1110 %files -n udev-configure-printer %defattr(-,root,root,-) %dir /lib/udev %dir /lib/udev/rules.d /lib/udev/rules.d/*.rules /lib/udev/udev-add-printer /lib/udev/udev-configure-printer %endif %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor