# $Id: smeserver-webshare.spec,v 1.4 2011/10/12 20:35:46 gregswallow Exp $ # Authority: darrellmay # Name: Darrell May Summary: Webshare addon for SME Server %define name smeserver-webshare Name: %{name} %define version 1.0.0 %define release 10 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SME Server/addon Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version} BuildArchitectures: noarch Requires: e-smith-base, perl-Apache-Htpasswd BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReqProv: no Obsoletes: devinfo-mitel-webshare dmc-mitel-webshare Patch1: smeserver-webshare-sme8_fixes.patch %changelog * Wed Oct 12 2011 Greg Swallow - 1.0.0-10.sme - Patch for added SME8 compatibility - should fix [SME 3600], [SME 6256], [SME 6454] * Mon Apr 21 2008 Shad L. Lords - Prep for import into buildsys - Clean up spec * Fri Dec 1 2006 Darrell May - move htpasswd files to /home/e-smith/db/webshare - ugraders must run: /etc/e-smith/events/actions/webshare-rebuild-htpasswd; signal-event ibay-modify - [1.0.0-8] * Thu Oct 12 2006 Darrell May - updated httpd.conf fragment for SME 7 compliance - Note: rewrite for full SME 7 support is still needed - [1.0.0-7] * Mon Jan 30 2006 Darrell May - bugfix to support IE/https file downloads - added to /incl/libfile.php 'header("Pragma:");' - [1.0.0-6] * Tue May 17 2005 Darrell May - added support for numeric project names - [1.0.0-5] * Tue May 17 2005 Darrell May - update to phpfm-0.2.3 - added NoDelete webshare create/config option - [1.0.0-4] * Thu May 12 2005 Darrell May - bugfix webshare panel for SME 7.x - [1.0.0-3] * Fri Apr 22 2005 Darrell May - added support for SME 7.x - [1.0.0-2] * Sun Feb 08 2004 Darrell May - repackaged for SME Server 6.x - [1.0.0-1] * Sun Jan 12 2003 Darrell May - added Requires: perl-Apache-Htpasswd - [0.0.1-5] * Sat Jan 11 2003 Darrell May - name change obsolete devinfo-mitel-webshare - updated webshare panel - updated webshare-tools to use phpfm - [0.0.1-4] * Fri May 10 2002 Darrell May - updated webshare panel - updated webshare-tools scripts - original public release - [0.0.1-3] * Thu May 09 2002 Darrell May - added httpd.conf template and updated action scripts - incorporated index.php from ruffdogs,com - incorporate webshare panel and action scripts from Jon Blakely - [0.0.1-2] * Sun May 05 2002 Darrell May - initial release - [0.0.1-1] %description %name is an addon for SME Server that provides secure web accessible file and directory storage. %prep %setup %patch1 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean /bin/rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)