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