2 |
%define name smeserver-user-webspace |
%define name smeserver-user-webspace |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.1 |
%define version 0.1 |
5 |
%define release 7 |
%define release 13 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{dist} |
Release: %{release}%{dist} |
8 |
License: GPL |
License: GPL |
13 |
Patch2: %{name}-%{version}.patch2 |
Patch2: %{name}-%{version}.patch2 |
14 |
Patch3: smeserver-user-webspace-0.1.patch3 |
Patch3: smeserver-user-webspace-0.1.patch3 |
15 |
Patch4: smeserver-user-webspace-0.1-actions.patch |
Patch4: smeserver-user-webspace-0.1-actions.patch |
16 |
|
Patch5: smeserver-user-webspace-0.1-patch5.patch |
17 |
|
Patch6: smeserver-user-webspace-0.1-patch6.patch |
18 |
|
Patch7: smeserver-user-webspace-0.1-patch7.patch |
19 |
|
Patch8: smeserver-user-webspace-0.1-migratesme7.patch |
20 |
Packager: Jean-Philippe Pialasse <tests@pialasse.com> |
Packager: Jean-Philippe Pialasse <tests@pialasse.com> |
21 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
* Sat Nov 23 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-7.sme |
* Wed Dec 11 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-13.sme |
29 |
|
- fix migration from sme7 config db type [SME: 8055] |
30 |
|
|
31 |
|
* Tue Nov 26 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-12.sme |
32 |
|
- spec fixing createlink |
33 |
|
|
34 |
|
* Mon Nov 25 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-11.sme |
35 |
|
- added httpd reconfiguration for user create, modify,delete,lock events |
36 |
|
|
37 |
|
* Sun Nov 24 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-10.sme |
38 |
|
- fix more typos in patchs |
39 |
|
- patch5 for httpd template |
40 |
|
|
41 |
|
* Sat Nov 23 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-8.sme |
42 |
- moved spec dirty work on action to real actions |
- moved spec dirty work on action to real actions |
43 |
- added skel folders |
- added skel folders |
44 |
- added two events and link to actions in the proper events |
- added two events and link to actions in the proper events |
45 |
- precleaning spec |
- precleaning spec |
46 |
|
- patchs typo fixes |
47 |
|
|
48 |
* 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 |
49 |
- initial import for sme8 |
- initial import for sme8 |
82 |
%patch2 -p1 |
%patch2 -p1 |
83 |
%patch3 -p1 |
%patch3 -p1 |
84 |
%patch4 -p1 |
%patch4 -p1 |
85 |
perl createlinks |
%patch5 -p1 |
86 |
|
%patch6 -p1 |
87 |
|
%patch7 -p1 |
88 |
|
%patch8 -p1 |
89 |
|
|
90 |
%build |
%build |
91 |
|
perl createlinks |
92 |
|
|
93 |
%install |
%install |
94 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
101 |
|
|
102 |
%pre |
%pre |
103 |
%preun |
%preun |
104 |
%post |
#%post |
105 |
#if [ $1 = 1 ] ; then |
#if [ $1 = 1 ] ; then |
106 |
# enable_user_webspace() { |
# enable_user_webspace() { |
107 |
|
|
164 |
# enable_user_webspace |
# enable_user_webspace |
165 |
#fi |
#fi |
166 |
|
|
167 |
%postun |
#%postun |
168 |
#if [ $1 = 0 ] ; then |
#if [ $1 = 0 ] ; then |
169 |
# /sbin/e-smith/config delete UserPublicWeb |
# /sbin/e-smith/config delete UserPublicWeb |
170 |
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |