1 |
snetram |
1.15 |
# $Id: smeserver-mod_dav.spec,v 1.14 2008/08/23 20:27:35 snetram Exp $ |
2 |
slords |
1.7 |
# Authority: snetram |
3 |
|
|
# Name: Jonathan Martens |
4 |
|
|
|
5 |
snetram |
1.1 |
%define name smeserver-mod_dav |
6 |
|
|
%define version 0.1 |
7 |
snetram |
1.15 |
%define release 14 |
8 |
snetram |
1.1 |
|
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 |
slords |
1.4 |
Patch1: smeserver-mod_dav-0.1-initdb.patch |
17 |
snetram |
1.5 |
Patch2: smeserver-mod_dav-0.1-ImplementDAVForIbays.patch |
18 |
snetram |
1.8 |
Patch3: smeserver-mod_dav-0.1-FileETagDirective.patch |
19 |
snetram |
1.12 |
Patch4: smeserver-mod_dav-0.1-fixTypo.patch |
20 |
snetram |
1.11 |
|
21 |
snetram |
1.1 |
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 |
snetram |
1.15 |
* Sun Aug 24 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-14 |
31 |
|
|
- Create DAVLocks DB directory, fixing privileges [SME: 4517] |
32 |
|
|
|
33 |
snetram |
1.14 |
* Sat Aug 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-13 |
34 |
|
|
- Create DAVLocks DB directory, fixing case [SME: 4517] |
35 |
|
|
|
36 |
snetram |
1.13 |
* Sat Aug 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-12 |
37 |
|
|
- Create DAVLocks DB directory [SME: 4517] |
38 |
|
|
|
39 |
snetram |
1.11 |
* Thu Aug 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1-11 |
40 |
|
|
- Fix typo in 95Addmod_dav2ibays [SME: 4502] |
41 |
|
|
|
42 |
snetram |
1.10 |
* 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 |
snetram |
1.8 |
- 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 |
snetram |
1.5 |
* Sun Mar 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
51 |
snetram |
1.6 |
- 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 |
snetram |
1.5 |
- 0.1-7 |
56 |
|
|
- Added WebDAV access to ibays [SME: 3470] |
57 |
|
|
|
58 |
slords |
1.4 |
* Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6 |
59 |
|
|
- Remove scripts and move db initialition to package |
60 |
|
|
|
61 |
snetram |
1.3 |
* 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 |
snetram |
1.1 |
* Wed Feb 06 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
67 |
snetram |
1.3 |
- 0.1-4 |
68 |
snetram |
1.1 |
- 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 |
slords |
1.4 |
%patch1 -p1 |
85 |
snetram |
1.5 |
%patch2 -p1 |
86 |
snetram |
1.9 |
%patch3 -p1 |
87 |
snetram |
1.11 |
%patch4 -p1 |
88 |
snetram |
1.14 |
mkdir -p root/var/run/davLocks/ |
89 |
|
|
touch root/var/run/davLocks/DAVLock |
90 |
snetram |
1.1 |
|
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 |
snetram |
1.15 |
/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 |
snetram |
1.1 |
|
102 |
|
|
%clean |
103 |
|
|
rm -rf %buildroot |
104 |
|
|
|
105 |
|
|
%files -f %{name}-%{version}-filelist |
106 |
|
|
%defattr(-,root,root) |