Репозиторий Sisyphus
Последнее обновление: 14 декабря 2018 | Пакетов: 18664 | Посещений: 12703556
en ru br
Репозитории ALT
S:1.5.11-alt5.qa1
www.altlinux.org/Changes

Группа :: Система/Настройка/Печать
Пакет: system-config-printer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:    system-config-printer
Version: 1.5.11
Release: alt5.qa1

Summary: A printer administration tool
Group:   System/Configuration/Printing
License: GPLv2+
Url:     http://cyberelk.net/tim/software/system-config-printer/
# Git:   https://github.com/zdohnal/system-config-printer

Source: %name-%version.tar
Patch:  %name-%version-%release.patch
Patch1: fix_search_printer.patch
Patch2: about_logo.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


%description
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
printers.

%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

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

%build
./bootstrap
%configure --with-udev-rules \
          --with-polkit-1

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

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

%files lib
%_datadir/dbus-1/interfaces/*.xml
%_datadir/dbus-1/services/*.service
%_datadir/%name
/etc/dbus-1/system.d/*.conf

%files udev
%_tmpfilesdir/*
/lib/udev/rules.d/*.rules
/lib/udev/udev-*-printer

%files -f system-config-printer.lang
%doc README.md COPYING
%_bindir/*
%_datadir/appdata/%name.appdata.xml
%_desktopdir/*.desktop
%_sysconfdir/xdg/autostart/*.desktop
%_man1dir/*

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


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin