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