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