]> git.pld-linux.org Git - packages/php-pear-File_IMC.git/blob - php-pear-File_IMC.spec
- updated to: 0.5.0
[packages/php-pear-File_IMC.git] / php-pear-File_IMC.spec
1 %define         _status         beta
2 %define         _pearname       File_IMC
3 %include        /usr/lib/rpm/macros.php
4 Summary:        %{_pearname} - create and parse Internet Mail Consortium-style files
5 Summary(pl.UTF-8):      %{_pearname} - tworzenie i parsowanie plików typu Internet Mail Consortium
6 Name:           php-pear-%{_pearname}
7 Version:        0.5.0
8 Release:        1
9 License:        PHP 2.02
10 Group:          Development/Languages/PHP
11 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5:  133bfd47aef06de8838dc645ad14b800
13 URL:            http://pear.php.net/package/File_IMC/
14 BuildRequires:  php-pear-PEAR
15 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
16 BuildRequires:  rpmbuild(macros) >= 1.300
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Allows you to programmatically create a vCard or vCalendar, and fetch
23 the text.
24
25 IMPORTANT: The array structure has changed slightly from
26 Contact_Vcard_Parse. See the example output for the new structure.
27 Also different from Contact_Vcard is the use of a factory pattern.
28 Again, see the examples.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl.UTF-8
33 Ta klasa pozwala programowo tworzyć pliki vCard i vCalendar oraz
34 pobierać tekst.
35
36 WAŻNE: struktura tablic zmieniła się nieco w stosunku do
37 Contact_Vcard_Parse. Nową strukturę można obejrzeć w przykładzie.
38 Użycie wzorców także różni się od Contact_Vcard, co również można
39 zobaczyć w przykładach.
40
41 Ta klasa ma w PEAR status: %{_status}.
42
43 %prep
44 %pear_package_setup
45
46 install -d examples
47 mv docs/File_IMC/docs/sample.* examples
48 mv docs/File_IMC/docs/*example.php examples
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{php_pear_dir}
53 %pear_package_install
54
55 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc install.log
64 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/File/*.php
66 %{php_pear_dir}/File/IMC
67
68 %{_examplesdir}/%{name}-%{version}
This page took 0.049252 seconds and 4 git commands to generate.