/[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.5 by snetram, Sun Mar 23 13:41:14 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 7
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    Patch2: smeserver-mod_dav-0.1-ImplementDAVForIbays.patch
14  BuildArchitectures: noarch  BuildArchitectures: noarch
15  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16  Requires: smeserver-release >= 7 httpd >= 2  Requires: smeserver-release >= 7 httpd >= 2
# Line 18  BuildRequires: e-smith-devtools >= 1.13. Line 20  BuildRequires: e-smith-devtools >= 1.13.
20  Implementation of mod_dav for SME Server 7.  Implementation of mod_dav for SME Server 7.
21    
22  %changelog  %changelog
23    * Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
24    - 0.1-7
25    - Added WebDAV access to ibays [SME: 3470]
26    
27    * Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6
28    - Remove scripts and move db initialition to package
29    
30  * Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl>  * Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
31  - 0.1-5  - 0.1-5
32  - Removed initialize-default-database from %post macro  - Removed initialize-default-database from %post macro
# Line 41  Implementation of mod_dav for SME Server Line 50  Implementation of mod_dav for SME Server
50  %prep  %prep
51    
52  %setup  %setup
53    %patch1 -p1
54    %patch2 -p1
55    
56  %build  %build
57    
 DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAV  
 mkdir -p $DEFAULTS  
   
 echo "service"  > $DEFAULTS/type  
 echo "enabled"  > $DEFAULTS/status  
   
58  %install  %install
59  rm -rf %buildroot  rm -rf %buildroot
60  (cd root ; find . -depth -print | cpio -dump %buildroot)  (cd root ; find . -depth -print | cpio -dump %buildroot)
# Line 59  rm -f %{name}-%{version}-filelist Line 64  rm -f %{name}-%{version}-filelist
64  %clean  %clean
65  rm -rf %buildroot  rm -rf %buildroot
66    
 %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  
   
67  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
68  %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