1 |
unnilennium |
1.1 |
# $Id: smeserver-webshare.spec,v 1.4 2011/10/12 20:35:46 gregswallow Exp $ |
2 |
|
|
# 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 10 |
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 |
|
|
Patch1: smeserver-webshare-sme8_fixes.patch |
23 |
|
|
|
24 |
|
|
%changelog |
25 |
|
|
* Wed Oct 12 2011 Greg Swallow <greg@runlevel7.ca> - 1.0.0-10.sme |
26 |
|
|
- Patch for added SME8 compatibility |
27 |
|
|
- should fix [SME 3600], [SME 6256], [SME 6454] |
28 |
|
|
|
29 |
|
|
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> |
30 |
|
|
- Prep for import into buildsys |
31 |
|
|
- Clean up spec |
32 |
|
|
|
33 |
|
|
* Fri Dec 1 2006 Darrell May <dmay@myezserver.com> |
34 |
|
|
- move htpasswd files to /home/e-smith/db/webshare |
35 |
|
|
- ugraders must run: /etc/e-smith/events/actions/webshare-rebuild-htpasswd; signal-event ibay-modify |
36 |
|
|
- [1.0.0-8] |
37 |
|
|
* Thu Oct 12 2006 Darrell May <dmay@myezserver.com> |
38 |
|
|
- updated httpd.conf fragment for SME 7 compliance |
39 |
|
|
- Note: rewrite for full SME 7 support is still needed |
40 |
|
|
- [1.0.0-7] |
41 |
|
|
* Mon Jan 30 2006 Darrell May <dmay@myezserver.com> |
42 |
|
|
- bugfix to support IE/https file downloads |
43 |
|
|
- added to /incl/libfile.php 'header("Pragma:");' |
44 |
|
|
- [1.0.0-6] |
45 |
|
|
* Tue May 17 2005 Darrell May <dmay@myezserver.com> |
46 |
|
|
- added support for numeric project names |
47 |
|
|
- [1.0.0-5] |
48 |
|
|
* Tue May 17 2005 Darrell May <dmay@myezserver.com> |
49 |
|
|
- update to phpfm-0.2.3 |
50 |
|
|
- added NoDelete webshare create/config option |
51 |
|
|
- [1.0.0-4] |
52 |
|
|
* Thu May 12 2005 Darrell May <dmay@myezserver.com> |
53 |
|
|
- bugfix webshare panel for SME 7.x |
54 |
|
|
- [1.0.0-3] |
55 |
|
|
* Fri Apr 22 2005 Darrell May <dmay@myezserver.com> |
56 |
|
|
- added support for SME 7.x |
57 |
|
|
- [1.0.0-2] |
58 |
|
|
* Sun Feb 08 2004 Darrell May <dmay@myezserver.com> |
59 |
|
|
- repackaged for SME Server 6.x |
60 |
|
|
- [1.0.0-1] |
61 |
|
|
* Sun Jan 12 2003 Darrell May <dmay@myezserver.com> |
62 |
|
|
- added Requires: perl-Apache-Htpasswd |
63 |
|
|
- [0.0.1-5] |
64 |
|
|
* Sat Jan 11 2003 Darrell May <dmay@myezserver.com> |
65 |
|
|
- name change obsolete devinfo-mitel-webshare |
66 |
|
|
- updated webshare panel |
67 |
|
|
- updated webshare-tools to use phpfm |
68 |
|
|
- [0.0.1-4] |
69 |
|
|
* Fri May 10 2002 Darrell May <dmay@myezserver.com> |
70 |
|
|
- updated webshare panel |
71 |
|
|
- updated webshare-tools scripts |
72 |
|
|
- original public release |
73 |
|
|
- [0.0.1-3] |
74 |
|
|
* Thu May 09 2002 Darrell May <dmay@myezserver.com> |
75 |
|
|
- added httpd.conf template and updated action scripts |
76 |
|
|
- incorporated index.php from ruffdogs,com |
77 |
|
|
- incorporate webshare panel and action scripts from Jon Blakely |
78 |
|
|
- [0.0.1-2] |
79 |
|
|
* Sun May 05 2002 Darrell May <dmay@myezserver.com> |
80 |
|
|
- initial release |
81 |
|
|
- [0.0.1-1] |
82 |
|
|
|
83 |
|
|
%description |
84 |
|
|
%name is an addon for SME Server that provides secure web accessible file and directory storage. |
85 |
|
|
|
86 |
|
|
%prep |
87 |
|
|
%setup |
88 |
|
|
%patch1 -p1 |
89 |
|
|
|
90 |
|
|
%build |
91 |
|
|
perl createlinks |
92 |
|
|
|
93 |
|
|
%install |
94 |
|
|
rm -rf $RPM_BUILD_ROOT |
95 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
96 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
97 |
|
|
|
98 |
|
|
%clean |
99 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
100 |
|
|
|
101 |
|
|
%files -f %{name}-%{version}-filelist |
102 |
|
|
%defattr(-,root,root) |