|
@@ -21,11 +21,15 @@ Shellfu is mostly intended for cases when there's need for non-trivial
|
21
|
21
|
amount of reliable body of shell scripts, and access to advanced modular
|
22
|
22
|
languages such as Python or Perl is limited.
|
23
|
23
|
|
|
24
|
+This sub-package contains only the Shellfu management system but not
|
|
25
|
+actual modules. Use this if you want to write all modules yourself.
|
|
26
|
+
|
24
|
27
|
%package bash
|
25
|
|
-Summary: The bare Shellfu loader (POSIX sh)
|
|
28
|
+Summary: Bash-specific base
|
|
29
|
+Requires: shellfu
|
26
|
30
|
%description bash
|
27
|
|
-This sub-package contains only the Shellfu/Bash management system but
|
28
|
|
-not actual modules. Use this if you want to write all modules yourself.
|
|
31
|
+This sub-package contains Bash-specific parts of library infrastructure.
|
|
32
|
+Shellfu modules written for Bash should depend on this.
|
29
|
33
|
|
30
|
34
|
%package bash-core
|
31
|
35
|
Summary: Core Bash modules for Shellfu
|
|
@@ -54,13 +58,10 @@ make %{?_smp_mflags}
|
54
|
58
|
%make_install
|
55
|
59
|
|
56
|
60
|
%files
|
57
|
|
-
|
58
|
|
-%files bash
|
59
|
61
|
%config %{_sysconfdir}/bash_completion.d/shellfu.bash
|
|
62
|
+%dir /usr/local/share/shellfu
|
60
|
63
|
%dir /usr/local/share/doc/shellfu
|
61
|
64
|
%dir /usr/local/share/doc/shellfu/examples
|
62
|
|
-%dir /usr/local/share/shellfu
|
63
|
|
-%dir /usr/local/share/shellfu/include
|
64
|
65
|
%doc /usr/local/share/doc/shellfu/LICENSE
|
65
|
66
|
%doc /usr/local/share/doc/shellfu/README.md
|
66
|
67
|
%doc /usr/local/share/doc/shellfu/examples/shellfu.3.sh
|
|
@@ -71,18 +72,21 @@ make %{?_smp_mflags}
|
71
|
72
|
/usr/local/bin/shellfu-doc
|
72
|
73
|
/usr/local/share/shellfu/shellfu.sh
|
73
|
74
|
|
|
75
|
+%files bash
|
|
76
|
+%dir /usr/local/share/shellfu/include-bash
|
|
77
|
+
|
74
|
78
|
%files bash-core
|
75
|
|
-/usr/local/share/shellfu/include/_pretty_color.sh
|
76
|
|
-/usr/local/share/shellfu/include/_pretty_html.sh
|
77
|
|
-/usr/local/share/shellfu/include/_pretty_plain.sh
|
78
|
|
-/usr/local/share/shellfu/include/exit.sh
|
79
|
|
-/usr/local/share/shellfu/include/pretty.sh
|
80
|
|
-/usr/local/share/shellfu/include/termcolors.sh
|
|
79
|
+/usr/local/share/shellfu/include-bash/_pretty_color.sh
|
|
80
|
+/usr/local/share/shellfu/include-bash/_pretty_html.sh
|
|
81
|
+/usr/local/share/shellfu/include-bash/_pretty_plain.sh
|
|
82
|
+/usr/local/share/shellfu/include-bash/exit.sh
|
|
83
|
+/usr/local/share/shellfu/include-bash/pretty.sh
|
|
84
|
+/usr/local/share/shellfu/include-bash/termcolors.sh
|
81
|
85
|
|
82
|
86
|
%files bash-extras
|
83
|
|
-/usr/local/share/shellfu/include/charmenu.sh
|
84
|
|
-/usr/local/share/shellfu/include/inigrep.sh
|
85
|
|
-/usr/local/share/shellfu/include/sync.sh
|
|
87
|
+/usr/local/share/shellfu/include-bash/charmenu.sh
|
|
88
|
+/usr/local/share/shellfu/include-bash/inigrep.sh
|
|
89
|
+/usr/local/share/shellfu/include-bash/sync.sh
|
86
|
90
|
|
87
|
91
|
|
88
|
92
|
%changelog
|