1 |
|
2 |
%define name smeserver-mod_maxminddb |
3 |
%define version 1.1.0 |
4 |
%define release 14 |
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 |
Patch4: smeserver-mod_maxminddb-1.1.0-allowexternalSSLAccessByCountry.patch |
18 |
Patch5: smeserver-mod_maxminddb-1.1.0-bz12052-httpd24.patch |
19 |
|
20 |
BuildArchitectures: noarch |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
22 |
Requires: smeserver-release >= 10 |
23 |
Requires: e-smith-apache >= 2.6.0-19 |
24 |
Requires: httpd >= 2 |
25 |
Requires: mod_maxminddb |
26 |
Requires: libmaxminddb-devel |
27 |
Requires: geolite2-city |
28 |
Requires: geolite2-country |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
|
31 |
%description |
32 |
Implementation of mod_dav for SME Server 7. |
33 |
|
34 |
%changelog |
35 |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-14.sme |
36 |
- make compatible with httpd24 access [SME: 12052] |
37 |
|
38 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
39 |
- add option to allow countries to external access to manager [SME: 10768] |
40 |
ValidFromGeoIP will add access to listed countries to managers and all |
41 |
ressources using the usual list from httpd-admin Validfrom (local ibays, contribs...) |
42 |
|
43 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
44 |
- initial import to SME 10 [SME: 11521] |
45 |
- update event created |
46 |
|
47 |
* Thu Apr 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
48 |
- fix missing db on installation [SME: 10770] |
49 |
|
50 |
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
51 |
- configure necessary variables [SME: 10759] |
52 |
|
53 |
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
54 |
- fix typo [SME: 10759] |
55 |
- add requires mod_maxminddb |
56 |
- rename template |
57 |
|
58 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
59 |
- Initial version [SME: 10759] |
60 |
|
61 |
%prep |
62 |
%setup |
63 |
%patch0 -p1 |
64 |
%patch1 -p1 |
65 |
%patch2 -p1 |
66 |
%patch3 -p1 |
67 |
%patch4 -p1 |
68 |
%patch5 -p1 |
69 |
|
70 |
%build |
71 |
perl createlinks |
72 |
|
73 |
%install |
74 |
rm -rf %buildroot |
75 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
76 |
rm -f %{name}-%{version}-filelist |
77 |
/sbin/e-smith/genfilelist %buildroot \ |
78 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
79 |
> %{name}-%{version}-filelist |
80 |
|
81 |
%clean |
82 |
rm -rf %buildroot |
83 |
|
84 |
%files -f %{name}-%{version}-filelist |
85 |
%defattr(-,root,root) |