]> git.pld-linux.org Git - packages/php-pear-File_IMC.git/blob - php-pear-File_IMC.spec
- rel 5
[packages/php-pear-File_IMC.git] / php-pear-File_IMC.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          File
3 %define         _subclass       IMC
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
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}
10 Version:        0.3
11 Release:        5
12 License:        PHP 2.02
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
20 Requires:       php-pear
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Allows you to programmatically create a vCard or vCalendar, and fetch
26 the text.
27
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. 
32
33 In PEAR status of this package is: %{_status}.
34
35 %description -l pl.UTF-8
36 Ta klasa pozwala programowo tworzyć pliki vCard i vCalendar oraz
37 pobierać tekst.
38
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.
43
44 Ta klasa ma w PEAR status: %{_status}.
45
46 %prep
47 %pear_package_setup
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 %pear_package_install
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc install.log
60 %doc docs/%{_pearname}/{sample.*,*.php}
61 %{php_pear_dir}/.registry/*.reg
62 %{php_pear_dir}/%{_class}/*.php
63 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.033355 seconds and 4 git commands to generate.