1 |
slords |
1.1 |
# $Id$ |
2 |
|
|
# Authority: gnujpl |
3 |
|
|
# Name: Jean-Paul Leclère |
4 |
|
|
|
5 |
|
|
%define name smeserver-phpwebftp |
6 |
|
|
%define version 4.0 |
7 |
|
|
%define release 2 |
8 |
|
|
|
9 |
|
|
Summary: Web FTP access via HTTPS for SME. |
10 |
|
|
Name: %{name} |
11 |
|
|
Version: %{version} |
12 |
|
|
Release: %{release}%{?dist} |
13 |
|
|
License: GPL |
14 |
|
|
Group: Applications/WebFTP |
15 |
|
|
Source: %{name}-%{version}.tar.gz |
16 |
|
|
#Patch0: %{name}-%{version}.patch.2005012300 |
17 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
Requires: e-smith-apache |
20 |
|
|
BuildRequires: e-smith-devtools |
21 |
|
|
Obsoletes: eos-webftp |
22 |
|
|
AutoReqProv: no |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
|
|
* Sat May 4 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
29 |
|
|
- [4.0-2] |
30 |
|
|
- Bump Copyright to License in spec |
31 |
|
|
|
32 |
|
|
* Thu May 1 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
33 |
|
|
- [4.0-1] |
34 |
|
|
- Bump to smeserver-phpwebftp for SME 7.3 |
35 |
|
|
- upgrade phpwebftp to 4.0 |
36 |
|
|
|
37 |
|
|
* Sat May 21 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
38 |
|
|
- [2.7-4] |
39 |
|
|
- Correctif sur position Virtualhost pour utilisation directive Global |
40 |
|
|
|
41 |
|
|
* Sun Apr 17 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
42 |
|
|
- [2.7-3] |
43 |
|
|
- Correctif sur directive SSLRequireSSL |
44 |
|
|
|
45 |
|
|
* Sun Jan 23 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
46 |
|
|
- [2.7-2] |
47 |
|
|
- Correctif sur droits répertoire tmp |
48 |
|
|
- ajout paramètre ForceFTPVirtualLocalhost pour FTP malgré TLS |
49 |
|
|
|
50 |
|
|
* Sun Jan 9 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
51 |
|
|
- [2.7-1] |
52 |
|
|
- Initial release |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
%prep |
56 |
|
|
%setup |
57 |
|
|
|
58 |
|
|
#%patch0 -p1 |
59 |
|
|
|
60 |
|
|
|
61 |
|
|
%pre |
62 |
|
|
|
63 |
|
|
%post |
64 |
|
|
|
65 |
|
|
%build |
66 |
|
|
./createlinks |
67 |
|
|
|
68 |
|
|
%install |
69 |
|
|
rm -rf $RPM_BUILD_ROOT |
70 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
71 |
|
|
rm -f e-smith-%{version}-filelist |
72 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
73 |
|
|
|
74 |
|
|
%preun |
75 |
|
|
|
76 |
|
|
%postun |
77 |
|
|
|
78 |
|
|
%clean |
79 |
|
|
rm -rf $RPM_BUILD_ROOT |
80 |
|
|
|
81 |
|
|
%files -f %{name}-%{version}-filelist |
82 |
|
|
%defattr(-,root,www) |
83 |
|
|
%attr(0770,root,www) %config(noreplace) /home/httpd/html/webftp/tmp |
84 |
|
|
|