1 |
# $Id: smeserver-mod_dav.spec,v 1.2 2020/10/29 12:33:10 brianr Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
%define name smeserver-mod_dav |
6 |
%define version 1.1 |
7 |
%define release 4 |
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}.tar.xz |
16 |
Patch0: smeserver-mod_dav-1.1_add_AuthBasicProvider_external.patch |
17 |
PAtch1: smeserver-mod_dav-1.1-bz11070.patch |
18 |
|
19 |
BuildArchitectures: noarch |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
21 |
Requires: smeserver-release >= 9 |
22 |
Requires: httpd >= 2 |
23 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
|
25 |
%description |
26 |
Implementation of mod_dav for SME Server 7. |
27 |
|
28 |
%changelog |
29 |
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-4.sme |
30 |
- add createlinks and add -update event [SME: 11070] |
31 |
|
32 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-3.sme |
33 |
- Initial import into SME10 tree [SME: 11070] |
34 |
|
35 |
* Tue Jun 10 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.1-2.sme |
36 |
- added new way to authenticate to apache [sme:8340] |
37 |
|
38 |
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
39 |
- Rebuild for SME9 |
40 |
|
41 |
* Mon May 28 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-1.sme |
42 |
- Initial version |
43 |
|
44 |
%prep |
45 |
%setup |
46 |
%patch0 -p1 |
47 |
%patch1 -p1 |
48 |
|
49 |
%build |
50 |
perl createlinks |
51 |
|
52 |
%install |
53 |
rm -rf %buildroot |
54 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
55 |
rm -f %{name}-%{version}-filelist |
56 |
/sbin/e-smith/genfilelist %buildroot \ |
57 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
58 |
> %{name}-%{version}-filelist |
59 |
|
60 |
%clean |
61 |
rm -rf %buildroot |
62 |
|
63 |
%files -f %{name}-%{version}-filelist |
64 |
%defattr(-,root,root) |