SPECS: php4-pecl-xmlwriter.spec (NEW) - new (cp from php-pecl-xmlw...

adamg adamg at pld-linux.org
Sun Aug 7 10:43:29 CEST 2005


Author: adamg                        Date: Sun Aug  7 08:43:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (cp from php-pecl-xmlwriter.spec)

---- Files affected:
SPECS:
   php4-pecl-xmlwriter.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php4-pecl-xmlwriter.spec
diff -u /dev/null SPECS/php4-pecl-xmlwriter.spec:1.1
--- /dev/null	Sun Aug  7 10:43:29 2005
+++ SPECS/php4-pecl-xmlwriter.spec	Sun Aug  7 10:43:24 2005
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+%define		_modname	xmlwriter
+%define		_status		stable
+
+Summary:	%{_modname} - provides fast, non-cached, forward-only means to write XML data
+Summary(pl):	%{_modname} - szybka, nie cachowana metoda zapisu danych w formacie XML
+Name:		php4-pecl-%{_modname}
+Version:	2.0.0
+Release:	1
+License:	PHP 2.02
+Group:		Development/Languages/PHP
+Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5:	ee90a55b753975faac607f4230ece2b4
+URL:		http://pecl.php.net/package/xmlwriter/
+BuildRequires:	libtool
+BuildRequires:	libxml2-devel
+BuildRequires:	php4-devel >= 3:4.3.0
+Requires:	php4-common >= 3:4.3.0
+Obsoletes:	php-pear-%{_modname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/php4
+%define		extensionsdir	%{_libdir}/php4
+
+%description
+This extension wraps the libxml xmlWriter API. Represents a writer
+that provides a non-cached, forward-only means of generating streams
+or files containing XML data.
+
+In PECL status of this extension is: %{_status}.
+
+%description -l pl
+To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje 
+obsługę zapisu dostarczającą nie cachowanych metod generowania
+strumieni lub plików zawierających dane XML.
+
+To rozszerzenie ma w PECL status: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd %{_modname}-%{version}
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+
+install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/php4-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+	%{_sbindir}/php4-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
+
+%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/08/07 08:43:24  adamg
+- new (cp from php-pecl-xmlwriter.spec)
+
================================================================



More information about the pld-cvs-commit mailing list