/[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.6 by unnilennium, Sun Nov 24 09:03:23 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 10
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  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
# Line 21  AutoReqProv: no Line 22  AutoReqProv: no
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-10.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
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
38    
# Line 63  rm root/etc/e-smith/templates/etc/httpd/ Line 70  rm root/etc/e-smith/templates/etc/httpd/
70  %patch2 -p1  %patch2 -p1
71  %patch3 -p1  %patch3 -p1
72  %patch4 -p1  %patch4 -p1
73    perl createlinks
74    %patch5 -p1
75    
76    
77  %build  %build
# Line 78  rm -rf $RPM_BUILD_ROOT Line 87  rm -rf $RPM_BUILD_ROOT
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    
94  #        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 148  if [ $1 = 1 ] ; then
148  #    }  #    }
149    
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
157  #    service httpd-e-smith restart  #    service httpd-e-smith restart
# Line 164  if [ $1 = 0 ] ; then Line 173  if [ $1 = 0 ] ; then
173  #       fi  #       fi
174  #    done  #    done
175  #  #
176  fi  #fi
177    
178  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
179  %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