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 9 |
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 |
Packager: Jean-Philippe Pialasse <tests@pialasse.com> |
Packager: Jean-Philippe Pialasse <tests@pialasse.com> |
18 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
* Sat Nov 23 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-7.sme |
* Sun Nov 24 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-9.sme |
26 |
|
- fix more typos in patchs |
27 |
|
- patch5 for httpd template |
28 |
|
|
29 |
|
* Sat Nov 23 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-8.sme |
30 |
- moved spec dirty work on action to real actions |
- moved spec dirty work on action to real actions |
31 |
- added skel folders |
- added skel folders |
32 |
- added two events and link to actions in the proper events |
- added two events and link to actions in the proper events |
33 |
- precleaning spec |
- precleaning spec |
34 |
|
- patchs typo fixes |
35 |
|
|
36 |
* 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 |
37 |
- initial import for sme8 |
- initial import for sme8 |
71 |
%patch3 -p1 |
%patch3 -p1 |
72 |
%patch4 -p1 |
%patch4 -p1 |
73 |
perl createlinks |
perl createlinks |
74 |
|
%patch5 -p1 |
75 |
|
|
76 |
|
|
77 |
%build |
%build |
78 |
|
|
87 |
|
|
88 |
%pre |
%pre |
89 |
%preun |
%preun |
90 |
%post |
#%post |
91 |
#if [ $1 = 1 ] ; then |
#if [ $1 = 1 ] ; then |
92 |
# enable_user_webspace() { |
# enable_user_webspace() { |
93 |
|
|
150 |
# enable_user_webspace |
# enable_user_webspace |
151 |
#fi |
#fi |
152 |
|
|
153 |
%postun |
#%postun |
154 |
#if [ $1 = 0 ] ; then |
#if [ $1 = 0 ] ; then |
155 |
# /sbin/e-smith/config delete UserPublicWeb |
# /sbin/e-smith/config delete UserPublicWeb |
156 |
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |