1 |
|
2 |
%define name smeserver-mod_maxminddb |
3 |
%define version 1.1.0 |
4 |
%define release 8 |
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-8.sme |
33 |
- initial import to SME 10 [SME: 11521] |
34 |
|
35 |
* Thu Apr 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
36 |
- fix missing db on installation [SME: 10770] |
37 |
|
38 |
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
39 |
- configure necessary variables [SME: 10759] |
40 |
|
41 |
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
42 |
- fix typo [SME: 10759] |
43 |
- add requires mod_maxminddb |
44 |
- rename template |
45 |
|
46 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
47 |
- Initial version [SME: 10759] |
48 |
|
49 |
%prep |
50 |
%setup |
51 |
%patch0 -p1 |
52 |
%patch1 -p1 |
53 |
%patch2 -p1 |
54 |
%patch3 -p1 |
55 |
|
56 |
%build |
57 |
|
58 |
%install |
59 |
rm -rf %buildroot |
60 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
61 |
rm -f %{name}-%{version}-filelist |
62 |
/sbin/e-smith/genfilelist %buildroot \ |
63 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
64 |
> %{name}-%{version}-filelist |
65 |
|
66 |
%clean |
67 |
rm -rf %buildroot |
68 |
|
69 |
%files -f %{name}-%{version}-filelist |
70 |
%defattr(-,root,root) |