]> git.pld-linux.org Git - packages/php-pear-Spreadsheet_Excel_Writer.git/blob - php-pear-Spreadsheet_Excel_Writer.spec
- updated to 0.4
[packages/php-pear-Spreadsheet_Excel_Writer.git] / php-pear-Spreadsheet_Excel_Writer.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Spreadsheet
3 %define         _subclass       Excel
4 %define         _status         beta
5
6 %define         _pearname       %{_class}_%{_subclass}_Writer
7 Summary:        %{_pearname} - Package for generating Excel spreadsheets
8 Summary(pl):    %{_pearname} - pakiet generuj±cy arkusze Excela
9 Name:           php-pear-%{_pearname}
10 Version:        0.4
11 Release:        1
12 License:        LGPL
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  45f188edbb4028f4c6cd458cf1b66d6e
16 URL:            http://pear.php.net/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Spreadsheet_Excel_Writer was born as a porting of the
24 Spreadsheet::WriteExcel Perl module to PHP. It allows writing of Excel
25 spreadsheets without the need for COM objects. It supports formulas,
26 images (BMP) and all kinds of formatting for text and cells. It
27 currently supports the BIFF5 format (Excel 5.0), so functionality
28 appeared in the latest Excel versions is not yet available.
29
30 This class has in PEAR status: %{_status}.
31
32 %description -l pl
33 Spreadsheet_Excel_Writer narodzi³ siê jako port do PHP perlowego
34 modu³u Spreadsheet::WriteExcel. Pozwala na zapisywanie arkuszy Excela
35 bez potrzeby u¿ywania obiektów COM. Ma wsparcie dla formularzy,
36 rysunków (BMP) oraz wszelkiego typu formatowania tekstu oraz komórek.
37 Aktualnie wspiera format BIFF5 (Excel 5.0), wiêc funkcjonalno¶æ
38 ostatnich wersji Excela nie jest jeszcze dostêpna.
39
40 Ta klasa ma w PEAR status: %{_status}.
41
42 %prep
43 %setup -q -c
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Writer
48
49 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
50 install %{_pearname}-%{version}/Writer/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Writer/
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %dir %{php_pear_dir}/%{_class}/
58 %dir %{php_pear_dir}/%{_class}/%{_subclass}
59 %dir %{php_pear_dir}/%{_class}/%{_subclass}/Writer
60 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
61 %{php_pear_dir}/%{_class}/%{_subclass}/Writer/*.php
This page took 0.067668 seconds and 3 git commands to generate.