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