summaryrefslogtreecommitdiff
path: root/powerkit
diff options
context:
space:
mode:
Diffstat (limited to 'powerkit')
-rw-r--r--powerkit/README.md20
-rw-r--r--powerkit/debian/README.Debian5
-rw-r--r--powerkit/debian/changelog11
-rw-r--r--powerkit/debian/compat1
-rw-r--r--powerkit/debian/control47
-rw-r--r--powerkit/debian/copyright233
-rw-r--r--powerkit/debian/libpowerkit-dev.install5
-rw-r--r--powerkit/debian/libpowerkit-dev.lintian-overrides1
-rw-r--r--powerkit/debian/libpowerkit1.install2
-rw-r--r--powerkit/debian/libpowerkit1.lintian-overrides1
-rwxr-xr-xpowerkit/debian/make-dsc-for-obs.sh11
-rw-r--r--powerkit/debian/patches/series1
-rw-r--r--powerkit/debian/powerkit+devuan.dsc16
-rw-r--r--powerkit/debian/powerkit.docs1
-rw-r--r--powerkit/debian/powerkit.install4
-rw-r--r--powerkit/debian/powerkit.lintian-overrides1
-rw-r--r--powerkit/debian/powerkit.manpages1
-rwxr-xr-xpowerkit/debian/rules36
-rw-r--r--powerkit/debian/source/format1
-rw-r--r--powerkit/debian/source/lintian-overrides1
-rw-r--r--powerkit/debian/source/local-options2
-rw-r--r--powerkit/debian/watch4
22 files changed, 405 insertions, 0 deletions
diff --git a/powerkit/README.md b/powerkit/README.md
new file mode 100644
index 0000000..b403223
--- /dev/null
+++ b/powerkit/README.md
@@ -0,0 +1,20 @@
+# Readme for powerkit
+
+## Upstream
+[https://gitlab.com/rodlie/powerkit](https://gitlab.com/rodlie/powerkit)
+
+## Reason for being in stackrpms
+My distros do not package powerkit, and it sounds like a useful utility. [Arch](https://aur.archlinux.org/packages/powerkit/) and [slackware](https://slackbuilds.org/repository/14.2/system/powerkit/) bundle it, but not any Debian-based distros.
+
+## Alternatives
+Disparate tools for each individual configuration.
+
+## Reverse dependency matrix
+Distro | powerkit version
+---------- | ----------------
+Devuan | 0.0.1
+
+## Additional info
+
+## Differences from upstream
+None
diff --git a/powerkit/debian/README.Debian b/powerkit/debian/README.Debian
new file mode 100644
index 0000000..3f77cc9
--- /dev/null
+++ b/powerkit/debian/README.Debian
@@ -0,0 +1,5 @@
+powerkit for Devuan
+
+Build with qt5 instead of qt4, based on [AUR package](https://aur.archlinux.org/packages/powerkit/)
+
+ -- Ben Stack <bgstack15@gmail.com> Mon, 06 Apr 2020 10:59:25 -0400
diff --git a/powerkit/debian/changelog b/powerkit/debian/changelog
new file mode 100644
index 0000000..2dfd131
--- /dev/null
+++ b/powerkit/debian/changelog
@@ -0,0 +1,11 @@
+powerkit (1.0.0-2+devuan) obs; urgency=medium
+
+ * Add run-time dependencies not found with makeshlibs
+
+ -- Ben Stack <bgstack15@gmail.com> Wed, 08 Apr 2020 12:06:25 -0400
+
+powerkit (1.0.0-1+devuan) obs; urgency=low
+
+ * Initial release. Closes: packages-want#0
+
+ -- Ben Stack <bgstack15@gmail.com> Mon, 06 Apr 2020 10:59:25 -0400
diff --git a/powerkit/debian/compat b/powerkit/debian/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/powerkit/debian/compat
@@ -0,0 +1 @@
+12
diff --git a/powerkit/debian/control b/powerkit/debian/control
new file mode 100644
index 0000000..fba335b
--- /dev/null
+++ b/powerkit/debian/control
@@ -0,0 +1,47 @@
+Source: powerkit
+Section: admin
+Priority: optional
+Maintainer: Ben Stack <bgstack15@gmail.com>
+Build-Depends: debhelper (>=12~),
+ libqt5core5a | libqt5core5,
+ libqt5dbus5,
+ libqt5gui5 | libqt5gui5-gles,
+ libx11-dev,
+ libxrandr-dev,
+ libxss-dev,
+ qt5-qmake,
+ qtbase5-dev
+Standards-Version: 4.1.4
+Homepage: https://github.com/rodlie/powerkit
+
+Package: powerkit
+Architecture: any
+Multi-Arch: foreign
+Depends: libpowerkit1, ${misc:Depends}, ${shlibs:Depends},
+ upower (>= 0.9.23~),
+ adwaita-icon-theme | hicolor-icon-theme,
+ elogind | consolekit
+Recommends: hicolor-icon-theme
+Description: desktop-independent power manager
+ powerkit is an lightweight desktop independent full
+ featured power manager, originally created for Slackware
+ for use with alternative desktop environments and window
+ managers, like Fluxbox, Blackbox, FVWM, WindowMaker,
+ Openbox, Lumina, Draco and others.
+
+Package: libpowerkit1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: lib for powerkit
+ Shared library for powerkit.
+
+Package: libpowerkit-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}, libpowerkit1 (= ${binary:Version})
+Description: PowerKit library (development headers)
+ Development headers for the library found in libpowerkit1.
+ Non-developers likely have little use for this package.
diff --git a/powerkit/debian/copyright b/powerkit/debian/copyright
new file mode 100644
index 0000000..90f8a56
--- /dev/null
+++ b/powerkit/debian/copyright
@@ -0,0 +1,233 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: powerkit
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: README.md
+ app/common.cpp
+ app/common.h
+ app/dialog.cpp
+ app/dialog.h
+ app/icons/Adwaita/16x16/actions/system-lock-screen.png
+ app/icons/Adwaita/16x16/actions/system-log-out.png
+ app/icons/Adwaita/16x16/actions/system-shutdown.png
+ app/icons/Adwaita/16x16/categories/preferences-other.png
+ app/icons/Adwaita/16x16/devices/ac-adapter.png
+ app/icons/Adwaita/16x16/devices/battery.png
+ app/icons/Adwaita/16x16/devices/input-keyboard.png
+ app/icons/Adwaita/16x16/devices/input-mouse.png
+ app/icons/Adwaita/16x16/devices/video-display.png
+ app/icons/Adwaita/16x16/emblems/emblem-unreadable.png
+ app/icons/Adwaita/16x16/status/battery-caution-charging.png
+ app/icons/Adwaita/16x16/status/battery-caution.png
+ app/icons/Adwaita/16x16/status/battery-empty.png
+ app/icons/Adwaita/16x16/status/battery-full-charged.png
+ app/icons/Adwaita/16x16/status/battery-full-charging.png
+ app/icons/Adwaita/16x16/status/battery-full.png
+ app/icons/Adwaita/16x16/status/battery-good-charging.png
+ app/icons/Adwaita/16x16/status/battery-good.png
+ app/icons/Adwaita/16x16/status/battery-low-charging.png
+ app/icons/Adwaita/16x16/status/battery-low.png
+ app/icons/Adwaita/16x16/status/battery-missing.png
+ app/icons/Adwaita/16x16/status/dialog-information.png
+ app/icons/Adwaita/16x16/status/dialog-question.png
+ app/icons/Adwaita/16x16/status/user-available.png
+ app/icons/Adwaita/16x16/status/weather-clear.png
+ app/icons/Adwaita/22x22/actions/system-lock-screen.png
+ app/icons/Adwaita/22x22/actions/system-log-out.png
+ app/icons/Adwaita/22x22/actions/system-shutdown.png
+ app/icons/Adwaita/22x22/categories/preferences-other.png
+ app/icons/Adwaita/22x22/devices/ac-adapter.png
+ app/icons/Adwaita/22x22/devices/battery.png
+ app/icons/Adwaita/22x22/devices/input-keyboard.png
+ app/icons/Adwaita/22x22/devices/input-mouse.png
+ app/icons/Adwaita/22x22/devices/video-display.png
+ app/icons/Adwaita/22x22/emblems/emblem-unreadable.png
+ app/icons/Adwaita/22x22/status/battery-caution-charging.png
+ app/icons/Adwaita/22x22/status/battery-caution.png
+ app/icons/Adwaita/22x22/status/battery-empty.png
+ app/icons/Adwaita/22x22/status/battery-full-charged.png
+ app/icons/Adwaita/22x22/status/battery-full-charging.png
+ app/icons/Adwaita/22x22/status/battery-full.png
+ app/icons/Adwaita/22x22/status/battery-good-charging.png
+ app/icons/Adwaita/22x22/status/battery-good.png
+ app/icons/Adwaita/22x22/status/battery-low-charging.png
+ app/icons/Adwaita/22x22/status/battery-low.png
+ app/icons/Adwaita/22x22/status/battery-missing.png
+ app/icons/Adwaita/22x22/status/dialog-information.png
+ app/icons/Adwaita/22x22/status/dialog-question.png
+ app/icons/Adwaita/22x22/status/user-available.png
+ app/icons/Adwaita/22x22/status/weather-clear.png
+ app/icons/Adwaita/24x24/actions/system-hibernate.png
+ app/icons/Adwaita/24x24/actions/system-lock-screen.png
+ app/icons/Adwaita/24x24/actions/system-log-out.png
+ app/icons/Adwaita/24x24/actions/system-shutdown.png
+ app/icons/Adwaita/24x24/actions/system-suspend.png
+ app/icons/Adwaita/24x24/categories/preferences-other.png
+ app/icons/Adwaita/24x24/devices/ac-adapter.png
+ app/icons/Adwaita/24x24/devices/battery.png
+ app/icons/Adwaita/24x24/devices/input-keyboard.png
+ app/icons/Adwaita/24x24/devices/input-mouse.png
+ app/icons/Adwaita/24x24/devices/video-display.png
+ app/icons/Adwaita/24x24/emblems/emblem-unreadable.png
+ app/icons/Adwaita/24x24/status/battery-caution-charging.png
+ app/icons/Adwaita/24x24/status/battery-caution.png
+ app/icons/Adwaita/24x24/status/battery-empty.png
+ app/icons/Adwaita/24x24/status/battery-full-charged.png
+ app/icons/Adwaita/24x24/status/battery-full-charging.png
+ app/icons/Adwaita/24x24/status/battery-full.png
+ app/icons/Adwaita/24x24/status/battery-good-charging.png
+ app/icons/Adwaita/24x24/status/battery-good.png
+ app/icons/Adwaita/24x24/status/battery-low-charging.png
+ app/icons/Adwaita/24x24/status/battery-low.png
+ app/icons/Adwaita/24x24/status/battery-missing.png
+ app/icons/Adwaita/24x24/status/dialog-information.png
+ app/icons/Adwaita/24x24/status/dialog-question.png
+ app/icons/Adwaita/24x24/status/user-available.png
+ app/icons/Adwaita/24x24/status/weather-clear.png
+ app/icons/Adwaita/32x32/actions/system-hibernate.png
+ app/icons/Adwaita/32x32/actions/system-lock-screen.png
+ app/icons/Adwaita/32x32/actions/system-log-out.png
+ app/icons/Adwaita/32x32/actions/system-shutdown.png
+ app/icons/Adwaita/32x32/actions/system-suspend.png
+ app/icons/Adwaita/32x32/categories/preferences-other.png
+ app/icons/Adwaita/32x32/devices/ac-adapter.png
+ app/icons/Adwaita/32x32/devices/battery.png
+ app/icons/Adwaita/32x32/devices/input-keyboard.png
+ app/icons/Adwaita/32x32/devices/input-mouse.png
+ app/icons/Adwaita/32x32/devices/video-display.png
+ app/icons/Adwaita/32x32/emblems/emblem-unreadable.png
+ app/icons/Adwaita/32x32/status/battery-caution-charging.png
+ app/icons/Adwaita/32x32/status/battery-caution.png
+ app/icons/Adwaita/32x32/status/battery-empty.png
+ app/icons/Adwaita/32x32/status/battery-full-charged.png
+ app/icons/Adwaita/32x32/status/battery-full-charging.png
+ app/icons/Adwaita/32x32/status/battery-full.png
+ app/icons/Adwaita/32x32/status/battery-good-charging.png
+ app/icons/Adwaita/32x32/status/battery-good.png
+ app/icons/Adwaita/32x32/status/battery-low-charging.png
+ app/icons/Adwaita/32x32/status/battery-low.png
+ app/icons/Adwaita/32x32/status/battery-missing.png
+ app/icons/Adwaita/32x32/status/dialog-information.png
+ app/icons/Adwaita/32x32/status/dialog-question.png
+ app/icons/Adwaita/32x32/status/user-available.png
+ app/icons/Adwaita/32x32/status/weather-clear.png
+ app/icons/Adwaita/48x48/actions/system-hibernate.png
+ app/icons/Adwaita/48x48/actions/system-lock-screen.png
+ app/icons/Adwaita/48x48/actions/system-log-out.png
+ app/icons/Adwaita/48x48/actions/system-shutdown.png
+ app/icons/Adwaita/48x48/actions/system-suspend.png
+ app/icons/Adwaita/48x48/categories/preferences-other.png
+ app/icons/Adwaita/48x48/devices/ac-adapter.png
+ app/icons/Adwaita/48x48/devices/battery.png
+ app/icons/Adwaita/48x48/devices/input-keyboard.png
+ app/icons/Adwaita/48x48/devices/input-mouse.png
+ app/icons/Adwaita/48x48/devices/video-display.png
+ app/icons/Adwaita/48x48/emblems/emblem-unreadable.png
+ app/icons/Adwaita/48x48/status/battery-caution-charging.png
+ app/icons/Adwaita/48x48/status/battery-caution.png
+ app/icons/Adwaita/48x48/status/battery-empty.png
+ app/icons/Adwaita/48x48/status/battery-full-charged.png
+ app/icons/Adwaita/48x48/status/battery-full-charging.png
+ app/icons/Adwaita/48x48/status/battery-full.png
+ app/icons/Adwaita/48x48/status/battery-good-charging.png
+ app/icons/Adwaita/48x48/status/battery-good.png
+ app/icons/Adwaita/48x48/status/battery-low-charging.png
+ app/icons/Adwaita/48x48/status/battery-low.png
+ app/icons/Adwaita/48x48/status/battery-missing.png
+ app/icons/Adwaita/48x48/status/dialog-information.png
+ app/icons/Adwaita/48x48/status/dialog-question.png
+ app/icons/Adwaita/48x48/status/user-available.png
+ app/icons/Adwaita/48x48/status/weather-clear.png
+ app/icons/Adwaita/LICENSE.Adwaita
+ app/icons/Adwaita/README.md
+ app/icons/Adwaita/index.theme
+ app/main.cpp
+ app/share/applications/powerkit.desktop
+ app/share/autostart/powerkit.desktop
+ app/share/images/screenshot-01.png
+ app/share/images/screenshot-02.png
+ app/share/images/screenshot-03.png
+ app/share/man/powerkit.1
+ app/share/polkit/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
+ app/share/udev/90-backlight.rules
+ app/systray.cpp
+ app/systray.h
+ lib/def.h
+ lib/device.cpp
+ lib/device.h
+ lib/hotplug.cpp
+ lib/hotplug.h
+ lib/powerkit.cpp
+ lib/powerkit.h
+ lib/powermanagement.cpp
+ lib/powermanagement.h
+ lib/screens.cpp
+ lib/screens.h
+ lib/screensaver.cpp
+ lib/screensaver.h
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+Files: app/app.pro
+ lib/lib.pro
+ powerkit.pri
+ powerkit.pro
+Copyright: 2018 Ole-André Rodlie <ole.andre.rodlie@gmail.com>
+ 2018 Ole-André Rodlie <ole.andre.rodlie@gmail.com>.
+License: __UNKNOWN__
+ Available under the 3-clause BSD license
+ See the LICENSE file for full details
+
+Files: app/icons/Adwaita/16x16/actions/system-suspend.png
+ app/icons/Adwaita/22x22/actions/system-hibernate.png
+ app/icons/Adwaita/22x22/actions/system-suspend.png
+Copyright: 2003 Jakub 'jimmac' Steiner, http://jimmac.musichall.cz
+License: __UNKNOWN__
+ created with the GIMP,
+
+Files: app/icons/Adwaita/16x16/actions/system-hibernate.png
+Copyright: 2003 Jakub 'jimmac' Steiner, http://jimmac.musichall.cz
+License: __UNKNOWN__
+ created with the GIMP,
+ _MANY_NON_ASCII_(212chars. over 287chars.) starting with: http://www.gimp.orggŠÇG
+
+#----------------------------------------------------------------------------
+# xml and html files (skipped):
+# app/icons.qrc
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
+
+#----------------------------------------------------------------------------
+# License file: LICENSE
+ .
+ Copyright (c) 2018, Ole-André Rodlie <ole.andre.rodlie@gmail.com>
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ * Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/powerkit/debian/libpowerkit-dev.install b/powerkit/debian/libpowerkit-dev.install
new file mode 100644
index 0000000..6c9424a
--- /dev/null
+++ b/powerkit/debian/libpowerkit-dev.install
@@ -0,0 +1,5 @@
+usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
+#usr/lib/*.so usr/lib/${DEB_TARGET_MULTIARCH}
+#usr/lib/pkgconfig/*.pc usr/lib/${DEB_TARGET_MULTIARCH}/pkgconfig
+usr/include
diff --git a/powerkit/debian/libpowerkit-dev.lintian-overrides b/powerkit/debian/libpowerkit-dev.lintian-overrides
new file mode 100644
index 0000000..4276455
--- /dev/null
+++ b/powerkit/debian/libpowerkit-dev.lintian-overrides
@@ -0,0 +1 @@
+copyright-has-url-from-dh_make-boilerplate
diff --git a/powerkit/debian/libpowerkit1.install b/powerkit/debian/libpowerkit1.install
new file mode 100644
index 0000000..b0b20ef
--- /dev/null
+++ b/powerkit/debian/libpowerkit1.install
@@ -0,0 +1,2 @@
+#usr/lib/*.so.* usr/lib/${DEB_TARGET_MULTIARCH}
+usr/lib/*/*.so.*
diff --git a/powerkit/debian/libpowerkit1.lintian-overrides b/powerkit/debian/libpowerkit1.lintian-overrides
new file mode 100644
index 0000000..4276455
--- /dev/null
+++ b/powerkit/debian/libpowerkit1.lintian-overrides
@@ -0,0 +1 @@
+copyright-has-url-from-dh_make-boilerplate
diff --git a/powerkit/debian/make-dsc-for-obs.sh b/powerkit/debian/make-dsc-for-obs.sh
new file mode 100755
index 0000000..362a62e
--- /dev/null
+++ b/powerkit/debian/make-dsc-for-obs.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Date: 2020-04-06
+# Goal: convert the fresh dsc file to a generic one for obs that omits version and checksum info on filenames
+# Use in debian/rules:
+# APPNAME=name-of-binary-package
+# override_dh_auto_build:
+# dh_auto_build
+# sh debian/make-dsc-for-obs.sh
+tf="../$( find .. -maxdepth 1 -name "${APPNAME}_*dsc" -printf '%T@ %f\n' | sort | tail -n1 | awk '{print $NF}' )"
+of="debian/$( basename "$( readlink -f "${tf}" )" | sed -r -e 's/_[0-9_\.]+[0-9_](-[0-9])?//;' )"
+awk 'BEGIN{a=0} a > 0 {$2="1";gsub(/_[0-9_\.]+[0-9_](-[0-9])?/,"");} /^Files/{a=1} {print}' "${tf}" | sed -r -e '/Checksums-.{0,8}:\s*$/,/^Files/{/Files/!{d};}' -e '/^Files/,${s/^ ?[^\s]{32}/ 00000000000000000000000000000000/;};' > "${of}"
diff --git a/powerkit/debian/patches/series b/powerkit/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/powerkit/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/powerkit/debian/powerkit+devuan.dsc b/powerkit/debian/powerkit+devuan.dsc
new file mode 100644
index 0000000..1c458b1
--- /dev/null
+++ b/powerkit/debian/powerkit+devuan.dsc
@@ -0,0 +1,16 @@
+Format: 3.0 (quilt)
+Source: powerkit
+Binary: powerkit, libpowerkit1, libpowerkit-dev
+Architecture: any
+Version: 1.0.0-2+devuan
+Maintainer: Ben Stack <bgstack15@gmail.com>
+Homepage: https://github.com/rodlie/powerkit
+Standards-Version: 4.1.4
+Build-Depends: debhelper (>= 12~), libqt5core5a | libqt5core5, libqt5dbus5, libqt5gui5 | libqt5gui5-gles, libx11-dev, libxrandr-dev, libxss-dev, qt5-qmake, qtbase5-dev
+Package-List:
+ libpowerkit-dev deb libdevel optional arch=any
+ libpowerkit1 deb libs optional arch=any
+ powerkit deb admin optional arch=any
+Files:
+ 00000000000000000000000000000000 1 powerkit.orig.tar.xz
+ 00000000000000000000000000000000 1 powerkit+devuan.debian.tar.xz
diff --git a/powerkit/debian/powerkit.docs b/powerkit/debian/powerkit.docs
new file mode 100644
index 0000000..d9d4f6f
--- /dev/null
+++ b/powerkit/debian/powerkit.docs
@@ -0,0 +1 @@
+usr/share/doc/*
diff --git a/powerkit/debian/powerkit.install b/powerkit/debian/powerkit.install
new file mode 100644
index 0000000..7b6595e
--- /dev/null
+++ b/powerkit/debian/powerkit.install
@@ -0,0 +1,4 @@
+usr/bin
+etc/xdg/autostart
+lib/udev/rules.d
+usr/share/applications
diff --git a/powerkit/debian/powerkit.lintian-overrides b/powerkit/debian/powerkit.lintian-overrides
new file mode 100644
index 0000000..4276455
--- /dev/null
+++ b/powerkit/debian/powerkit.lintian-overrides
@@ -0,0 +1 @@
+copyright-has-url-from-dh_make-boilerplate
diff --git a/powerkit/debian/powerkit.manpages b/powerkit/debian/powerkit.manpages
new file mode 100644
index 0000000..d5a1e98
--- /dev/null
+++ b/powerkit/debian/powerkit.manpages
@@ -0,0 +1 @@
+usr/share/man/*/*
diff --git a/powerkit/debian/rules b/powerkit/debian/rules
new file mode 100755
index 0000000..0046dad
--- /dev/null
+++ b/powerkit/debian/rules
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# Reference:
+# qmake options examples https://github.com/bertogg/gallery-liquify-plugin/blob/73e0034f545f9092b42d7045e7ba9abd61fb0374/debian/rules
+# for multi-package split https://salsa.debian.org/xorg-team/lib/libxss/-/tree/debian-unstable/debian
+# this app build options https://gitlab.com/rodlie/powerkit
+# use ${LIBSUFFIX} this app lib/lib.pro
+
+export APPNAME=powerkit
+
+QMAKE_OPTIONS += QMAKE_CXXFLAGS_RELEASE='$(CFLAGS)' \
+ QMAKE_CXXFLAGS_DEBUG='$(CFLAGS)' \
+ QMAKE_CFLAGS_RELEASE='$(CFLAGS)' \
+ QMAKE_CFLAGS_DEBUG='$(CFLAGS)' \
+ QMAKE_STRIP=: \
+ PREFIX=/usr \
+ UDEVDIR=/lib/udev \
+ CONFIG+=install_udev_rules \
+ CONFIG+=install_lib \
+ LIBSUFFIX=/${DEB_HOST_MULTIARCH}
+# if you want to build with bundled icons:
+ #CONFIG+=bundle_icons
+
+%:
+ dh $@ --buildsystem=qmake
+
+override_dh_auto_configure:
+ qmake $(QMAKE_OPTIONS)
+
+override_dh_auto_build:
+ dh_auto_build
+ sh debian/make-dsc-for-obs.sh
diff --git a/powerkit/debian/source/format b/powerkit/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/powerkit/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/powerkit/debian/source/lintian-overrides b/powerkit/debian/source/lintian-overrides
new file mode 100644
index 0000000..24463f4
--- /dev/null
+++ b/powerkit/debian/source/lintian-overrides
@@ -0,0 +1 @@
+syntax-error-in-dep5-copyright
diff --git a/powerkit/debian/source/local-options b/powerkit/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/powerkit/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/powerkit/debian/watch b/powerkit/debian/watch
new file mode 100644
index 0000000..a57ab9e
--- /dev/null
+++ b/powerkit/debian/watch
@@ -0,0 +1,4 @@
+# You must remove unused comment lines for the released package.
+version=4
+opts="filenamemangle=s/.+\/powerkit-?(\d\S+)/powerkit_$1/, uversionmangle=s/rc[\.0-9]*/~rc/g" \
+ https://github.com/rodlie/powerkit/releases .*/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@
bgstack15