1 |
|
2 |
%define name smeserver-mod_maxminddb |
3 |
%define version 1.1.0 |
4 |
%define release 3 |
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.gz |
13 |
Patch0: smeserver-mod_maxminddb-1.1.0-bz10759-typo.patch |
14 |
BuildArchitectures: noarch |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
16 |
Requires: smeserver-release >= 9 |
17 |
Requires: httpd >= 2 |
18 |
Requires: mod_maxminddb |
19 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
|
21 |
%description |
22 |
Implementation of mod_dav for SME Server 7. |
23 |
|
24 |
%changelog |
25 |
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-3.sme |
26 |
- fix typo [SME: 10759] |
27 |
- add requires mod_maxminddb |
28 |
|
29 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
30 |
- Initial version [SME: 10759] |
31 |
|
32 |
%prep |
33 |
%setup |
34 |
%patch0 -p1 |
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) |