]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.php | |
2 | %define _class OLE | |
3 | %define _status beta | |
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} | |
8 | Version: 0.6.1 | |
9 | Release: 1 | |
10 | License: PHP | |
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 | |
18 | Requires: php-pear | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
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>. | |
27 | ||
28 | In PEAR status of this package is: %{_status}. | |
29 | ||
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>. | |
35 | ||
36 | Ta klasa ma w PEAR status: %{_status}. | |
37 | ||
38 | %prep | |
39 | %pear_package_setup | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
44 | %pear_package_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc install.log | |
52 | %{php_pear_dir}/.registry/*.reg | |
53 | %{php_pear_dir}/%{_class}.php | |
54 | %{php_pear_dir}/%{_class} |