File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ Name: vesta-softaculous
2+ Version: 0.9.8
3+ Release: 18
4+ Summary: Vesta Control Panel
5+ Group: System Environment/Base
6+ License: Softaculous License
7+ URL: https://www.softaculous.com
8+ Vendor: vestacp.com
9+ Source0: %{name }-%{version }.tar.gz
10+ BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
11+ Requires: redhat-release >= 5
12+ Provides: vesta-softaculous
13+
14+ %define _vestadir /usr/local /vesta/softaculous
15+
16+ %description
17+ This package contains Softaculous apps for Vesta Control Panel web interface.
18+
19+ %prep
20+ %setup -q -n %{name }-%{version }
21+
22+ %build
23+
24+ %install
25+ install -d %{buildroot }%{_vestadir }
26+ %{__cp} -ad ./* %{buildroot }%{_vestadir }
27+
28+ %clean
29+ rm -rf %{buildroot }
30+
31+ %post
32+ if [ $1 -ge 1 ]; then
33+ if [ -e /usr/local/vesta/softaculous/vesta_install.inc ]; then
34+ cd /usr/local/vesta/php/bin/php vesta_install.inc
35+ rm vesta_install.inc
36+ fi
37+ fi
38+
39+
40+ %files
41+ %defattr(-,root,root)
42+ %attr(755,root,root) %{_vestadir }
43+ %config(noreplace) %{_vestadir }/conf
44+
45+ %changelog
46+ * Mon Jul 21 2017 Serghey Rodin <builder@vestacp.com> - 0.9.8-18
47+ - Initial build for Softaculous 4.9.2
You can’t perform that action at this time.
0 commit comments