1 |
|
2 |
%define name smeserver-mod_maxminddb |
3 |
%define version 1.1.0 |
4 |
%define release 5 |
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 |
Patch1: smeserver-mod_maxminddb-1.1.0-bz10759-rename.patch |
15 |
Patch2: smeserver-mod_maxminddb-1.1.0-bz10759-newVariables.patch |
16 |
BuildArchitectures: noarch |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
18 |
Requires: smeserver-release >= 9 |
19 |
Requires: httpd >= 2 |
20 |
Requires: mod_maxminddb |
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 |
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-5.sme |
28 |
- configure necessary variables [SME: 10759] |
29 |
|
30 |
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
31 |
- fix typo [SME: 10759] |
32 |
- add requires mod_maxminddb |
33 |
- rename template |
34 |
|
35 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
36 |
- Initial version [SME: 10759] |
37 |
|
38 |
%prep |
39 |
%setup |
40 |
%patch0 -p1 |
41 |
%patch1 -p1 |
42 |
%patch2 -p1 |
43 |
|
44 |
%build |
45 |
|
46 |
%install |
47 |
rm -rf %buildroot |
48 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
49 |
rm -f %{name}-%{version}-filelist |
50 |
/sbin/e-smith/genfilelist %buildroot \ |
51 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
52 |
> %{name}-%{version}-filelist |
53 |
|
54 |
%clean |
55 |
rm -rf %buildroot |
56 |
|
57 |
%files -f %{name}-%{version}-filelist |
58 |
%defattr(-,root,root) |