/[smecontribs]/rpms/smeserver-user-webspace/contribs8/smeserver-user-webspace.spec
ViewVC logotype

Diff of /rpms/smeserver-user-webspace/contribs8/smeserver-user-webspace.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by unnilennium, Sat Nov 23 22:49:34 2013 UTC Revision 1.7 by unnilennium, Mon Nov 25 17:36:19 2013 UTC
# Line 2  Summary: Enables user web spave on the e Line 2  Summary: Enables user web spave on the e
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 11
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{dist}  Release: %{release}%{dist}
8  License: GPL  License: GPL
# Line 13  Patch1: %{name}-%{version}.patch1 Line 13  Patch1: %{name}-%{version}.patch1
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  Packager: Jean-Philippe Pialasse <tests@pialasse.com>  Packager: Jean-Philippe Pialasse <tests@pialasse.com>
19  BuildRoot: /var/tmp/e-smith-buildroot  BuildRoot: /var/tmp/e-smith-buildroot
20  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 21  AutoReqProv: no Line 23  AutoReqProv: no
23  BuildRequires:  e-smith-devtools  BuildRequires:  e-smith-devtools
24    
25  %changelog  %changelog
26  * Sat Nov 23 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-7.sme  * Mon Nov 25 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-11.sme
27    - added httpd reconfiguration for user create, modify,delete,lock  events
28    
29    * Sun Nov 24 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-10.sme
30    - fix more typos in patchs
31    - patch5 for httpd template
32    
33    * Sat Nov 23 2013 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-8.sme
34  - moved spec dirty work on action to real actions  - moved spec dirty work on action to real actions
35  - added skel folders  - added skel folders
36  - added two events and link to actions in the proper events  - added two events and link to actions in the proper events
37    - precleaning spec
38    - patchs typo fixes
39    
40  * 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
41  - initial import for sme8  - initial import for sme8
42    
# Line 63  rm root/etc/e-smith/templates/etc/httpd/ Line 74  rm root/etc/e-smith/templates/etc/httpd/
74  %patch2 -p1  %patch2 -p1
75  %patch3 -p1  %patch3 -p1
76  %patch4 -p1  %patch4 -p1
77    perl createlinks
78    %patch5 -p1
79    %patch6 -p1
80    
81    
82  %build  %build
# Line 78  rm -rf $RPM_BUILD_ROOT Line 92  rm -rf $RPM_BUILD_ROOT
92    
93  %pre  %pre
94  %preun  %preun
95  %post  #%post
96  if [ $1 = 1 ] ; then  #if [ $1 = 1 ] ; then
97  #    enable_user_webspace() {  #    enable_user_webspace() {
98    
99  #        echo 'You now have the option to enable user web directories.'  #        echo 'You now have the option to enable user web directories.'
# Line 139  if [ $1 = 1 ] ; then Line 153  if [ $1 = 1 ] ; then
153  #    }  #    }
154    
155  #    enable_user_webspace  #    enable_user_webspace
156  fi  #fi
157    
158  %postun  #%postun
159  if [ $1 = 0 ] ; then  #if [ $1 = 0 ] ; then
160  #    /sbin/e-smith/config delete UserPublicWeb  #    /sbin/e-smith/config delete UserPublicWeb
161  #    /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  #    /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
162  #    service httpd-e-smith restart  #    service httpd-e-smith restart
# Line 164  if [ $1 = 0 ] ; then Line 178  if [ $1 = 0 ] ; then
178  #       fi  #       fi
179  #    done  #    done
180  #  #
181  fi  #fi
182    
183  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
184  %defattr(-,root,root)  %defattr(-,root,root)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed