1 |
jpp |
1.1 |
|
2 |
|
|
%define name smeserver-mod_maxminddb |
3 |
|
|
%define version 1.1.0 |
4 |
jpp |
1.8 |
%define release 14 |
5 |
jpp |
1.1 |
|
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 |
jpp |
1.2 |
Patch3: smeserver-mod_maxminddb-1.1.0-bz11521-sme10.patch |
17 |
jpp |
1.5 |
Patch4: smeserver-mod_maxminddb-1.1.0-allowexternalSSLAccessByCountry.patch |
18 |
jpp |
1.6 |
Patch5: smeserver-mod_maxminddb-1.1.0-bz12052-httpd24.patch |
19 |
jpp |
1.2 |
|
20 |
jpp |
1.1 |
BuildArchitectures: noarch |
21 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
22 |
jpp |
1.8 |
Requires: smeserver-release >= 10 |
23 |
|
|
Requires: e-smith-apache >= 2.6.0-19 |
24 |
jpp |
1.1 |
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 |
jpp |
1.8 |
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-14.sme |
36 |
jpp |
1.6 |
- make compatible with httpd24 access [SME: 12052] |
37 |
|
|
|
38 |
jpp |
1.5 |
* 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 |
jpp |
1.4 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
44 |
jpp |
1.2 |
- initial import to SME 10 [SME: 11521] |
45 |
jpp |
1.3 |
- update event created |
46 |
jpp |
1.2 |
|
47 |
jpp |
1.1 |
* 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 |
jpp |
1.2 |
%patch3 -p1 |
67 |
jpp |
1.5 |
%patch4 -p1 |
68 |
jpp |
1.6 |
%patch5 -p1 |
69 |
jpp |
1.1 |
|
70 |
|
|
%build |
71 |
jpp |
1.4 |
perl createlinks |
72 |
jpp |
1.1 |
|
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) |