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