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