Репозиторий Sisyphus
Последнее обновление: 22 июня 2018 | Пакетов: 18576 | Посещений: 11734951
en ru br
Репозитории ALT

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

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

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

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

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

Requires: python3-module-cupshelpers = %version-%release
Requires: python3-module-cups >= 1.9.61-alt1

%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 udev
Summary: Rules for udev for automatic configuration of USB printers
Group: System/Configuration/Printing
Requires: system-config-printer = %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
%patch -p1

%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/etc/tmpfiles.d/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 udev
/lib/udev/rules.d/*.rules
/lib/udev/udev-*-printer
/etc/tmpfiles.d/*

%files -f system-config-printer.lang
%doc README.md
/etc/dbus-1/system.d/*
/usr/share/dbus-1/interfaces/*
/usr/share/dbus-1/services/*
%_bindir/*
%_datadir/%name/
%_desktopdir/*.desktop
%_sysconfdir/xdg/autostart/*.desktop
%_man1dir/*
%_datadir/appdata/%name.appdata.xml

%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