diff --git a/hardware/printer/cups-pk-helper/actions.py b/hardware/printer/cups-pk-helper/actions.py new file mode 100644 index 0000000000..1954b78c1b --- /dev/null +++ b/hardware/printer/cups-pk-helper/actions.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + autotools.configure("--prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/cups-pk-helper") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.system("install -dm755 %s/usr/share/dbus-1/system.d" % get.installDIR()) + pisitools.domove("/etc/dbus-1/system.d/*", "/usr/share/dbus-1/system.d") + pisitools.removeDir("/etc") + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "NEWS", "HACKING") diff --git a/hardware/printer/cups-pk-helper/pspec.xml b/hardware/printer/cups-pk-helper/pspec.xml new file mode 100644 index 0000000000..2432e75812 --- /dev/null +++ b/hardware/printer/cups-pk-helper/pspec.xml @@ -0,0 +1,48 @@ + + + + + cups-pk-helper + https://www.freedesktop.org/wiki/Software/cups-pk-helper + + Pisi Linux Admins + admins@pisilinux.org + + GPLv2 + PolicyKit helper to configure cups with fine-grained privileges + cups-pk-helper provides a PolicyKit helper to configure cups with fine-grained privileges. For example, it's possible to let users enable/disable printers without requiring a password, while still requiring a password for editing printer settings. + https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-0.2.6.tar.xz + + cups-devel + polkit-devel + elogind-devel + intltool + + + + + cups-pk-helper + + cups + glib2 + polkit + + + /usr/lib/cups-pk-helper + /usr/share/dbus-1 + /usr/share/locale + /usr/share/doc + /usr/share/polkit-1 + + + + + + 2021-07-19 + 0.2.6 + First release for Pisi Linux + Berk Çakar + berk2238@hotmail.com + + +