|
@@ -25,22 +25,22 @@ also re-use the source as template for your new toolkit.
|
25
|
25
|
%setup -q
|
26
|
26
|
|
27
|
27
|
%build
|
28
|
|
-make %{?_smp_mflags}
|
|
28
|
+make %{?_smp_mflags} PREFIX=/usr
|
29
|
29
|
|
30
|
30
|
%install
|
31
|
|
-%make_install
|
|
31
|
+%make_install PREFIX=/usr
|
32
|
32
|
|
33
|
33
|
%files
|
34
|
|
-%config %{_sysconfdir}/bash_completion.d/saturnin-demo.bash
|
35
|
|
-%dir /usr/local/libexec/saturnin-demo
|
36
|
|
-%dir /usr/local/share/saturnin-demo
|
37
|
|
-%dir /usr/local/share/saturnin-demo/ini.d
|
38
|
|
-%dir /usr/local/share/saturnin-demo/ini.d/main
|
39
|
|
-%doc /usr/local/share/doc/saturnin-demo/README.md
|
40
|
|
-/usr/local/bin/saturnin-demo
|
41
|
|
-/usr/local/libexec/saturnin-demo/saturnin-demo-dump
|
42
|
|
-/usr/local/libexec/saturnin-demo/saturnin-demo-echo
|
43
|
|
-/usr/local/share/saturnin-demo/ini.d/main/echo.ini
|
|
34
|
+%config %{_sysconfdir}/bash_completion.d/%{name}.bash
|
|
35
|
+%dir %{_libexecdir}/%{name}
|
|
36
|
+%dir %{_datadir}/%{name}
|
|
37
|
+%dir %{_datadir}/%{name}/ini.d
|
|
38
|
+%dir %{_datadir}/%{name}/ini.d/main
|
|
39
|
+%doc %{_docdir}/%{name}/README.md
|
|
40
|
+%{_bindir}/%{name}
|
|
41
|
+%{_libexecdir}/%{name}/%{name}-dump
|
|
42
|
+%{_libexecdir}/%{name}/%{name}-echo
|
|
43
|
+%{_datadir}/%{name}/ini.d/main/echo.ini
|
44
|
44
|
|
45
|
45
|
|
46
|
46
|
%changelog
|