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