3 %include /usr/lib/rpm/macros.php
6 %define _pearname %{_class}
7 Summary: %{_pearname} - Package for reading and writing OLE containers
8 Summary(pl): %{_pearname} - Pakiet do odczytu i zapisu kontenerów OLE
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 # Source0-md5: 0684be1d8b21c64bfab65894ca392fc9
15 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
16 URL: http://pear.php.net/
17 BuildRequires: rpm-php-pearprov >= 4.0.2-98
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 This class has in PEAR status: %{_status}.
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{,PPS}
37 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
38 install %{_pearname}-%{version}/PPS/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/PPS
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %dir %{php_pear_dir}/%{_class}/PPS
46 %{php_pear_dir}/%{_class}/*.php
47 %{php_pear_dir}/%{_class}/PPS/*.php