SPECS: z-push.spec (NEW) - initial spec for ActiveSync protocol

paszczus paszczus at pld-linux.org
Tue Sep 9 09:37:39 CEST 2008

Author: paszczus                     Date: Tue Sep  9 07:37:39 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec for ActiveSync protocol

---- Files affected:
   z-push.spec (NONE -> 1.1)  (NEW)

---- Diffs:

Index: SPECS/z-push.spec
diff -u /dev/null SPECS/z-push.spec:1.1
--- /dev/null	Tue Sep  9 09:37:39 2008
+++ SPECS/z-push.spec	Tue Sep  9 09:37:34 2008
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+Summary:	An Implementation of the ActiveSync protocol
+Name:		z-push
+Version:	1.2
+Release:	0.1
+License:	GPL
+Group:		Applications/WWW
+Source0:	http://download.berlios.de/z-push/%{name}-%{version}.tar.gz
+# Source0-md5:	17d57872b08f59e739e7e699db71ee86
+URL:		http://z-push.sourceforge.net
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	webapps
+%if %{with trigger}
+Requires(triggerpostun):	sed >= 4.0
+#Requires:	webserver(access)
+#Requires:	webserver(alias)
+#Requires:	webserver(auth)
+#Requires:	webserver(cgi)
+#Requires:	webserver(indexfile)
+#Requires:	webserver(php)
+#Requires:	webserver(setenv)
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define		_webapps	/etc/webapps
+%define		_webapp		%{name}
+%define		_sysconfdir	%{_webapps}/%{_webapp}
+%define		_appdir		%{_datadir}/%{_webapp}
+Z-push is an implementation of the ActiveSync protocol, which is used 'over-the-air' for multi platform ActiveSync devices, including Windows Mobile, Ericsson and Nokia phones. With Z-push any groupware can be connected and synced with these devices.
+%setup -q -n %{name}
+cat > apache.conf <<'EOF'
+Alias /%{name} %{_appdir}
+<Directory %{_appdir}>
+	Allow from all
+cat > lighttpd.conf <<'EOF'
+alias.url += (
+    "/%{name}" => "%{_appdir}",
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}/{backend,include,state}}
+cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+cp -a apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+cp -a lighttpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
+cp -a *.php $RPM_BUILD_ROOT%{_appdir}
+cp -a backend $RPM_BUILD_ROOT%{_appdir}
+cp -a include $RPM_BUILD_ROOT%{_appdir}
+cp -a state $RPM_BUILD_ROOT%{_appdir}
+rm -f $RPM_BUILD_ROOT%{_appdir}/config.php
+install config.php $RPM_BUILD_ROOT%{_sysconfdir}/config.php
+ln -sf %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir}/config.php
+%triggerin -- apache1 < 1.3.37-3, apache1-base
+%webapp_register apache %{_webapp}
+%triggerun -- apache1 < 1.3.37-3, apache1-base
+%webapp_unregister apache %{_webapp}
+%triggerin -- apache < 2.2.0, apache-base
+%webapp_register httpd %{_webapp}
+%triggerun -- apache < 2.2.0, apache-base
+%webapp_unregister httpd %{_webapp}
+%triggerin -- lighttpd
+%webapp_register lighttpd %{_webapp}
+%triggerun -- lighttpd
+%webapp_unregister lighttpd %{_webapp}
+%dir %attr(750,root,http) %{_sysconfdir}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config.php
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+Revision 1.1  2008/09/09 07:37:34  paszczus
+- initial spec for ActiveSync protocol

More information about the pld-cvs-commit mailing list