]>
Commit | Line | Data |
---|---|---|
2a5488cb ER |
1 | %define status beta |
2 | %define pearname OLE | |
3 | %define subver RC2 | |
21ae5b3f | 4 | %define rel 2 |
2a5488cb ER |
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} | |
f39db839 ER |
8 | Version: 1.0.0 |
9 | Release: 0.%{subver}.%{rel} | |
7fa8df06 AG |
10 | License: PHP |
11 | Group: Development/Languages/PHP | |
2a5488cb ER |
12 | Source0: http://pear.php.net/get/%{pearname}-%{version}%{subver}.tgz |
13 | # Source0-md5: 5ef0283689ddf6b41de0588bce995c89 | |
21ae5b3f | 14 | Patch0: %{name}-git.patch |
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 |
2a5488cb | 18 | BuildRequires: rpmbuild(macros) >= 1.580 |
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 | |
c258c0e9 | 27 | at: <http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html>. |
7fa8df06 | 28 | |
2a5488cb | 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 | |
c258c0e9 | 35 | <http://user.cs.tu-berlin.de/~schwartz/pmh/guide.html>. |
e96010e7 | 36 | |
2a5488cb | 37 | Ta klasa ma w PEAR status: %{status}. |
e96010e7 | 38 | |
7fa8df06 | 39 | %prep |
92f52772 | 40 | %pear_package_setup |
21ae5b3f AM |
41 | cd ./%{php_pear_dir} |
42 | %patch0 -p1 | |
7fa8df06 AG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
92f52772 ER |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
47 | %pear_package_install | |
7fa8df06 AG |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
92f52772 ER |
54 | %doc install.log |
55 | %{php_pear_dir}/.registry/*.reg | |
2a5488cb ER |
56 | %{php_pear_dir}/OLE.php |
57 | %{php_pear_dir}/OLE |