SPECS: sugarcrm.spec - use pear autodeps

glen glen at pld-linux.org
Sun Mar 26 15:59:45 CEST 2006


Author: glen                         Date: Sun Mar 26 13:59:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use pear autodeps

---- Files affected:
SPECS:
   sugarcrm.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/sugarcrm.spec
diff -u SPECS/sugarcrm.spec:1.27 SPECS/sugarcrm.spec:1.28
--- SPECS/sugarcrm.spec:1.27	Sun Mar 26 14:53:33 2006
+++ SPECS/sugarcrm.spec	Sun Mar 26 15:59:39 2006
@@ -9,11 +9,12 @@
 #    echo '<script type="text/javascript" src="jscalendar/calendar-setup_3.js"></script>';
 # - language packs have different license. subpackage them? separate specs?
 %define		namesrc	SugarSuite
+%include	/usr/lib/rpm/macros.php
 Summary:	Customer Relationship Management
 Summary(pl):	Narzędzie CRM
 Name:		sugarcrm
 Version:	4.0.1
-Release:	0.10
+Release:	0.12
 License:	SugarCRM Public License
 Group:		Applications/WWW
 Source0:	http://www.sugarforge.org/frs/download.php/919/%{namesrc}-%{version}.zip
@@ -47,20 +48,19 @@
 Patch3:		%{name}-setup.patch
 Patch4:		%{name}-email_utf-8.patch
 URL:		http://www.sugarforge.org/
+BuildRequires:	rpm-php-pearprov >= 4.0.2-98
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	unzip
 Requires:	Smarty >= 2.6.10-4
 Requires:	php >= 3:4.2.0
 Requires:	php-curl
 Requires:	php-mysql
-Requires:	php-pear-HTTP_WebDAV_Server
-#Requires:	php-pear-Mail_IMAP - doesn't seem to be used
-#Requires:	php-pear-Mail_IMAPv2
 Requires:	php-xml
 Requires:	webapps
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+
 %define		_webapps	/etc/webapps
 %define		_webapp		%{name}
 %define		_sysconfdir	%{_webapps}/%{_webapp}
@@ -68,6 +68,7 @@
 
 # symlinked from appdir
 %define		_noautocompressdoc	LICENSE
+%define		_noautoreq	'pear(/etc/webapps/.*)' 'pear([a-z/.].*.php)' 'pear(CustomFieldsTable.php)' 'pear(CustomFieldsTableSchema.php)' 'pear(DBHelper.php)' 'pear(DBManager.php)' 'pear(FieldsMetaData.php)' 'pear(ModuleInstall/ModuleInstaller.php)' 'pear(MysqlHelper.php)' 'pear(MysqlManager.php)' 'pear(XTemplate/xtpl.php)'
 
 %description
 SugarCRM is a suite of business automation tools for managing your
@@ -139,6 +140,7 @@
 rm -r include/Smarty
 rm -r include/HTTP_WebDAV_Server
 rm -r include/Mail_IMAP
+rm -r include/Net_URL
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -262,6 +264,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/03/26 13:59:39  glen
+- use pear autodeps
+
 Revision 1.27  2006/03/26 12:53:33  glen
 - lower php requirement as HTTP_WebDAV_Server is not packaged
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sugarcrm.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list