|
@@ -0,0 +1,50 @@
|
|
1
|
+Name: satcmd
|
|
2
|
+Version: __VERSION__
|
|
3
|
+Release: 1%{?dist}
|
|
4
|
+Summary: satcmd - Saturnin demo toolbox
|
|
5
|
+
|
|
6
|
+License: LGPLv2
|
|
7
|
+Source0: %{name}-%{version}.tar.gz
|
|
8
|
+
|
|
9
|
+BuildArch: noarch
|
|
10
|
+BuildRequires: coreutils git
|
|
11
|
+Requires: shellfu-bash
|
|
12
|
+Requires: shellfu-bash-core
|
|
13
|
+Requires: shellfu-bash-extras
|
|
14
|
+
|
|
15
|
+%description
|
|
16
|
+saturnin is Shellfu library that helps you easily build toolkit from
|
|
17
|
+various scripts that you may have lying around. Instead of having a
|
|
18
|
+herd of untamed undocumented and hard-to-share scripts, with help of
|
|
19
|
+saturnin you can easily create and package a meta-command with a set
|
|
20
|
+of discoverable and maintainable sub-commands.
|
|
21
|
+
|
|
22
|
+This package contains a demo meta-command built with saturnin; you can
|
|
23
|
+also re-use the source as template for your new toolkit.
|
|
24
|
+
|
|
25
|
+%prep
|
|
26
|
+%setup -q
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+%build
|
|
30
|
+# %%configure
|
|
31
|
+make %{?_smp_mflags}
|
|
32
|
+
|
|
33
|
+%install
|
|
34
|
+%make_install
|
|
35
|
+
|
|
36
|
+%files
|
|
37
|
+%config %{_sysconfdir}/bash_completion.d/satcmd.bash
|
|
38
|
+%dir /usr/local/libexec/satcmd
|
|
39
|
+%dir /usr/local/share/satcmd
|
|
40
|
+%dir /usr/local/share/satcmd/ini.d
|
|
41
|
+%dir /usr/local/share/satcmd/ini.d/main
|
|
42
|
+%dir /usr/local/share/satcmd/shellfu
|
|
43
|
+/usr/local/bin/satcmd
|
|
44
|
+/usr/local/libexec/satcmd/satcmd-echo
|
|
45
|
+/usr/local/share/satcmd/ini.d/main/echo.ini
|
|
46
|
+/usr/local/share/satcmd/shellfu/saturnin.sh
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+%changelog
|
|
50
|
+
|