1 |
jpp |
1.1 |
|
2 |
|
|
%define name smeserver-mod_maxminddb |
3 |
|
|
%define version 1.1.0 |
4 |
|
|
%define release 7 |
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 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
18 |
|
|
Requires: smeserver-release >= 9 |
19 |
|
|
Requires: httpd >= 2 |
20 |
|
|
Requires: mod_maxminddb |
21 |
|
|
Requires: libmaxminddb-devel |
22 |
|
|
Requires: geolite2-city |
23 |
|
|
Requires: geolite2-country |
24 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
Implementation of mod_dav for SME Server 7. |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
|
|
* Thu Apr 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
31 |
|
|
- fix missing db on installation [SME: 10770] |
32 |
|
|
|
33 |
|
|
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
34 |
|
|
- configure necessary variables [SME: 10759] |
35 |
|
|
|
36 |
|
|
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
37 |
|
|
- fix typo [SME: 10759] |
38 |
|
|
- add requires mod_maxminddb |
39 |
|
|
- rename template |
40 |
|
|
|
41 |
|
|
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
42 |
|
|
- Initial version [SME: 10759] |
43 |
|
|
|
44 |
|
|
%prep |
45 |
|
|
%setup |
46 |
|
|
%patch0 -p1 |
47 |
|
|
%patch1 -p1 |
48 |
|
|
%patch2 -p1 |
49 |
|
|
|
50 |
|
|
%build |
51 |
|
|
|
52 |
|
|
%install |
53 |
|
|
rm -rf %buildroot |
54 |
|
|
(cd root ; find . -depth -print | cpio -dump %buildroot) |
55 |
|
|
rm -f %{name}-%{version}-filelist |
56 |
|
|
/sbin/e-smith/genfilelist %buildroot \ |
57 |
|
|
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
58 |
|
|
> %{name}-%{version}-filelist |
59 |
|
|
|
60 |
|
|
%clean |
61 |
|
|
rm -rf %buildroot |
62 |
|
|
|
63 |
|
|
%files -f %{name}-%{version}-filelist |
64 |
|
|
%defattr(-,root,root) |