1 |
# $Id: smeserver-mod_dav.spec,v 1.12 2008/08/14 06:33:07 snetram Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
%define name smeserver-mod_dav |
6 |
%define version 0.1 |
7 |
%define release 12 |
8 |
|
9 |
Summary: SME Server mod_dav implementation |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Applications/Internet |
15 |
Source: %{name}-%{version}-2.tgz |
16 |
Patch1: smeserver-mod_dav-0.1-initdb.patch |
17 |
Patch2: smeserver-mod_dav-0.1-ImplementDAVForIbays.patch |
18 |
Patch3: smeserver-mod_dav-0.1-FileETagDirective.patch |
19 |
Patch4: smeserver-mod_dav-0.1-fixTypo.patch |
20 |
|
21 |
BuildArchitectures: noarch |
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
23 |
Requires: smeserver-release >= 7 httpd >= 2 |
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
26 |
%description |
27 |
Implementation of mod_dav for SME Server 7. |
28 |
|
29 |
%changelog |
30 |
* Sat Aug 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-12 |
31 |
- Create DAVLocks DB directory [SME: 4517] |
32 |
|
33 |
* Thu Aug 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-11 |
34 |
- Fix typo in 95Addmod_dav2ibays [SME: 4502] |
35 |
|
36 |
* Fri Aug 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-10 |
37 |
- Make FileETag key line out in configuration file properly [SME: 4482] |
38 |
- Fixing changelog date in previous changelog entry |
39 |
|
40 |
* Fri Aug 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-9 |
41 |
- Add database key for implementating FileETag directive, for more information on |
42 |
this key see http://httpd.apache.org/docs/2.0/mod/core.html#fileetag [SME: 4482] |
43 |
|
44 |
* Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
45 |
- 0.1-8 |
46 |
- Fixed template issue created in 0.1-7 by [SME: 3470] |
47 |
|
48 |
* Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
49 |
- 0.1-7 |
50 |
- Added WebDAV access to ibays [SME: 3470] |
51 |
|
52 |
* Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6 |
53 |
- Remove scripts and move db initialition to package |
54 |
|
55 |
* Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
56 |
- 0.1-5 |
57 |
- Removed initialize-default-database from %post macro |
58 |
- Fixed previous changelog entry to have correct version number |
59 |
|
60 |
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
61 |
- 0.1-4 |
62 |
- Fixed httpd-e-smith restart command to use sv -t |
63 |
|
64 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
65 |
- Clean up spec so package can be built by koji/plague |
66 |
|
67 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
68 |
- Update to new release naming. No functional changes. |
69 |
- Make Packager generic |
70 |
|
71 |
* Mon May 29 2006 Jonathan Martens <jonathan-contribs@snetram.nl> |
72 |
- 0.1-01 |
73 |
- Original version |
74 |
|
75 |
%prep |
76 |
|
77 |
%setup |
78 |
%patch1 -p1 |
79 |
%patch2 -p1 |
80 |
%patch3 -p1 |
81 |
%patch4 -p1 |
82 |
mkdir -p root/var/run/DAVLocks/ |
83 |
touch root/var/run/DAVLocks/davLock |
84 |
|
85 |
%build |
86 |
|
87 |
%install |
88 |
rm -rf %buildroot |
89 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
90 |
rm -f %{name}-%{version}-filelist |
91 |
/sbin/e-smith/genfilelist %buildroot > %{name}-%{version}-filelist |
92 |
|
93 |
%clean |
94 |
rm -rf %buildroot |
95 |
|
96 |
%files -f %{name}-%{version}-filelist |
97 |
%defattr(-,root,root) |
98 |
%attr(-,www,www) /var/run/DAVLocks/davLock |