1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
6 Summary: %{_pearname} - package for reading and writing OLE containers
7 Summary(pl.UTF-8): %{_pearname} - pakiet do odczytu i zapisu kontenerów OLE
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 60da44ce636167ea3bb686860a8d3dcd
15 URL: http://pear.php.net/package/OLE/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
27 at: http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html .
29 In PEAR status of this package is: %{_status}.
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
35 http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html .
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/%{_class}.php
55 %{php_pear_dir}/%{_class}