Search
j0ke.net Open Build Service
>
Projects
>
server:php:applications
>
php-pear-xmpphp
> php-pear-xmphp.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php-pear-xmphp.spec of Package php-pear-xmpphp
#norootforbuild # # spec file for package XMPPHO (Version 0.1rc2-r77) # %define peardir %(pear config-get php_dir 2> /dev/null) %define pname xmpphp %define pversion 0.1rc2-r77 Summary: PHP Jabber classes Name: php-pear-xmpphp Version: 0.0.99.77 Release: 1 License: GPLv2 Group: Development/Libraries/Other Source0: http://xmpphp.googlecode.com/files/xmpphp-0.1rc2-r77.tgz Patch0: xmpphp-php53.patch Patch1: xmpphp-conntype_tls.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://code.google.com/p/xmpphp/ BuildRequires: php-pear php-mbstring Requires: php-pear php-mbstring BuildArch: noarch %description XMPPHP is the successor to Class.Jabber.PHP that I've been promising for years. Taking advantage of PHP5, I believe it to be an elegant solution with a direct approach. Some of the features include: * Connect to any XMPP 1.0 server (Google Talk, LJ Talk, jabber.org, etc) * Supports TLS encryption * Several XML processing approaches and supported styles (process indefinitely, processUntil an event, processTime for a number of seconds), waiting on events or map them, etc. %prep %setup -n %{pname}-%{pversion} %patch0 %patch1 %build mkdir -p examples cp *example*.php examples/ %install %{__install} -d %{buildroot}%{peardir} %{__cp} -R XMPPHP %{buildroot}%{peardir}/ rm -rf %{buildroot}%{peardir}/XMPPHP/.svn %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README %doc examples %{peardir}/XMPPHP %changelog * Wed Oct 21 2009 Carsten Schoene <cs@linux-administrator.com> - 0.0.99.77-1 - update to release candidate 2 (build 77) * Sun Mar 22 2009 Carsten Schoene <cs@linux-administrator.com> - 0.0.99.70-1 - initial package