1 |
# $Id: smeserver-mod_dav.spec,v 1.1 2013/11/13 14:15:50 vip-ire Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
%define name smeserver-mod_dav |
6 |
%define version 1.1 |
7 |
%define release 1 |
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 |
|
17 |
BuildArchitectures: noarch |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
19 |
Requires: smeserver-release >= 9 |
20 |
Requires: httpd >= 2 |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
|
23 |
%description |
24 |
Implementation of mod_dav for SME Server 7. |
25 |
|
26 |
%changelog |
27 |
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
28 |
- Rebuild for SME9 |
29 |
|
30 |
* Mon May 28 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-1.sme |
31 |
- Initial version |
32 |
|
33 |
%prep |
34 |
%setup |
35 |
|
36 |
%build |
37 |
|
38 |
%install |
39 |
rm -rf %buildroot |
40 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
41 |
rm -f %{name}-%{version}-filelist |
42 |
/sbin/e-smith/genfilelist %buildroot \ |
43 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
44 |
> %{name}-%{version}-filelist |
45 |
|
46 |
%clean |
47 |
rm -rf %buildroot |
48 |
|
49 |
%files -f %{name}-%{version}-filelist |
50 |
%defattr(-,root,root) |