SPECS: php4-pecl-yaz.spec (NEW) - new (cp from php-pecl-yaz); - NO...
adamg
adamg at pld-linux.org
Wed Jul 27 12:47:37 CEST 2005
Author: adamg Date: Wed Jul 27 10:47:37 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new (cp from php-pecl-yaz);
- NOTE: there is yaz module bundled with php4, yet this one is more recent
---- Files affected:
SPECS:
php4-pecl-yaz.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php4-pecl-yaz.spec
diff -u /dev/null SPECS/php4-pecl-yaz.spec:1.1
--- /dev/null Wed Jul 27 12:47:37 2005
+++ SPECS/php4-pecl-yaz.spec Wed Jul 27 12:47:32 2005
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+%define _modname yaz
+%define _status stable
+
+Summary: %{_modname} - a Z39.50 client for PHP
+Summary(pl): %{_modname} - klient Z39.50 dla PHP
+Name: php4-pecl-%{_modname}
+Version: 1.0.4
+Release: 1
+License: PHP
+Group: Development/Languages/PHP
+Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5: 2ae4180bcfc00199c465815f89fc3b16
+URL: http://pecl.php.net/package/yaz/
+BuildRequires: libtool
+BuildRequires: php4-devel >= 3:4.3.0
+BuildRequires: yaz-devel
+Requires: php4-common >= 3:4.3.0
+Obsoletes: php-pear-%{_modname}
+Obsoletes: php-yaz
+Obsoletes: php4-yaz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _sysconfdir /etc/php4
+%define extensionsdir %{_libdir}/php4
+
+%description
+This extension implements a Z39.50 client for PHP using the YAZ
+toolkit.
+
+Find more information at:
+http://www.indexdata.dk/phpyaz/
+http://www.indexdata.dk/yaz/
+
+In PECL status of this package is: %{_status}.
+
+%description -l pl
+To rozszerzenie implementuje klienta Z39.50 dla PHP za pomocą narzędzi
+YAZ.
+
+Więcej informacji można znaleźć na stronach:
+http://www.indexdata.dk/phpyaz/
+http://www.indexdata.dk/yaz/
+
+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)
+%doc %{_modname}-%{version}/{CREDITS,README}
+%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/07/27 10:47:32 adamg
+- new (cp from php-pecl-yaz);
+- NOTE: there is yaz module bundled with php4, yet this one is more recent
+
================================================================
More information about the pld-cvs-commit
mailing list