1 |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.2 2013/03/03 21:48:44 unnilennium Exp $ |
# $Id: smeserver-phpwebftp-4.0.spec,v 1.4 2013/11/24 10:05:32 unnilennium 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 6 |
%define release 8 |
8 |
|
|
9 |
Summary: Web FTP access via HTTPS for SME. |
Summary: Web FTP access via HTTPS for SME. |
10 |
Name: %{name} |
Name: %{name} |
14 |
Group: Applications/WebFTP |
Group: Applications/WebFTP |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0:smeserver-phpwebftp-4.0-patchftpmode.patch |
Patch0:smeserver-phpwebftp-4.0-patchftpmode.patch |
17 |
|
Patch1: smeserver-phpwebftp-4.0-patch1.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-apache |
Requires: e-smith-apache |
26 |
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. |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
*Mon Nov 4 2013 JP Pialasse <tests@pialasse.com> 4.0-6.sme |
* 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] |
- wrong binary ascii switch [SME: 7973] |
35 |
|
|
36 |
*Sun Mar 3 2013 JP Pialasse <tests@pialasse.com> 4.0-5 |
* Sun Mar 3 2013 JP Pialasse <tests@pialasse.com> 4.0-5 |
37 |
- import into sme 8 tree |
- import into sme 8 tree |
38 |
|
|
39 |
* Sun Jun 8 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
* Sun Jun 8 2008 Jean-Paul Leclere <jean-paul@lleclere.org> |
75 |
%setup |
%setup |
76 |
|
|
77 |
%patch0 -p1 |
%patch0 -p1 |
78 |
|
%patch1 -p1 |
79 |
|
|
80 |
|
|
81 |
|
|
82 |
%pre |
%pre |
83 |
|
|
91 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
92 |
rm -f e-smith-%{version}-filelist |
rm -f e-smith-%{version}-filelist |
93 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
94 |
--dir '/home/httpd/html/webftp/tmp' 'attr(0640,www,www)' \ |
--dir '/home/httpd/html/webftp/tmp' 'attr(0770,www,www)' \ |
95 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
96 |
|
|
97 |
/usr/lib/rpm/brp-python-bytecompile |
/usr/lib/rpm/brp-python-bytecompile |