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