/[smecontribs]/rpms/smeserver-mod_dav/contribs7/smeserver-mod_dav.spec
ViewVC logotype

Diff of /rpms/smeserver-mod_dav/contribs7/smeserver-mod_dav.spec

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

Revision 1.3 by snetram, Fri Feb 22 11:25:10 2008 UTC Revision 1.4 by slords, Mon Feb 25 19:04:54 2008 UTC
# Line 1  Line 1 
1  %define name smeserver-mod_dav  %define name smeserver-mod_dav
2  %define version 0.1  %define version 0.1
3  %define release 5  %define release 6
4    
5  Summary: SME Server mod_dav implementation  Summary: SME Server mod_dav implementation
6  Name: %{name}  Name: %{name}
# Line 9  Release: %{release}%{?dist} Line 9  Release: %{release}%{?dist}
9  License: GPL  License: GPL
10  Group: Applications/Internet  Group: Applications/Internet
11  Source: %{name}-%{version}-2.tgz  Source: %{name}-%{version}-2.tgz
12    Patch1: smeserver-mod_dav-0.1-initdb.patch
13  BuildArchitectures: noarch  BuildArchitectures: noarch
14  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15  Requires: smeserver-release >= 7 httpd >= 2  Requires: smeserver-release >= 7 httpd >= 2
# Line 18  BuildRequires: e-smith-devtools >= 1.13. Line 19  BuildRequires: e-smith-devtools >= 1.13.
19  Implementation of mod_dav for SME Server 7.  Implementation of mod_dav for SME Server 7.
20    
21  %changelog  %changelog
22    * Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6
23    - Remove scripts and move db initialition to package
24    
25  * Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl>  * Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
26  - 0.1-5  - 0.1-5
27  - Removed initialize-default-database from %post macro  - Removed initialize-default-database from %post macro
# Line 41  Implementation of mod_dav for SME Server Line 45  Implementation of mod_dav for SME Server
45  %prep  %prep
46    
47  %setup  %setup
48    %patch1 -p1
49    
50  %build  %build
51    
 DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAV  
 mkdir -p $DEFAULTS  
   
 echo "service"  > $DEFAULTS/type  
 echo "enabled"  > $DEFAULTS/status  
   
52  %install  %install
53  rm -rf %buildroot  rm -rf %buildroot
54  (cd root ; find . -depth -print | cpio -dump %buildroot)  (cd root ; find . -depth -print | cpio -dump %buildroot)
# Line 59  rm -f %{name}-%{version}-filelist Line 58  rm -f %{name}-%{version}-filelist
58  %clean  %clean
59  rm -rf %buildroot  rm -rf %buildroot
60    
 %post  
 /etc/e-smith/events/actions/navigation-conf  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /usr/bin/sv t httpd-e-smith  
   
 %postun  
 /sbin/e-smith/db configuration delete modDAV  
 /etc/e-smith/events/actions/navigation-conf  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /usr/bin/sv t httpd-e-smith  
   
61  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
62  %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