From e58b643eb737c2a882d9d787e127a815a5aba694 Mon Sep 17 00:00:00 2001 From: Sergey Kalinin Date: Tue, 23 Jul 2019 13:09:26 +0300 Subject: [PATCH] Some change for debian --- debian/compat | 1 + debian/copyright | 17 +++++++++++++++++ debian/postinst | 2 ++ debian/postrm | 2 ++ debian/rules | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 debian/compat create mode 100644 debian/copyright create mode 100755 debian/postinst create mode 100755 debian/postrm create mode 100755 debian/rules diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..068f259 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by the alien program by converting +a binary .rpm package on Mon, 17 Sep 2018 12:01:34 +0300 + +Copyright: GPL + +Information from the binary package: +Name : rac_gui Relocations: (not relocatable) +Version : 1.0.1 Vendor: ALT Linux Team +Release : 1 Build Date: Пн 17 сен 2018 11:49:36 +Install date: (not installed) Build Host: alt-ws.localdomain +Group : System Source RPM: rac_gui-1.0.1-1.src.rpm +Size : 233084 License: GPL +URL : https://bitbucket.org/svk28/rac-gui +Summary : 1C rac gui tool +Description : +Графический интерфейс к утилите управления кластером серверов 1С rac + diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..5f2c373 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,2 @@ +#!/bin/bash +update_menus_bin='/usr/bin/update-menus' && [ -x "$update_menus_bin" ] && "$update_menus_bin" ||: \ No newline at end of file diff --git a/debian/postrm b/debian/postrm new file mode 100755 index 0000000..1125a92 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,2 @@ +#!/bin/bash +update_menus_bin='/usr/bin/update-menus' && [ "$1" = 0 -a -x "$update_menus_bin" ] && "$update_menus_bin" ||: \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..58b270a --- /dev/null +++ b/debian/rules @@ -0,0 +1,47 @@ +#!/usr/bin/make -f +# debian/rules for alien + +PACKAGE=$(shell dh_listpackages) + +build: + dh_testdir + +clean: + dh_testdir + dh_testroot + dh_clean -d + +binary-indep: build + +binary-arch: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + dh_installdocs + dh_installchangelogs + +# Copy the packages's files. + find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \ + xargs -0 -r -i cp -a {} debian/$(PACKAGE) + +# +# If you need to move files around in debian/$(PACKAGE) or do some +# binary patching, do it here +# + + +# This has been known to break on some wacky binaries. +# dh_strip + dh_compress +# dh_fixperms + dh_makeshlibs + dh_installdeb + -dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary