/[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.1 by snetram, Wed Feb 6 21:02:56 2008 UTC Revision 1.6 by snetram, Sun Mar 23 14:36:02 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 3  %define release 8
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-8
25    - Fixed template issue created in 0.1-7 by [SME: 3470]
26    
27    * Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
28    - 0.1-7
29    - Added WebDAV access to ibays [SME: 3470]
30    
31    * Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6
32    - Remove scripts and move db initialition to package
33    
34    * Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
35    - 0.1-5
36    - Removed initialize-default-database from %post macro
37    - Fixed previous changelog entry to have correct version number
38    
39  * Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>  * Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
40  - 0.1-3  - 0.1-4
41  - Fixed httpd-e-smith restart command to use sv -t  - Fixed httpd-e-smith restart command to use sv -t
42    
43  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
# Line 36  Implementation of mod_dav for SME Server Line 54  Implementation of mod_dav for SME Server
54  %prep  %prep
55    
56  %setup  %setup
57    %patch1 -p1
58    %patch2 -p1
59    
60  %build  %build
61    
 DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAV  
 mkdir -p $DEFAULTS  
   
 echo "service"  > $DEFAULTS/type  
 echo "enabled"  > $DEFAULTS/status  
   
62  %install  %install
63  rm -rf %buildroot  rm -rf %buildroot
64  (cd root ; find . -depth -print | cpio -dump %buildroot)  (cd root ; find . -depth -print | cpio -dump %buildroot)
# Line 54  rm -f %{name}-%{version}-filelist Line 68  rm -f %{name}-%{version}-filelist
68  %clean  %clean
69  rm -rf %buildroot  rm -rf %buildroot
70    
 %post  
 /etc/e-smith/events/actions/initialize-default-databases  
 /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  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/e-smith/events/actions/navigation-conf  
 /usr/bin/sv t httpd-e-smith  
   
71  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
72  %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