1 |
# $Id: smeserver-mod_dav.spec,v 1.20 2008/11/25 16:20:26 slords Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
%define name smeserver-mod_dav |
6 |
%define version 0.1 |
7 |
%define release 17 |
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 |
Patch5: smeserver-mod_dav-0.1-fixAuthName.patch |
21 |
Patch6: smeserver-mod_dav-0.1-fixHttpdErrorWhenDisabled.patch |
22 |
|
23 |
BuildArchitectures: noarch |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
25 |
Requires: smeserver-release >= 7 httpd >= 2 |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
|
28 |
%description |
29 |
Implementation of mod_dav for SME Server 7. |
30 |
|
31 |
%changelog |
32 |
* Sat Feb 28 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-17 |
33 |
- Do not set DAVLock when module is disabled and not loaded [SME: 5039] |
34 |
|
35 |
* Wed Sep 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-16 |
36 |
- Fix AuthName error in httpd error log when not specified [SME: 4563] |
37 |
|
38 |
* Sun Aug 24 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-15 |
39 |
- Create DAVLocks DB directory, remove lock file creating routine as this |
40 |
is done by the mod_dav module [SME: 4517] |
41 |
|
42 |
* Sun Aug 24 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-14 |
43 |
- Create DAVLocks DB directory, fixing privileges [SME: 4517] |
44 |
|
45 |
* Sat Aug 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-13 |
46 |
- Create DAVLocks DB directory, fixing case [SME: 4517] |
47 |
|
48 |
* Sat Aug 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-12 |
49 |
- Create DAVLocks DB directory [SME: 4517] |
50 |
|
51 |
* Thu Aug 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-11 |
52 |
- Fix typo in 95Addmod_dav2ibays [SME: 4502] |
53 |
|
54 |
* Fri Aug 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-10 |
55 |
- Make FileETag key line out in configuration file properly [SME: 4482] |
56 |
- Fixing changelog date in previous changelog entry |
57 |
|
58 |
* Fri Aug 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-9 |
59 |
- Add database key for implementating FileETag directive, for more information on |
60 |
this key see http://httpd.apache.org/docs/2.0/mod/core.html#fileetag [SME: 4482] |
61 |
|
62 |
* Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
63 |
- 0.1-8 |
64 |
- Fixed template issue created in 0.1-7 by [SME: 3470] |
65 |
|
66 |
* Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
67 |
- 0.1-7 |
68 |
- Added WebDAV access to ibays [SME: 3470] |
69 |
|
70 |
* Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6 |
71 |
- Remove scripts and move db initialition to package |
72 |
|
73 |
* Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
74 |
- 0.1-5 |
75 |
- Removed initialize-default-database from %post macro |
76 |
- Fixed previous changelog entry to have correct version number |
77 |
|
78 |
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
79 |
- 0.1-4 |
80 |
- Fixed httpd-e-smith restart command to use sv -t |
81 |
|
82 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
83 |
- Clean up spec so package can be built by koji/plague |
84 |
|
85 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
86 |
- Update to new release naming. No functional changes. |
87 |
- Make Packager generic |
88 |
|
89 |
* Mon May 29 2006 Jonathan Martens <jonathan-contribs@snetram.nl> |
90 |
- 0.1-01 |
91 |
- Original version |
92 |
|
93 |
%prep |
94 |
|
95 |
%setup |
96 |
%patch1 -p1 |
97 |
%patch2 -p1 |
98 |
%patch3 -p1 |
99 |
%patch4 -p1 |
100 |
%patch5 -p1 |
101 |
%patch6 -p1 |
102 |
mkdir -p root/var/run/davLocks/ |
103 |
|
104 |
%build |
105 |
|
106 |
%install |
107 |
rm -rf %buildroot |
108 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
109 |
rm -f %{name}-%{version}-filelist |
110 |
/sbin/e-smith/genfilelist %buildroot \ |
111 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
112 |
> %{name}-%{version}-filelist |
113 |
|
114 |
%clean |
115 |
rm -rf %buildroot |
116 |
|
117 |
%files -f %{name}-%{version}-filelist |
118 |
%defattr(-,root,root) |