]>
Commit | Line | Data |
---|---|---|
eaf7a05d AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Contact | |
3 | %define _subclass AddressBook | |
69abae0b | 4 | %define _status alpha |
eaf7a05d AG |
5 | %define _pearname %{_class}_%{_subclass} |
6 | ||
7 | Summary: %{_pearname} - Address book export-import class | |
f97378f4 | 8 | Summary(pl.UTF-8): %{_pearname} - Klasa do importowania/eksportowania książki adresowej |
eaf7a05d | 9 | Name: php-pear-%{_pearname} |
e888532b ER |
10 | Version: 0.5.0 |
11 | Release: 1 | |
f5a56ec7 | 12 | License: BSD |
eaf7a05d | 13 | Group: Development/Languages/PHP |
e888532b ER |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
15 | # Source0-md5: 9834f0a60102160a7ea983441e277734 | |
f5a56ec7 | 16 | URL: http://pear.php.net/package/Contact_AddressBook/ |
339f954f | 17 | BuildRequires: php-pear-PEAR |
adad9acb | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
f259036a | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
43213490 | 20 | Requires: php-pear >= 4:1.0-7 |
77ea630e | 21 | Requires: php-pear-File >= 1.2.1 |
7a34ccfb | 22 | Requires: php-pear-Net_UserAgent_Detect >= 2.0.1 |
a863cee0 | 23 | Requires: php-pear-PEAR-core >= 1:1.2.1 |
eaf7a05d AG |
24 | BuildArch: noarch |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
26 | ||
27 | %description | |
f5a56ec7 | 28 | Package provides export-import address book mechanism. |
eaf7a05d AG |
29 | Contact_AddressBook refers to needed structure, convert the various |
30 | address book structure format into it, then you can easily store it | |
31 | into file, database or another storage media. | |
32 | ||
33 | In PEAR status of this package is: %{_status}. | |
34 | ||
f97378f4 JR |
35 | %description -l pl.UTF-8 |
36 | Ten pakiet dostarcza mechanizm exportowania/importowania książki | |
37 | adresowej. Contact_AddressBook odwołuje się do wymaganej struktury, | |
38 | konwertuje do jej formatu różne formaty książek adresowych, które | |
39 | następnie można łatwo zapisać do pliku, bazy danych lub na inny | |
40 | nośnik. | |
0bd04105 JB |
41 | |
42 | Ta klasa ma w PEAR status: %{_status}. | |
eaf7a05d AG |
43 | |
44 | %prep | |
3e8f780d | 45 | %pear_package_setup |
eaf7a05d AG |
46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
3e8f780d ER |
49 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
50 | %pear_package_install | |
eaf7a05d AG |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
3e8f780d | 57 | %doc install.log |
69abae0b | 58 | %doc docs/%{_pearname}/docs/* |
3e8f780d | 59 | %{php_pear_dir}/.registry/*.reg |
eaf7a05d AG |
60 | %{php_pear_dir}/%{_class}/%{_subclass}.php |
61 | %{php_pear_dir}/%{_class}/%{_subclass} | |
3e8f780d ER |
62 | |
63 | %{php_pear_dir}/data/%{_pearname} |