1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - create and parse Internet Mail Consortium-style files
8 Summary(pl): %{_pearname} - tworzenie i parsowanie plików typu Internet Mail Consortium
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 48b2b15969f5f5aecaf8e76eef03a6d1
16 URL: http://pear.php.net/package/File_IMC/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Allows you to programmatically create a vCard or vCalendar, and fetch
27 IMPORTANT: The array structure has changed slightly from
28 Contact_Vcard_Parse. See the example output for the new structure.
29 Also different from Contact_Vcard is the use of a factory pattern.
30 Again, see the examples.
32 In PEAR status of this package is: %{_status}.
35 Ta klasa pozwala programowo tworzyæ pliki vCard i vCalendar oraz
38 WA¯NE: struktura tablic zmieni³a siê nieco w stosunku do
39 Contact_Vcard_Parse. Now± strukturê mo¿na obejrzeæ w przyk³adzie.
40 U¿ycie wzorców tak¿e ró¿ni siê od Contact_Vcard, co równie¿ mo¿na
41 zobaczyæ w przyk³adach.
43 Ta klasa ma w PEAR status: %{_status}.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %doc docs/%{_pearname}/{sample.*,*.php}
60 %{php_pear_dir}/.registry/*.reg
61 %{php_pear_dir}/%{_class}/*.php
62 %{php_pear_dir}/%{_class}/%{_subclass}