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

Annotation of /rpms/smeserver-mod_dav/contribs7/smeserver-mod_dav-0.1-2.spec

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


Revision 1.2 - (hide annotations) (download)
Wed Feb 6 21:11:46 2008 UTC (16 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 0.1-3
- Fixed httpd-e-smith restart command to use sv -t

1 slords 1.1 %define name smeserver-mod_dav
2     %define version 0.1
3     %define release 2
4    
5     Summary: SME Server mod_dav implementation
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}%{?dist}
9     License: GPL
10     Group: Applications/Internet
11     Source: %{name}-%{version}-2.tgz
12     BuildArchitectures: noarch
13     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14     Requires: smeserver-release >= 7 httpd >= 2
15     BuildRequires: e-smith-devtools >= 1.13.1-03
16    
17     %description
18     Implementation of mod_dav for SME Server 7.
19    
20     %changelog
21     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
22     - Clean up spec so package can be built by koji/plague
23    
24     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
25     - Update to new release naming. No functional changes.
26     - Make Packager generic
27    
28     * Mon May 29 2006 Jonathan Martens <jonathan-contribs@snetram.nl>
29     - 0.1-01
30     - Original version
31    
32     %prep
33    
34     %setup
35    
36     %build
37    
38     DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAV
39     mkdir -p $DEFAULTS
40    
41     echo "service" > $DEFAULTS/type
42     echo "enabled" > $DEFAULTS/status
43    
44     %install
45     rm -rf %buildroot
46     (cd root ; find . -depth -print | cpio -dump %buildroot)
47     rm -f %{name}-%{version}-filelist
48     /sbin/e-smith/genfilelist %buildroot > %{name}-%{version}-filelist
49    
50     %clean
51     rm -rf %buildroot
52    
53     %post
54     /etc/e-smith/events/actions/initialize-default-databases
55     /etc/e-smith/events/actions/navigation-conf
56     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
57     /etc/rc7.d/S86httpd-e-smith sigusr1
58    
59     %postun
60     /sbin/e-smith/db configuration delete modDAV
61     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
62     /etc/e-smith/events/actions/navigation-conf
63     /etc/rc7.d/S86httpd-e-smith sigusr1
64    
65     %files -f %{name}-%{version}-filelist
66     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed