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