Fixed debian package support

This commit is contained in:
Sergey Kalinin 2019-07-23 16:25:28 +03:00
parent e58b643eb7
commit f2e975a42f
11 changed files with 30 additions and 12 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
7
8

6
debian/control vendored
View File

@ -2,15 +2,15 @@ Source: rac-gui
Section: Develop
Priority: optional
Maintainer: Sergey Kalinin svk@nuk-svk.ru
Build-Depends: debhelper (>= 11)
Standards-Version: 1.0.1
Build-Depends: debhelper
Standards-Version: 3.9.6
Homepage: https://nuk-svk.ru
#Vcs-Browser: https://salsa.debian.org/debian/rac-gui-1.0.1
Vcs-Git: https://bitbucket.org/svk28/rac-gui.git
Package: rac-gui
Architecture: any
Depends: tcl (>= 8.6), tk (>=8.6), bwidget
Depends: tcl(>=8.6), tk(>=8.6), bwidget, ${misc:Depends}
Description: This program is a GUI for 1C RAC util.
Rac-GUI is a graphical user interface for 1C rac (remote access controll) programm.
1C RAC is a software for 1C-servers cluster management.

7
debian/dirs vendored Normal file
View File

@ -0,0 +1,7 @@
usr/bin
usr/share
usr/share/doc
usr/share/doc/rac_gui
usr/share/rac_gui
usr/share/rac_gui/lib
usr/share/rac_gui/lib/msg

4
debian/docs vendored Normal file
View File

@ -0,0 +1,4 @@
README.md
doc/CHANGELOG
doc/TODO
doc/rac-manual.txt

2
debian/files vendored Normal file
View File

@ -0,0 +1,2 @@
rac-gui_1.0.1-1_amd64.buildinfo Develop optional
rac-gui_1.0.1-1_amd64.deb Develop optional

5
debian/install vendored Normal file
View File

@ -0,0 +1,5 @@
racgui /usr/share/racgui
lib/*.tcl /usr/share/rac_gui/lib
rac_gui.cfg /usr/share/rac_gui/
rac-gui.png /usr/share/rac_gui/
lib/msg/* /usr/share/rac_gui/lib/msg

2
debian/postinst vendored
View File

@ -1,2 +0,0 @@
#!/bin/bash
update_menus_bin='/usr/bin/update-menus' && [ -x "$update_menus_bin" ] && "$update_menus_bin" ||:

2
debian/postrm vendored
View File

@ -1,2 +0,0 @@
#!/bin/bash
update_menus_bin='/usr/bin/update-menus' && [ "$1" = 0 -a -x "$update_menus_bin" ] && "$update_menus_bin" ||:

10
debian/rules vendored
View File

@ -18,13 +18,12 @@ binary-arch: build
dh_testroot
dh_prep
dh_installdirs
dh_install
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)
# 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
@ -41,7 +40,10 @@ binary-arch: build
-dh_shlibdeps
dh_gencontrol
dh_md5sums
# dh_link
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
$(shell ln -s /usr/share/rac_gui/rac_gui.tcl /usr/bin/racgui)

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -12,6 +12,7 @@ package require msgcat
######################################################
# Устанавливаем текущий каталог
set dir(root) [pwd]
# Устанавливаем рабочий каталог, если его нет то создаём
set dir(work) [file join $env(HOME) .rac_gui]
if {[file exists $dir(work)] == 0 } {