1 |
jpp |
1.1 |
|
2 |
|
|
%define name smeserver-mod_maxminddb |
3 |
|
|
%define version 1.1.0 |
4 |
jpp |
1.4 |
%define release 10 |
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 |
|
|
|
18 |
jpp |
1.1 |
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 |
jpp |
1.4 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
33 |
jpp |
1.2 |
- initial import to SME 10 [SME: 11521] |
34 |
jpp |
1.3 |
- update event created |
35 |
jpp |
1.2 |
|
36 |
jpp |
1.1 |
* 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 |
jpp |
1.2 |
%patch3 -p1 |
56 |
jpp |
1.1 |
|
57 |
|
|
%build |
58 |
jpp |
1.4 |
perl createlinks |
59 |
jpp |
1.1 |
|
60 |
|
|
%install |
61 |
|
|
rm -rf %buildroot |
62 |
|
|
(cd root ; find . -depth -print | cpio -dump %buildroot) |
63 |
|
|
rm -f %{name}-%{version}-filelist |
64 |
|
|
/sbin/e-smith/genfilelist %buildroot \ |
65 |
|
|
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
66 |
|
|
> %{name}-%{version}-filelist |
67 |
|
|
|
68 |
|
|
%clean |
69 |
|
|
rm -rf %buildroot |
70 |
|
|
|
71 |
|
|
%files -f %{name}-%{version}-filelist |
72 |
|
|
%defattr(-,root,root) |