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