Parcourir la source

Add data for Debian packaging

Mostly ugly (at least how lintian sees it) but first working version.
Alois Mahdal il y a 8 ans
Parent
révision
77daac1897

+ 3
- 0
mkit.ini Voir le fichier

@@ -70,3 +70,6 @@
70 70
 
71 71
 [rpmstuff]
72 72
     spec_skel                           = packaging/shellfu.spec
73
+
74
+[debstuff]
75
+    debian_skel                         = packaging/debian

+ 5
- 0
packaging/debian/changelog Voir le fichier

@@ -0,0 +1,5 @@
1
+shellfu (__MKIT_PROJ_VERSION__-1) UNRELEASED; urgency=medium
2
+
3
+  * Initial release. (Closes: #XXXXXX)
4
+
5
+ -- Alois Mahdal <netvor@vornet.cz>  Sat, 27 Feb 2016 01:38:03 +0100

+ 1
- 0
packaging/debian/compat Voir le fichier

@@ -0,0 +1 @@
1
+9

+ 57
- 0
packaging/debian/control Voir le fichier

@@ -0,0 +1,57 @@
1
+Source: shellfu
2
+Maintainer: Alois Mahdal <netvor@vornet.cz>
3
+Section: misc
4
+Priority: extra
5
+Standards-Version: 3.9.2
6
+Build-Depends: debhelper (>= 9)
7
+
8
+Package: shellfu-bash
9
+Architecture: all
10
+Depends: bash
11
+Description: The bare Shellfu loader (POSIX sh)
12
+ Shellfu is an attempt to add modularity to your shell scripts.
13
+ .
14
+ With Shellfu you can develop your shell modules separately from your
15
+ scripts, and test, use, explore or study them without need to be aware
16
+ of details such as where the actual files are placed.
17
+ .
18
+ Shellfu is mostly intended for cases when there's need for non-trivial
19
+ amount of reliable body of shell scripts, and access to advanced modular
20
+ languages such as Python or Perl is limited.
21
+ .
22
+ This sub-package contains only the Shellfu/Bash management system but
23
+ not actual modules.  Use this if you want to write all modules yourself.
24
+
25
+Package: shellfu-bash-core
26
+Architecture: all
27
+Depends: shellfu-bash
28
+Description: Core Bash modules for Shellfu
29
+ Shellfu is an attempt to add modularity to your shell scripts.
30
+ .
31
+ With Shellfu you can develop your shell modules separately from your
32
+ scripts, and test, use, explore or study them without need to be aware
33
+ of details such as where the actual files are placed.
34
+ .
35
+ Shellfu is mostly intended for cases when there's need for non-trivial
36
+ amount of reliable body of shell scripts, and access to advanced modular
37
+ languages such as Python or Perl is limited.
38
+ .
39
+ This sub-package contains core Shellfu modules.
40
+
41
+Package: shellfu-bash-extras
42
+Architecture: all
43
+Depends: shellfu-bash, shellfu-bash-core
44
+Description: Extra Bash modules for Shellfu
45
+ Shellfu is an attempt to add modularity to your shell scripts.
46
+ .
47
+ With Shellfu you can develop your shell modules separately from your
48
+ scripts, and test, use, explore or study them without need to be aware
49
+ of details such as where the actual files are placed.
50
+ .
51
+ Shellfu is mostly intended for cases when there's need for non-trivial
52
+ amount of reliable body of shell scripts, and access to advanced modular
53
+ languages such as Python or Perl is limited.
54
+ .
55
+ This sub-package contains extra Shellfu modules, most of them under
56
+ heavy development.
57
+

+ 1
- 0
packaging/debian/copyright Voir le fichier

@@ -0,0 +1 @@
1
+

+ 13
- 0
packaging/debian/rules Voir le fichier

@@ -0,0 +1,13 @@
1
+#!/usr/bin/make -f
2
+
3
+%:
4
+
5
+	dh $@
6
+
7
+override_dh_auto_install:
8
+
9
+	make install DESTDIR=debian/tmp
10
+
11
+override_dh_usrlocal:
12
+
13
+	@true

+ 6
- 0
packaging/debian/shellfu-bash-core.install Voir le fichier

@@ -0,0 +1,6 @@
1
+/usr/local/share/shellfu/include/_pretty_color.sh
2
+/usr/local/share/shellfu/include/_pretty_html.sh
3
+/usr/local/share/shellfu/include/_pretty_plain.sh
4
+/usr/local/share/shellfu/include/exit.sh
5
+/usr/local/share/shellfu/include/pretty.sh
6
+/usr/local/share/shellfu/include/termcolors.sh

+ 3
- 0
packaging/debian/shellfu-bash-extras.install Voir le fichier

@@ -0,0 +1,3 @@
1
+/usr/local/share/shellfu/include/charmenu.sh
2
+/usr/local/share/shellfu/include/inigrep.sh
3
+/usr/local/share/shellfu/include/sync.sh

+ 12
- 0
packaging/debian/shellfu-bash.install Voir le fichier

@@ -0,0 +1,12 @@
1
+/etc/bash_completion.d/shellfu.bash
2
+/usr/local/bin/shellfu-doc
3
+/usr/local/bin/shellfu-embed
4
+/usr/local/bin/shellfu-get
5
+/usr/local/share/doc/shellfu
6
+/usr/local/share/doc/shellfu/LICENSE
7
+/usr/local/share/doc/shellfu/README.md
8
+/usr/local/share/doc/shellfu/examples
9
+/usr/local/share/doc/shellfu/examples/shellfu.3.sh
10
+/usr/local/share/doc/shellfu/examples/template.sh
11
+/usr/local/share/doc/shellfu/examples/test_something.sh
12
+/usr/local/share/shellfu/shellfu.sh

+ 1
- 0
packaging/debian/source/format Voir le fichier

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