1 |
# $Id: smeserver-mod_dav.spec,v 1.23 2009/03/02 18:37:23 snetram Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
%define name smeserver-mod_dav |
6 |
%define version 1.0 |
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}.tgz |
16 |
|
17 |
BuildArchitectures: noarch |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
19 |
Requires: smeserver-release >= 8 |
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 |
* Mon May 28 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-1.sme |
28 |
- Initial version |
29 |
|
30 |
%prep |
31 |
%setup |
32 |
|
33 |
%build |
34 |
|
35 |
%install |
36 |
rm -rf %buildroot |
37 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
38 |
rm -f %{name}-%{version}-filelist |
39 |
/sbin/e-smith/genfilelist %buildroot \ |
40 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
41 |
> %{name}-%{version}-filelist |
42 |
|
43 |
%clean |
44 |
rm -rf %buildroot |
45 |
|
46 |
%files -f %{name}-%{version}-filelist |
47 |
%defattr(-,root,root) |