1 |
# $Id$ |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.4 2008/06/08 18:41:02 gnujpl Exp $ |
2 |
# Authority: gnujpl |
# Authority: gnujpl |
3 |
# Name: Jean-Paul Leclère |
# Name: Jean-Paul Leclère |
4 |
|
|
5 |
%define name smeserver-phpwebftp |
%define name smeserver-phpwebftp |
6 |
%define version 4.0 |
%define version 4.0 |
7 |
%define release 2 |
%define release 4 |
8 |
|
|
9 |
Summary: Web FTP access via HTTPS for SME. |
Summary: Web FTP access via HTTPS for SME. |
10 |
Name: %{name} |
Name: %{name} |
13 |
License: GPL |
License: GPL |
14 |
Group: Applications/WebFTP |
Group: Applications/WebFTP |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
|
#Patch0: %{name}-%{version}.patch.2005012300 |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: e-smith-apache |
Requires: e-smith-apache |
24 |
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* 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 |
|
* 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 |
* Sat May 4 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
* Sat May 4 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
36 |
- [4.0-2] |
- [4.0-2] |
37 |
- Bump Copyright to License in spec |
- Bump Copyright to License in spec |
51 |
|
|
52 |
* Sun Jan 23 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
* Sun Jan 23 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
53 |
- [2.7-2] |
- [2.7-2] |
54 |
- Correctif sur droits répertoire tmp |
- Correct tmp directory rights |
55 |
- ajout paramètre ForceFTPVirtualLocalhost pour FTP malgré TLS |
- add ForceFTPVirtualLocalhost for FTP even if TLS |
56 |
|
|
57 |
* Sun Jan 9 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
* Sun Jan 9 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
58 |
- [2.7-1] |
- [2.7-1] |
64 |
|
|
65 |
#%patch0 -p1 |
#%patch0 -p1 |
66 |
|
|
|
|
|
67 |
%pre |
%pre |
68 |
|
|
69 |
%post |
%post |
75 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
76 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
77 |
rm -f e-smith-%{version}-filelist |
rm -f e-smith-%{version}-filelist |
78 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
79 |
|
--dir '/home/httpd/html/webftp/tmp' 'attr(0640,www,www)' \ |
80 |
|
> %{name}-%{version}-filelist |
81 |
|
|
82 |
%preun |
%preun |
83 |
|
|
87 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
88 |
|
|
89 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
|
%defattr(-,root,www) |
|
|
%attr(0770,root,www) %config(noreplace) /home/httpd/html/webftp/tmp |
|
90 |
|
|
91 |
|
%defattr(-,root,www) |