]>
Commit | Line | Data |
---|---|---|
7fa8df06 | 1 | %include /usr/lib/rpm/macros.php |
6e223b9c | 2 | %define _class OLE |
c929ec35 | 3 | %define _status beta |
7fa8df06 | 4 | %define _pearname %{_class} |
6e223b9c | 5 | Summary: %{_pearname} - package for reading and writing OLE containers |
4a90e97b | 6 | Summary(pl.UTF-8): %{_pearname} - pakiet do odczytu i zapisu kontenerów OLE |
7fa8df06 | 7 | Name: php-pear-%{_pearname} |
c258c0e9 ER |
8 | Version: 0.6.1 |
9 | Release: 1 | |
7fa8df06 AG |
10 | License: PHP |
11 | Group: Development/Languages/PHP | |
7fa8df06 | 12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
c258c0e9 | 13 | # Source0-md5: 6e85cd3911270ad9cb8a77228d73fe8a |
14141711 | 14 | URL: http://pear.php.net/package/OLE/ |
1fb39497 | 15 | BuildRequires: php-pear-PEAR |
92f52772 | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
f82e6b42 | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
7fa8df06 AG |
18 | Requires: php-pear |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This package allows reading and writing of OLE (Object Linking and | |
24 | Embedding) files, the format used as container for Excel, Word and | |
25 | other MS file formats. Documentation for the OLE format can be found | |
c258c0e9 | 26 | at: <http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html>. |
7fa8df06 | 27 | |
4e8dca53 | 28 | In PEAR status of this package is: %{_status}. |
7fa8df06 | 29 | |
89e6ed2b JR |
30 | %description -l pl.UTF-8 |
31 | Ten pakiet pozwala na odczyt i zapis plików OLE (Object Linking and | |
32 | Embedding), formatu używanego jako kontener dla Excela, Worda i innych | |
33 | formatów plików MS. Dokumentację dla formatu OLE można znaleźć pod | |
c258c0e9 | 34 | <http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html>. |
e96010e7 JB |
35 | |
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
7fa8df06 | 38 | %prep |
92f52772 | 39 | %pear_package_setup |
7fa8df06 AG |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
92f52772 ER |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
44 | %pear_package_install | |
7fa8df06 AG |
45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
92f52772 ER |
51 | %doc install.log |
52 | %{php_pear_dir}/.registry/*.reg | |
542ec8d8 AG |
53 | %{php_pear_dir}/%{_class}.php |
54 | %{php_pear_dir}/%{_class} |