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