Author: wolvverine Date: Mon Feb 6 00:02:40 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - init - NFY
---- Files affected: SPECS: sugarCRM.spec (1.2 -> 1.3) (NEW) ---- Diffs: ================================================================ Index: SPECS/sugarCRM.spec diff -u /dev/null SPECS/sugarCRM.spec:1.3 --- /dev/null Mon Feb 6 01:02:40 2006 +++ SPECS/sugarCRM.spec Mon Feb 6 01:02:34 2006 @@ -0,0 +1,248 @@ +# $Revision$, $Date$ +# TODO +# - subpackages for applications +# - separate htdocs and includedirs +# - everything +%define namesrc SugarSuite +Summary: SugarCRM - a web-based groupware suite written in PHP +Summary(pl): SugarCRM - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP +Name: sugarCRM +Version: 4.0.1 +Release: 0.1 +Epoch: 0 +License: GPL +Group: Applications/WWW +Source0: http://www.sugarforge.org/frs/download.php/919/%{namesrc}-%{version}.zip +# Source0-md5: bce40535bf664ec567889534dbc6ba2c +#Source1: %{name}.conf +#Patch0: %{name}-setup.patch +#Patch1: %{name}-ttfdir.patch +URL: http://www.sugarcrm.com +BuildRequires: sed >= 4.0 +Requires: %{name}(DB_Driver) = %{version}-%{release} +Requires: php >= 3:4.1.2 +Requires: php-gd +Requires: php-mbstring +Requires: php-pcre +Requires: php-cli +Requires: fonts-TTF-bitstream-vera +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _appdir %{_datadir}/%{name} +%define _sysconfdir /etc/%{name} + +%description +SugarCRM is rethinking how technology can help companies manage +customer relationships. Sugar Suite, the market leading commercial +open source CRM application, delivers a feature-rich set of business +processes that enhance marketing effectiveness, drive sales +performance, improve customer satisfaction and provide executive +insight into business performance. Supported by deep collaboration and +administration capabilities that adapt to how your company operates, +Sugar Suite is delighting customers of all sizes across a broad range +of industries. + +%description -l pl + +%package setup +Summary: eGroupware setup package +Summary(pl): Pakiet do wstępnej konfiguracji eGroupware +Group: Applications/WWW +PreReq: %{name} = %{epoch}:%{version}-%{release} + +%description setup +Install this package to configure initial SugarCRM installation. You +should uninstall this package when you're done, as it considered +insecure to keep the setup files in place. + +%description setup -l pl +Ten pakiet należy zainstalować w celu wstępnej konfiguracji SugarCRM +po pierwszej instalacji. Potem należy go odinstalować, jako że +pozostawienie plików instalacyjnych mogłoby być niebezpieczne. + +%package db-mysql +Summary: SugarCRM DB Driver for MySQL +Summary(pl): Sterownik bazy danych SugarCRM dla MySQL-a +Group: Applications/WWW +Requires: php-mysql +Provides: %{name}(DB_Driver) = %{version}-%{release} + +%description db-mysql +This virtual package provides MySQL database backend for SugarCRM. + +%description db-mysql -l pl +Ten wirtualny pakiet dostarcza backend bazy danych MySQL dla +SugarCRM. + +%package db-pgsql +Summary: SugarCRM DB Driver for PostgreSQL +Summary(pl): Sterownik bazy danych SugarCRM dla PostgreSQL-a +Group: Applications/WWW +Requires: php-pgsql +Provides: %{name}(DB_Driver) = %{version}-%{release} + +%description db-pgsql +This virtual package provides PostgreSQL database backend for +SugarCRM. + +%description db-pgsql -l pl +Ten wirtualny pakiet dostarcza backend bazy danych PostgreSQL dla +SugarCRM. + +%package db-mssql +Summary: eGroupware DB Driver for MS SQL +Summary(pl): Sterownik bazy danych eGroupware dla MS SQL-a +Group: Applications/WWW +Requires: php-mssql +Provides: %{name}(DB_Driver) = %{version}-%{release} + +%description db-mssql +This virtual package provides MS SQL database backend for SugarCRM. + +%description db-mssql -l pl +Ten wirtualny pakiet dostarcza backend bazy danych MS SQL dla +SugarCRM. + +%prep +%setup -q -n SugarSuite-Full-%{version} + +# remove CVS control files +#find -name CVS -print0 | xargs -0 rm -rf +# undos the sources +#find -regex '.*\.\(php\|inc\|html\|txt\|js\)$' -print0 | xargs -0 sed -i -e 's, $,,' + +#%patch0 -p1 +#%patch1 -p1 + +# GPL +#rm -f doc/LICENSE + +# no need. +#rm -rf doc/rpm-build + +# using PLD package +#rm -rf projects/ttf-bitstream-vera-1.10 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir}} + +cp -r -a * $RPM_BUILD_ROOT%{_appdir} + +#cp -a addressbook admin backup bookmarks calendar comic developer_tools \ +#email emailadmin etemplate felamimail filemanager forum ftp fudforum headlines \ +#infolog jinn manual messenger news_admin phpbrain phpgwapi phpldapadmin \ +#phpsysinfo polls preferences projects registration setup sitemgr stocks tts \ +#wiki $RPM_BUILD_ROOT%{_appdir} +# +#> $RPM_BUILD_ROOT%{_sysconfdir}/header.php +#ln -s %{_sysconfdir}/header.php $RPM_BUILD_ROOT%{_appdir}/header.inc.php + +#install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf + +# needed by setup script +#install header.inc.php.template $RPM_BUILD_ROOT%{_appdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +#%triggerin -- apache1 >= 1.3.33-2 +#%apache_config_install -v 1 -c %{_sysconfdir}/apache.conf + +#%triggerun -- apache1 >= 1.3.33-2 +#%apache_config_uninstall -v 1 + +#%triggerin -- apache >= 2.0.0 +#%apache_config_install -v 2 -c %{_sysconfdir}/apache.conf + +#%triggerun -- apache >= 2.0.0 +#%apache_config_uninstall -v 2 + +%files +%defattr(644,root,root,755) +#%attr(710,root,http) %dir %{_sysconfdir} +#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf +#%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/header.php +#%doc doc/* +%dir %{_appdir} +#%{_appdir}/*.php +#%{_appdir}/addressbook +#%{_appdir}/admin +#%{_appdir}/backup +#%{_appdir}/bookmarks +#%{_appdir}/calendar +#%{_appdir}/comic +#%{_appdir}/developer_tools +#%{_appdir}/email +#%{_appdir}/emailadmin +#%{_appdir}/etemplate +#%{_appdir}/felamimail +#%{_appdir}/filemanager +#%{_appdir}/forum +#%{_appdir}/ftp +#%{_appdir}/headlines +#%{_appdir}/infolog +#%{_appdir}/jinn +#%{_appdir}/manual +#%{_appdir}/messenger +#%{_appdir}/news_admin +#%{_appdir}/phpbrain +#%{_appdir}/phpldapadmin +#%{_appdir}/phpsysinfo +#%{_appdir}/polls +#%{_appdir}/preferences +#%{_appdir}/projects +#%{_appdir}/registration +#%{_appdir}/sitemgr +#%{_appdir}/stocks +#%{_appdir}/tts +#%{_appdir}/wiki + +#%dir %{_appdir}/phpgwapi +#%{_appdir}/phpgwapi/*.php +#%{_appdir}/phpgwapi/cron +#%{_appdir}/phpgwapi/doc +#%{_appdir}/phpgwapi/inc +#%{_appdir}/phpgwapi/js +#%{_appdir}/phpgwapi/setup +#%{_appdir}/phpgwapi/templates +#%{_appdir}/phpgwapi/themes +#%dir %attr(775,root,http) %{_appdir}/phpgwapi/images +#%{_appdir}/phpgwapi/images/* + +#%dir %attr(775,root,http) %{_appdir}/fudforum +#%{_appdir}/fudforum/*.php +#%{_appdir}/fudforum/inc +#%{_appdir}/fudforum/setup +#%{_appdir}/fudforum/templates + +#%files setup +#%defattr(644,root,root,755) +#%{_appdir}/header.inc.php.template +#%{_appdir}/setup + +#%files db-mysql +#%defattr(644,root,root,755) + +#%files db-pgsql +#%defattr(644,root,root,755) + +#%files db-mssql +#%defattr(644,root,root,755) + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.3 2006/02/06 00:02:34 wolvverine +- init +- NFY + +Revision 1.1 2006/02/05 14:12:08 wolvverine +- init +- NFY + + ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit