소스 검색

shellsplit: Update RPM packaging

Alois Mahdal 9 년 전
부모
커밋
3ceb2cd45a
1개의 변경된 파일20개의 추가작업 그리고 16개의 파일을 삭제
  1. 20
    16
      packaging/shellfu.spec

+ 20
- 16
packaging/shellfu.spec 파일 보기

21
 amount of reliable body of shell scripts, and access to advanced modular
21
 amount of reliable body of shell scripts, and access to advanced modular
22
 languages such as Python or Perl is limited.
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
 %package bash
27
 %package bash
25
-Summary: The bare Shellfu loader (POSIX sh)
28
+Summary: Bash-specific base
29
+Requires: shellfu
26
 %description bash
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
 %package bash-core
34
 %package bash-core
31
 Summary: Core Bash modules for Shellfu
35
 Summary: Core Bash modules for Shellfu
54
 %make_install
58
 %make_install
55
 
59
 
56
 %files
60
 %files
57
-
58
-%files bash
59
 %config %{_sysconfdir}/bash_completion.d/shellfu.bash
61
 %config %{_sysconfdir}/bash_completion.d/shellfu.bash
62
+%dir /usr/local/share/shellfu
60
 %dir /usr/local/share/doc/shellfu
63
 %dir /usr/local/share/doc/shellfu
61
 %dir /usr/local/share/doc/shellfu/examples
64
 %dir /usr/local/share/doc/shellfu/examples
62
-%dir /usr/local/share/shellfu
63
-%dir /usr/local/share/shellfu/include
64
 %doc /usr/local/share/doc/shellfu/LICENSE
65
 %doc /usr/local/share/doc/shellfu/LICENSE
65
 %doc /usr/local/share/doc/shellfu/README.md
66
 %doc /usr/local/share/doc/shellfu/README.md
66
 %doc /usr/local/share/doc/shellfu/examples/shellfu.3.sh
67
 %doc /usr/local/share/doc/shellfu/examples/shellfu.3.sh
71
 /usr/local/bin/shellfu-doc
72
 /usr/local/bin/shellfu-doc
72
 /usr/local/share/shellfu/shellfu.sh
73
 /usr/local/share/shellfu/shellfu.sh
73
 
74
 
75
+%files bash
76
+%dir /usr/local/share/shellfu/include-bash
77
+
74
 %files bash-core
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
 %files bash-extras
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
 %changelog
92
 %changelog