]> git.pld-linux.org Git - packages/php-pear-File_IMC.git/blob - php-pear-File_IMC.spec
30a2d7f14361ea0bee2b034a2e008fa029024baa
[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):    %{_pearname} - tworzenie i parsowanie plików typu Internet Mail Consortium
9 Name:           php-pear-%{_pearname}
10 Version:        0.3
11 Release:        1
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:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Allows you to programmatically create a vCard or vCalendar, and fetch
24 the text.
25
26 IMPORTANT: The array structure has changed slightly from
27 Contact_Vcard_Parse. See the example output for the new structure.
28 Also different from Contact_Vcard is the use of a factory pattern.
29 Again, see the examples. 
30
31 In PEAR status of this package is: %{_status}.
32
33 %description -l pl
34 Ta klasa pozwala programowo tworzyæ pliki vCard i vCalendar oraz
35 pobieraæ tekst.
36
37 WA¯NE: struktura tablic zmieni³a siê nieco w stosunku do
38 Contact_Vcard_Parse. Now± strukturê mo¿na obejrzeæ w przyk³adzie.
39 U¿ycie wzorców tak¿e ró¿ni siê od Contact_Vcard, co równie¿ mo¿na
40 zobaczyæ w przyk³adach.
41
42 Ta klasa ma w PEAR status: %{_status}.
43
44 %prep
45 %setup -q -c
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/{Build,Parse}
50
51 install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
52 install %{_pearname}-%{version}/%{_class}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
53 install %{_pearname}-%{version}/%{_class}/%{_subclass}/Build/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Build
54 install %{_pearname}-%{version}/%{_class}/%{_subclass}/Parse/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Parse
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc %{_pearname}-%{version}/{sample.*,*.php}
62 %{php_pear_dir}/%{_class}/*.php
63 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.07186 seconds and 3 git commands to generate.