1 |
|
2 |
%define name smeserver-mod_maxminddb |
3 |
%define version 1.1.0 |
4 |
%define release 1 |
5 |
|
6 |
Summary: SME Server mod_dav implementation |
7 |
Name: %{name} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Applications/Internet |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
BuildArchitectures: noarch |
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
15 |
Requires: smeserver-release >= 9 |
16 |
Requires: httpd >= 2 |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
|
19 |
%description |
20 |
Implementation of mod_dav for SME Server 7. |
21 |
|
22 |
%changelog |
23 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
24 |
- Initial version [SME: 10759] |
25 |
|
26 |
%prep |
27 |
%setup |
28 |
|
29 |
%build |
30 |
|
31 |
%install |
32 |
rm -rf %buildroot |
33 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
34 |
rm -f %{name}-%{version}-filelist |
35 |
/sbin/e-smith/genfilelist %buildroot \ |
36 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
37 |
> %{name}-%{version}-filelist |
38 |
|
39 |
%clean |
40 |
rm -rf %buildroot |
41 |
|
42 |
%files -f %{name}-%{version}-filelist |
43 |
%defattr(-,root,root) |