/[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.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 3  %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>
26    - 0.1-5
27    - Removed initialize-default-database from %post macro
28    - Fixed previous changelog entry to have correct version number
29    
30  * Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>  * Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
31  - 0.1-3  - 0.1-4
32  - Fixed httpd-e-smith restart command to use sv -t  - Fixed httpd-e-smith restart command to use sv -t
33    
34  * 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 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 54  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/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  
   
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