# $Revision: 1.3 $, $Date: 2002/10/10 16:27:45 $ %include /usr/lib/rpm/macros.php %define _class Net %define _subclass Dict %define _pearname %{_class}_%{_subclass} Summary: %{_pearname} - Interface to the DICT Protocol Summary(pl): %{_pearname} - interfejs do protoko³u DICT Name: php-pear-%{_pearname} Version: 1.0.2 Release: 1 License: PHP Group: Development/Languages/PHP Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz URL: http://pear.php.net/ BuildRequires: rpm-php-pearprov Requires: php-pear BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This class provides a simple API to the DICT Protocol handling all the network related issues and providing DICT responses in PHP datatypes to make it easy for a developer to use DICT servers in their programs. %description -l pl Klasa ta dostarcza proste API do protoko³u DICT, daj±ce wszystkie zwi±zane z sieci± w³a¶ciwo¶ci oraz dostarczaj±ce odpowiedzi DICT w typach danych PHP, pozwalaj±c na ³atwe u¿ycie serverów DICT w programach %prep %setup -q -c %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class} install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc %{_pearname}-%{version}/docs/* %{php_pear_dir}/%{_class}/*.php %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: php-pear-Net_Dict.spec,v $ Revision 1.3 2002/10/10 16:27:45 blues - 1.0.2 - STBR Revision 1.2 2002/10/10 16:26:41 blues - 1.0.1 - Bugfix release - STBR Revision 1.1 2002/09/24 19:47:35 blues - initial release - STBR