25 |
- moved spec dirty work on action to real actions |
- moved spec dirty work on action to real actions |
26 |
- added skel folders |
- added skel folders |
27 |
- added two events and link to actions in the proper events |
- added two events and link to actions in the proper events |
28 |
|
- precleaning spec |
29 |
|
|
30 |
* Sun Oct 27 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-6.sme |
* Sun Oct 27 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-6.sme |
31 |
- initial import for sme8 |
- initial import for sme8 |
32 |
|
|
64 |
%patch2 -p1 |
%patch2 -p1 |
65 |
%patch3 -p1 |
%patch3 -p1 |
66 |
%patch4 -p1 |
%patch4 -p1 |
67 |
|
perl createlinks |
68 |
|
|
69 |
%build |
%build |
70 |
|
|
80 |
%pre |
%pre |
81 |
%preun |
%preun |
82 |
%post |
%post |
83 |
if [ $1 = 1 ] ; then |
#if [ $1 = 1 ] ; then |
84 |
# enable_user_webspace() { |
# enable_user_webspace() { |
85 |
|
|
86 |
# echo 'You now have the option to enable user web directories.' |
# echo 'You now have the option to enable user web directories.' |
140 |
# } |
# } |
141 |
|
|
142 |
# enable_user_webspace |
# enable_user_webspace |
143 |
fi |
#fi |
144 |
|
|
145 |
%postun |
%postun |
146 |
if [ $1 = 0 ] ; then |
#if [ $1 = 0 ] ; then |
147 |
# /sbin/e-smith/config delete UserPublicWeb |
# /sbin/e-smith/config delete UserPublicWeb |
148 |
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
149 |
# service httpd-e-smith restart |
# service httpd-e-smith restart |
165 |
# fi |
# fi |
166 |
# done |
# done |
167 |
# |
# |
168 |
fi |
#fi |
169 |
|
|
170 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
171 |
%defattr(-,root,root) |
%defattr(-,root,root) |