1 |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.3 2013/11/04 23:51:35 unnilennium Exp $ |
2 |
# Authority: gnujpl |
3 |
# Name: Jean-Paul Leclère |
4 |
|
5 |
%define name smeserver-phpwebftp |
6 |
%define version 4.0 |
7 |
%define release 7 |
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:smeserver-phpwebftp-4.0-patchftpmode.patch |
17 |
Patch1: smeserver-phpwebftp-4.0-patch1.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
20 |
Requires: e-smith-apache |
21 |
BuildRequires: e-smith-devtools |
22 |
Obsoletes: eos-webftp |
23 |
AutoReqProv: no |
24 |
|
25 |
%description |
26 |
smeserver-phpwebftp adds an ftp panel available to users via SSL web access. |
27 |
|
28 |
%changelog |
29 |
* Sun Nov 24 2013 JP Pialasse <tests@pialasse.com> 4.0-7.sme |
30 |
- new patch for [SME: 7973] |
31 |
|
32 |
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 4.0-6.sme |
33 |
- wrong binary ascii switch [SME: 7973] |
34 |
|
35 |
* Sun Mar 3 2013 JP Pialasse <tests@pialasse.com> 4.0-5 |
36 |
- import into sme 8 tree |
37 |
|
38 |
* Sun Jun 8 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
39 |
- [4.0-4] |
40 |
- remove pyo and pyc files in files list |
41 |
|
42 |
* Sat Jun 7 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
43 |
- [4.0-3] |
44 |
- correct /home/httpd/html/webftp/tmp owner in spec file |
45 |
|
46 |
* Sat May 4 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
47 |
- [4.0-2] |
48 |
- Bump Copyright to License in spec |
49 |
|
50 |
* Thu May 1 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
51 |
- [4.0-1] |
52 |
- Bump to smeserver-phpwebftp for SME 7.3 |
53 |
- upgrade phpwebftp to 4.0 |
54 |
|
55 |
* Sat May 21 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
56 |
- [2.7-4] |
57 |
- Correctif sur position Virtualhost pour utilisation directive Global |
58 |
|
59 |
* Sun Apr 17 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
60 |
- [2.7-3] |
61 |
- Correctif sur directive SSLRequireSSL |
62 |
|
63 |
* Sun Jan 23 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
64 |
- [2.7-2] |
65 |
- Correct tmp directory rights |
66 |
- add ForceFTPVirtualLocalhost for FTP even if TLS |
67 |
|
68 |
* Sun Jan 9 2005 Jean-Paul Leclere <jean-paul@lleclere.org> |
69 |
- [2.7-1] |
70 |
- Initial release |
71 |
|
72 |
|
73 |
%prep |
74 |
%setup |
75 |
|
76 |
%patch0 -p1 |
77 |
%patch1 -p1 |
78 |
|
79 |
|
80 |
|
81 |
%pre |
82 |
|
83 |
%post |
84 |
|
85 |
%build |
86 |
./createlinks |
87 |
|
88 |
%install |
89 |
rm -rf $RPM_BUILD_ROOT |
90 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
91 |
rm -f e-smith-%{version}-filelist |
92 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
93 |
--dir '/home/httpd/html/webftp/tmp' 'attr(0640,www,www)' \ |
94 |
> %{name}-%{version}-filelist |
95 |
|
96 |
/usr/lib/rpm/brp-python-bytecompile |
97 |
%preun |
98 |
|
99 |
%postun |
100 |
|
101 |
%clean |
102 |
rm -rf $RPM_BUILD_ROOT |
103 |
|
104 |
%files -f %{name}-%{version}-filelist |
105 |
|
106 |
%defattr(-,root,www) |