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

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

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


Revision 1.1 - (show annotations) (download)
Wed Feb 6 21:02:56 2008 UTC (16 years, 3 months ago) by snetram
Branch: MAIN
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
- 0.1-3
- Fixed httpd-e-smith restart command to use sv -t

1 %define name smeserver-mod_dav
2 %define version 0.1
3 %define release 3
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 * Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
22 - 0.1-3
23 - Fixed httpd-e-smith restart command to use sv -t
24
25 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
26 - Clean up spec so package can be built by koji/plague
27
28 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
29 - Update to new release naming. No functional changes.
30 - Make Packager generic
31
32 * Mon May 29 2006 Jonathan Martens <jonathan-contribs@snetram.nl>
33 - 0.1-01
34 - Original version
35
36 %prep
37
38 %setup
39
40 %build
41
42 DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAV
43 mkdir -p $DEFAULTS
44
45 echo "service" > $DEFAULTS/type
46 echo "enabled" > $DEFAULTS/status
47
48 %install
49 rm -rf %buildroot
50 (cd root ; find . -depth -print | cpio -dump %buildroot)
51 rm -f %{name}-%{version}-filelist
52 /sbin/e-smith/genfilelist %buildroot > %{name}-%{version}-filelist
53
54 %clean
55 rm -rf %buildroot
56
57 %post
58 /etc/e-smith/events/actions/initialize-default-databases
59 /etc/e-smith/events/actions/navigation-conf
60 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
61 /usr/bin/sv t httpd-e-smith
62
63 %postun
64 /sbin/e-smith/db configuration delete modDAV
65 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
66 /etc/e-smith/events/actions/navigation-conf
67 /usr/bin/sv t httpd-e-smith
68
69 %files -f %{name}-%{version}-filelist
70 %defattr(-,root,root)

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