-%include /usr/lib/rpm/macros.php
-%define _class File
-%define _subclass IMC
%define _status beta
-%define _pearname %{_class}_%{_subclass}
+%define _pearname File_IMC
Summary: %{_pearname} - create and parse Internet Mail Consortium-style files
Summary(pl.UTF-8): %{_pearname} - tworzenie i parsowanie plików typu Internet Mail Consortium
Name: php-pear-%{_pearname}
-Version: 0.4.1
+Version: 0.5.0
Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 9a077a7384375faf2d929371ff5815eb
+# Source0-md5: 133bfd47aef06de8838dc645ad14b800
URL: http://pear.php.net/package/File_IMC/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
IMPORTANT: The array structure has changed slightly from
Contact_Vcard_Parse. See the example output for the new structure.
Also different from Contact_Vcard is the use of a factory pattern.
-Again, see the examples.
+Again, see the examples.
In PEAR status of this package is: %{_status}.
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/File/*.php
+%{php_pear_dir}/File/IMC
%{_examplesdir}/%{name}-%{version}