1 |
unnilennium |
1.1 |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.5 2013/11/24 23:00:51 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 8 |
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-8.sme |
30 |
|
|
- new patch for [SME: 7973] |
31 |
|
|
- tmp folder set to 0770 to fix the download error |
32 |
|
|
|
33 |
|
|
* Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 4.0-6.sme |
34 |
|
|
- wrong binary ascii switch [SME: 7973] |
35 |
|
|
|
36 |
|
|
* Sun Mar 3 2013 JP Pialasse <tests@pialasse.com> 4.0-5 |
37 |
|
|
- import into sme 8 tree |
38 |
|
|
|
39 |
|
|
* 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 |
|
|
%patch0 -p1 |
78 |
|
|
%patch1 -p1 |
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
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 |
|
|
--dir '/home/httpd/html/webftp/tmp' 'attr(0770,www,www)' \ |
95 |
|
|
> %{name}-%{version}-filelist |
96 |
|
|
|
97 |
|
|
/usr/lib/rpm/brp-python-bytecompile |
98 |
|
|
%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) |