# $Id: smeserver-vtigercrm.spec,v 1.0 2009/09/30 16:20:28 slords Exp $ # Authority: VIP-ire # Name: Daniel B. Summary: Vtiger CRM for SME Server %define name smeserver-vtigercrm Name: %{name} %define version 0.1 %define release 0 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Mitel/addon Source: %{name}-%{version}.tar.gz #Patch0: smeserver-vtigercrm-0.1-foo.patch URL: http://www.vtiger.com/ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base Requires: vtigercrm >= 5.1.0 Requires: smeserver-webapps-common BuildRequires: e-smith-devtools >= 1.13.1-03 %description Integration package of Vtiger CRM for SME Server %changelog * Wed Sep 30 2009 Daniel B. 0.1-0 - Initial rpm %prep %setup #%patch0 -p1 %build perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT %post /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf sv t /service/httpd-e-smith %postun /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf sv t /service/httpd-e-smith