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