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