Sisyphus repository
Last update: 20 june 2019 | SRPMs: 17673 | Visits: 14147717
en ru br
ALT Linux repos

Group :: System/Configuration/Printing
RPM: system-config-printer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:    system-config-printer
Version: 1.5.11
Release: alt6

Summary: A printer administration tool
Group:   System/Configuration/Printing
License: GPLv2+
# Git:

Source: %name-%version.tar
Patch:  %name-%version-%release.patch
Patch1: fix_search_printer.patch
Patch2: about_logo.patch
Patch3: fix-translation-in-troubleshoot-menu.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel
BuildRequires: python3-module-cups
BuildRequires: desktop-file-utils
BuildRequires: cups-devel
BuildRequires: libusb-devel
BuildRequires: libudev-devel
BuildRequires: gettext-devel
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: xmlto

Requires: %name-lib = %EVR

%filter_from_requires /PackageKit/d
%add_python3_path /usr/share/system-config-printer

system-config-printer is a graphical user interface that allows
the user to configure a CUPS print server.

%package lib
Summary: Libraries and share for printer tools
Group: System/Configuration/Printing
Requires: python3-module-cupshelpers = %version-%release
Requires: python3-module-cups >= 1.9.61-alt1

%description lib
Code used by both graphical and non-graphical parts

%package udev
Summary: Rules for udev for automatic configuration of USB printers
Group: System/Configuration/Printing
Requires: %name-lib = %version-%release

%description udev
The udev rules and helper programs for automatically configuring USB

%package -n python3-module-cupshelpers
Summary: Python module to configure a CUPS print server
Group: System/Configuration/Printing
BuildArch: noarch
Conflicts: python-module-cupshelpers

%description -n python3-module-cupshelpers
Python module to configure a CUPS print server

%setup -q
sed -i 's/mod.*ins.*_aft.*//'
%patch -p1
%patch1 -p0
%patch2 -p0
%patch3 -p1

%configure --with-udev-rules \

%makeinstall_std udevrulesdir=/lib/udev/rules.d \
install -Dm0644 tmpfiles.conf %buildroot%_tmpfilesdir/system-config-printer.conf
mv %buildroot%_datadir/{metainfo,appdata}
%find_lang system-config-printer

/bin/rm -f /var/cache/foomatic/foomatic.pickle ||:
exit 0

%files lib

%files udev

%files -f system-config-printer.lang

%files -n python3-module-cupshelpers
%config(noreplace) %_sysconfdir/cupshelpers/*.xml


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin