1 |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.2 2008/06/07 20:17:25 gnujpl Exp $ |
2 |
# Authority: gnujpl |
3 |
# Name: Jean-Paul Leclère |
4 |
|
5 |
%define name smeserver-phpwebftp |
6 |
%define version 4.0 |
7 |
%define release 3 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
Requires: e-smith-apache |
19 |
BuildRequires: e-smith-devtools |
20 |
Obsoletes: eos-webftp |
21 |
AutoReqProv: no |
22 |
|
23 |
%description |
24 |
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
25 |
|
26 |
%changelog |
27 |
* Sat Jun 7 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
28 |
- [4.0-3] |
29 |
- correct /home/httpd/html/webftp/tmp owner in spec file |
30 |
|
31 |
* Sat May 4 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
32 |
- [4.0-2] |
33 |
- Bump Copyright to License in spec |
34 |
|
35 |
* Thu May 1 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
36 |
- [4.0-1] |
37 |
- Bump to smeserver-phpwebftp for SME 7.3 |
38 |
- upgrade phpwebftp to 4.0 |
39 |
|
40 |
* Sat May 21 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
41 |
- [2.7-4] |
42 |
- Correctif sur position Virtualhost pour utilisation directive Global |
43 |
|
44 |
* Sun Apr 17 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
45 |
- [2.7-3] |
46 |
- Correctif sur directive SSLRequireSSL |
47 |
|
48 |
* Sun Jan 23 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
49 |
- [2.7-2] |
50 |
- Correct tmp directory rights |
51 |
- add ForceFTPVirtualLocalhost for FTP even if TLS |
52 |
|
53 |
* Sun Jan 9 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
54 |
- [2.7-1] |
55 |
- Initial release |
56 |
|
57 |
|
58 |
%prep |
59 |
%setup |
60 |
|
61 |
#%patch0 -p1 |
62 |
|
63 |
|
64 |
%pre |
65 |
|
66 |
%post |
67 |
|
68 |
%build |
69 |
./createlinks |
70 |
|
71 |
%install |
72 |
rm -rf $RPM_BUILD_ROOT |
73 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
74 |
rm -f e-smith-%{version}-filelist |
75 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
76 |
--dir '/home/httpd/html/webftp/tmp' 'attr(0640,www,www)' \ |
77 |
> %{name}-%{version}-filelist |
78 |
|
79 |
%preun |
80 |
|
81 |
%postun |
82 |
|
83 |
%clean |
84 |
rm -rf $RPM_BUILD_ROOT |
85 |
|
86 |
%files -f %{name}-%{version}-filelist |
87 |
|
88 |
%defattr(-,root,www) |