SPECS: php-wbxml.spec (NEW) - Initial release. Seems to work

ggodlewski ggodlewski at pld-linux.org
Tue Nov 1 16:25:33 CET 2005


Author: ggodlewski                   Date: Tue Nov  1 15:25:33 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Initial release. Seems to work

---- Files affected:
SPECS:
   php-wbxml.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-wbxml.spec
diff -u /dev/null SPECS/php-wbxml.spec:1.1
--- /dev/null	Tue Nov  1 16:25:33 2005
+++ SPECS/php-wbxml.spec	Tue Nov  1 16:25:22 2005
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+Summary:	PHP WBXML Libraray wrapper
+Name:		php-wbxml
+Version:	0.1
+Release:	0.1
+License:	Apache
+Group:		Libraries
+Source0:	http://www.k-fish.de/fileadmin/wbxml-%{version}.tar.gz
+URL:		http://www.k-fish.de/SyncML_support.57.0.html
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	wbxml2-devel
+BuildRequires:	php-devel
+Requires:	wbxml2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/php
+
+%description
+This is a simple extension that acts as a wrapper around the
+conversion functions in the WBXML Library written by Aymerick Jéhanne.
+
+%prep
+%setup -q -n wbxml-%{version}
+
+%build
+phpize
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+
+%{__make} install INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%preun
+if [ "$1" = "0" ]; then
+	%{_sbindir}/php-module-install remove wbxml %{_sysconfdir}/php.ini
+fi
+
+%post
+%{_sbindir}/php-module-install install wbxml %{_sysconfdir}/php.ini
+
+%files
+%defattr(644,root,root,755)
+%doc README CREDITS
+%{_libdir}/php/*
+
+%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.1  2005/11/01 15:25:22  ggodlewski
+- Initial release. Seems to work
+
================================================================



More information about the pld-cvs-commit mailing list