1 %include /usr/lib/rpm/macros.php
2 %define _class Spreadsheet
3 %define _subclass Excel
5 %define _pearname %{_class}_%{_subclass}_Writer
6 Summary: %{_pearname} - package for generating Excel spreadsheets
7 Summary(pl.UTF-8): %{_pearname} - pakiet generujący arkusze Excela
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: a1c353beb819fa4b7146f5325625774b
15 URL: http://pear.php.net/package/Spreadsheet_Excel_Writer/
16 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: php-common >= 3:4.1.0
21 Requires: php-pear-OLE >= 0.5
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Spreadsheet_Excel_Writer was born as a porting of the
27 Spreadsheet::WriteExcel Perl module to PHP. It allows writing of Excel
28 spreadsheets without the need for COM objects. It supports formulas,
29 images (BMP) and all kinds of formatting for text and cells. It
30 currently supports the BIFF5 format (Excel 5.0), so functionality
31 appeared in the latest Excel versions is not yet available.
33 In PEAR status of this package is: %{_status}.
35 %description -l pl.UTF-8
36 Spreadsheet_Excel_Writer narodził się jako port do PHP perlowego
37 modułu Spreadsheet::WriteExcel. Pozwala na zapisywanie arkuszy Excela
38 bez potrzeby używania obiektów COM. Ma wsparcie dla formularzy,
39 rysunków (BMP) oraz wszelkiego typu formatowania tekstu oraz komórek.
40 Aktualnie wspiera format BIFF5 (Excel 5.0), więc funkcjonalność
41 ostatnich wersji Excela nie jest jeszcze dostępna.
43 Ta klasa ma w PEAR status: %{_status}.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %dir %{php_pear_dir}/%{_class}
60 %dir %{php_pear_dir}/%{_class}/%{_subclass}
61 %dir %{php_pear_dir}/%{_class}/%{_subclass}/Writer
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
64 %{php_pear_dir}/%{_class}/%{_subclass}/Writer/*.php