1 |
|
2 |
%define name smeserver-mod_maxminddb |
3 |
%define version 1.1.0 |
4 |
%define release 9 |
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 |
Patch3: smeserver-mod_maxminddb-1.1.0-bz11521-sme10.patch |
17 |
|
18 |
BuildArchitectures: noarch |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
20 |
Requires: smeserver-release >= 9 |
21 |
Requires: httpd >= 2 |
22 |
Requires: mod_maxminddb |
23 |
Requires: libmaxminddb-devel |
24 |
Requires: geolite2-city |
25 |
Requires: geolite2-country |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
|
28 |
%description |
29 |
Implementation of mod_dav for SME Server 7. |
30 |
|
31 |
%changelog |
32 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-9.sme |
33 |
- initial import to SME 10 [SME: 11521] |
34 |
- update event created |
35 |
|
36 |
* Thu Apr 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
37 |
- fix missing db on installation [SME: 10770] |
38 |
|
39 |
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
40 |
- configure necessary variables [SME: 10759] |
41 |
|
42 |
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
43 |
- fix typo [SME: 10759] |
44 |
- add requires mod_maxminddb |
45 |
- rename template |
46 |
|
47 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
48 |
- Initial version [SME: 10759] |
49 |
|
50 |
%prep |
51 |
%setup |
52 |
%patch0 -p1 |
53 |
%patch1 -p1 |
54 |
%patch2 -p1 |
55 |
%patch3 -p1 |
56 |
|
57 |
%build |
58 |
|
59 |
%install |
60 |
rm -rf %buildroot |
61 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
62 |
rm -f %{name}-%{version}-filelist |
63 |
/sbin/e-smith/genfilelist %buildroot \ |
64 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
65 |
> %{name}-%{version}-filelist |
66 |
|
67 |
%clean |
68 |
rm -rf %buildroot |
69 |
|
70 |
%files -f %{name}-%{version}-filelist |
71 |
%defattr(-,root,root) |