cups-pk-helper packaged

This commit is contained in:
Berk Çakar
2021-07-19 11:35:31 +03:00
parent e5dc893bbb
commit 0dbc1df565
2 changed files with 74 additions and 0 deletions
@@ -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")
+48
View File
@@ -0,0 +1,48 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>cups-pk-helper</Name>
<Homepage>https://www.freedesktop.org/wiki/Software/cups-pk-helper</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>PolicyKit helper to configure cups with fine-grained privileges</Summary>
<Description>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.</Description>
<Archive type="tarxz" sha1sum="b8bc47688ad692530ec33336543edf9ef4d636fb">https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-0.2.6.tar.xz</Archive>
<BuildDependencies>
<Dependency>cups-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>elogind-devel</Dependency>
<Dependency>intltool</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>cups-pk-helper</Name>
<RuntimeDependencies>
<Dependency>cups</Dependency>
<Dependency>glib2</Dependency>
<Dependency>polkit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/cups-pk-helper</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-07-19</Date>
<Version>0.2.6</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>