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.UTF-8): %{_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
19 BuildRequires: rpmbuild(macros) >= 1.300
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Allows you to programmatically create a vCard or vCalendar, and fetch
28 IMPORTANT: The array structure has changed slightly from
29 Contact_Vcard_Parse. See the example output for the new structure.
30 Also different from Contact_Vcard is the use of a factory pattern.
31 Again, see the examples.
33 In PEAR status of this package is: %{_status}.
35 %description -l pl.UTF-8
36 Ta klasa pozwala programowo tworzyć pliki vCard i vCalendar oraz
39 WAŻNE: struktura tablic zmieniła się nieco w stosunku do
40 Contact_Vcard_Parse. Nową strukturę można obejrzeć w przykładzie.
41 Użycie wzorców także różni się od Contact_Vcard, co również można
42 zobaczyć w przykładach.
44 Ta klasa ma w PEAR status: %{_status}.
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %doc docs/%{_pearname}/{sample.*,*.php}
61 %{php_pear_dir}/.registry/*.reg
62 %{php_pear_dir}/%{_class}/*.php
63 %{php_pear_dir}/%{_class}/%{_subclass}