1 |
jpp |
1.1 |
|
2 |
|
|
%define name smeserver-mod_maxminddb |
3 |
|
|
%define version 1.1.0 |
4 |
jpp |
1.3 |
%define release 2 |
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 |
jpp |
1.2 |
Source: %{name}-%{version}.tar.gz |
13 |
jpp |
1.3 |
Patch0: smeserver-mod_maxminddb-1.1.0-bz10759-typo.patch |
14 |
jpp |
1.1 |
BuildArchitectures: noarch |
15 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
16 |
|
|
Requires: smeserver-release >= 9 |
17 |
|
|
Requires: httpd >= 2 |
18 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
Implementation of mod_dav for SME Server 7. |
22 |
|
|
|
23 |
|
|
%changelog |
24 |
jpp |
1.3 |
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-2.sme |
25 |
|
|
- fix typo [SME: 10759] |
26 |
|
|
|
27 |
jpp |
1.1 |
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
28 |
|
|
- Initial version [SME: 10759] |
29 |
|
|
|
30 |
|
|
%prep |
31 |
|
|
%setup |
32 |
jpp |
1.3 |
%patch0 -p1 |
33 |
jpp |
1.1 |
|
34 |
|
|
%build |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
rm -rf %buildroot |
38 |
|
|
(cd root ; find . -depth -print | cpio -dump %buildroot) |
39 |
|
|
rm -f %{name}-%{version}-filelist |
40 |
|
|
/sbin/e-smith/genfilelist %buildroot \ |
41 |
|
|
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
42 |
|
|
> %{name}-%{version}-filelist |
43 |
|
|
|
44 |
|
|
%clean |
45 |
|
|
rm -rf %buildroot |
46 |
|
|
|
47 |
|
|
%files -f %{name}-%{version}-filelist |
48 |
|
|
%defattr(-,root,root) |