1 |
slords |
1.2 |
# $Id: smeserver-webshare.spec,v 1.1 2008/04/21 17:50:38 slords Exp $ |
2 |
slords |
1.1 |
# Authority: darrellmay |
3 |
|
|
# Name: Darrell May |
4 |
|
|
|
5 |
|
|
Summary: Webshare addon for SME Server |
6 |
|
|
%define name smeserver-webshare |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 1.0.0 |
9 |
|
|
%define release 9 |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: SME Server/addon |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: e-smith-base, perl-Apache-Htpasswd |
18 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
AutoReqProv: no |
20 |
|
|
Obsoletes: devinfo-mitel-webshare dmc-mitel-webshare |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
|
|
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
24 |
|
|
- Prep for import into buildsys |
25 |
|
|
- Clean up spec |
26 |
|
|
|
27 |
|
|
* Fri Dec 1 2006 Darrell May <dmay@myezserver.com> |
28 |
|
|
- move htpasswd files to /home/e-smith/db/webshare |
29 |
|
|
- ugraders must run: /etc/e-smith/events/actions/webshare-rebuild-htpasswd; signal-event ibay-modify |
30 |
|
|
- [1.0.0-8] |
31 |
|
|
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
32 |
|
|
- updated httpd.conf fragment for SME 7 compliance |
33 |
|
|
- Note: rewrite for full SME 7 support is still needed |
34 |
|
|
- [1.0.0-7] |
35 |
|
|
* Mon Jan 30 2006 Darrell May <dmay@myezserver.com> |
36 |
|
|
- bugfix to support IE/https file downloads |
37 |
|
|
- added to /incl/libfile.php 'header("Pragma:");' |
38 |
|
|
- [1.0.0-6] |
39 |
|
|
* Tue May 17 2005 Darrell May <dmay@myezserver.com> |
40 |
|
|
- added support for numeric project names |
41 |
|
|
- [1.0.0-5] |
42 |
|
|
* Tue May 17 2005 Darrell May <dmay@myezserver.com> |
43 |
|
|
- update to phpfm-0.2.3 |
44 |
|
|
- added NoDelete webshare create/config option |
45 |
|
|
- [1.0.0-4] |
46 |
|
|
* Thu May 12 2005 Darrell May <dmay@myezserver.com> |
47 |
|
|
- bugfix webshare panel for SME 7.x |
48 |
|
|
- [1.0.0-3] |
49 |
|
|
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
50 |
|
|
- added support for SME 7.x |
51 |
|
|
- [1.0.0-2] |
52 |
|
|
* Sun Feb 08 2004 Darrell May <dmay@myezserver.com> |
53 |
|
|
- repackaged for SME Server 6.x |
54 |
|
|
- [1.0.0-1] |
55 |
|
|
* Sun Jan 12 2003 Darrell May <dmay@myezserver.com> |
56 |
|
|
- added Requires: perl-Apache-Htpasswd |
57 |
|
|
- [0.0.1-5] |
58 |
|
|
* Sat Jan 11 2003 Darrell May <dmay@myezserver.com> |
59 |
|
|
- name change obsolete devinfo-mitel-webshare |
60 |
|
|
- updated webshare panel |
61 |
|
|
- updated webshare-tools to use phpfm |
62 |
|
|
- [0.0.1-4] |
63 |
|
|
* Fri May 10 2002 Darrell May <dmay@myezserver.com> |
64 |
|
|
- updated webshare panel |
65 |
|
|
- updated webshare-tools scripts |
66 |
|
|
- original public release |
67 |
|
|
- [0.0.1-3] |
68 |
|
|
* Thu May 09 2002 Darrell May <dmay@myezserver.com> |
69 |
|
|
- added httpd.conf template and updated action scripts |
70 |
|
|
- incorporated index.php from ruffdogs,com |
71 |
|
|
- incorporate webshare panel and action scripts from Jon Blakely |
72 |
|
|
- [0.0.1-2] |
73 |
|
|
* Sun May 05 2002 Darrell May <dmay@myezserver.com> |
74 |
|
|
- initial release |
75 |
|
|
- [0.0.1-1] |
76 |
|
|
|
77 |
|
|
%description |
78 |
|
|
%name is an addon for SME Server that provides secure web accessible file and directory storage. |
79 |
|
|
|
80 |
|
|
%prep |
81 |
|
|
%setup |
82 |
|
|
|
83 |
|
|
%build |
84 |
|
|
perl createlinks |
85 |
|
|
|
86 |
|
|
%install |
87 |
|
|
rm -rf $RPM_BUILD_ROOT |
88 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
89 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
90 |
|
|
|
91 |
|
|
%clean |
92 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
93 |
|
|
|
94 |
|
|
%files -f %{name}-%{version}-filelist |
95 |
|
|
%defattr(-,root,root) |