SPECS: scalix.spec - updated to 11.4.3 - added subpackage installer - added...

paszczus paszczus at pld-linux.org
Thu Mar 26 10:01:03 CET 2009


Author: paszczus                     Date: Thu Mar 26 09:01:02 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 11.4.3
- added subpackage installer
- added TODO (for now this package do nothing)

---- Files affected:
SPECS:
   scalix.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/scalix.spec
diff -u SPECS/scalix.spec:1.3 SPECS/scalix.spec:1.4
--- SPECS/scalix.spec:1.3	Tue Feb 19 13:06:11 2008
+++ SPECS/scalix.spec	Thu Mar 26 10:00:55 2009
@@ -1,20 +1,40 @@
 # $Revision$, $Date$
+#
+# TODO:
+# - add subpackages for $PACKAGES
+# - fix tomcat.home
 Summary:	Scalix Platform
 Name:		scalix
-Version:	11.3.0
+Version:	11.4.3
 Release:	0.1
 # http://www.scalix.com/community/opensource/licensing.php
 License:	Scalix Public License (SPL)
 Group:		Applications/WWW
-Source0:	http://downloads.scalix.com/.opensource/11.3/%{name}-%{version}-source.tgz
-# Source0-md5:	1fe0a3d817decd19823c9f04b9a3e5ae
+Source0:	http://downloads.scalix.com/.opensource/11.4.3/%{name}-%{version}-GA-source.tgz	
+# Source0-md5:	fb4794f841319ed07605a8619e5a9c36
 URL:		http://www.scalix.com/community/
-BuildRequires:	ant
+BuildRequires:	ant >= 1.6.5
+BuildRequires:	python-devel >= 2.4
+BuildRequires:	java-sun
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Scalix Platform
 
+%package installer
+Summary:	Scalix Platform Installer
+Group:		Applications/WWW
+
+%description installer
+Installer for Scalix Platform
+
+%package mobile
+Summary:        Scalix Platform for Mobile
+Group:          Applications/WWW
+
+%description mobile
+Mobile Scalix
+
 %prep
 %setup -qc
 %{__tar} zxf scalix-installer-src.tgz
@@ -23,8 +43,20 @@
 %{__tar} zxf scalix-sac-src.tgz
 %{__tar} zxf scalix-sis-src.tgz
 
+PACKAGES="installer mobile platform sac sis"
+
+for i in $PACKAGES
+do
+cd scalix-$i
+install -d build
+%ant
+cd -
+done
+
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+install scalix-installer/dist/scalix-installer $RPM_BUILD_ROOT%{_sbindir}/scalix-installer
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -32,12 +64,21 @@
 %files
 %defattr(644,root,root,755)
 
+%files installer
+%defattr(644,root,root,755
+%attr(755,root,root) %{_sbindir}/scalix-installer
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/03/26 09:00:55  paszczus
+- updated to 11.4.3
+- added subpackage installer
+- added TODO (for now this package do nothing)
+
 Revision 1.3  2008/02/19 12:06:11  glen
 - unpack sources
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/scalix.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list